Google Cloud

Google Cloud Certified – Professional Data Engineer

PR000258
Popular Trending

Become a certified Professional Data Engineer with exam code PR000258 to validate your data engineering skills in Google Cloud.

486 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 81–90 of 486

Q81

What happens when you set the retention policy on a Google Cloud storage bucket?

  • A Automatically delete old data
  • B Prevent all data deletions
  • C Increase data redundancy
  • D Create a separate bucket
Explanation A retention policy automatically deletes data older than the retention time, while the other options misrepresent bucket retention behavior.
Q82

Which Google Cloud service is best for serverless image processing?

  • A Cloud Functions
  • B Compute Engine
  • C App Engine
  • D Cloud Run
Explanation Cloud Functions provides a serverless way to run code in response to events, making it ideal for image processing tasks. Compute Engine and App Engine require more management, and Cloud Run is more suited for containerized applications.
Q83

A company needs a managed database with high availability and automatic backups. What should they use?

  • A Cloud Spanner
  • B Cloud Firestore
  • C Cloud Bigtable
  • D Cloud Datastore
Explanation Cloud Spanner is a fully managed, horizontally scalable database offering high availability and automatic backups. Other options either lack SQL support or are not specifically designed for high availability.
Q84

You are configuring a Google Cloud Pub/Sub topic. What happens when a message is published to a topic without subscribers?

  • A Message is dropped
  • B Message is delayed
  • C Message is stored indefinitely
  • D Message triggers an error
Explanation Published messages are retained for a configurable period of time until they are read by subscribers; they are not dropped immediately. Options A and D are incorrect, as messages remain in the topic, while B misconstrues the retention behavior.
Q85

Which service provides serverless analytics in Google Cloud?

  • A BigQuery
  • B Cloud Functions
  • C Cloud Run
  • D Dataproc
Explanation BigQuery is designed for serverless analytics, while others serve different purposes.
Q86

A company needs to store large volumes of semi-structured JSON data. Which storage solution should they use?

  • A Cloud SQL
  • B Cloud Datastore
  • C Cloud Storage
  • D Bigtable
Explanation Cloud Datastore is optimized for semi-structured data, unlike Cloud SQL, which is SQL-based.
Q87

What happens when an instance group in Google Compute Engine is configured with autoscaling?

  • A Instances are created based on traffic.
  • B Instances are manually scaled regularly.
  • C Instances are limited to one only.
  • D Instances remain static regardless of load.
Explanation Autoscaling automatically adjusts instance counts based on defined metrics, while others do not.
Q88

Which Google Cloud service is best for data warehousing?

  • A BigQuery
  • B Cloud Spanner
  • C Cloud SQL
  • D Cloud Datastore
Explanation BigQuery is optimized for analytical queries, unlike the others which serve different purposes.
Q89

A company needs a scalable NoSQL database. Which option should they choose?

  • A Cloud SQL
  • B Cloud Storage
  • C Firestore
  • D Bigtable
Explanation Bigtable is designed for scalability and NoSQL use, while others don't meet this requirement.
Q90

What happens when you set a Pub/Sub subscription to 'acknowledged'?

  • A Message will be deleted immediately
  • B Message is temporarily deleted
  • C Subscriber receives the message again
  • D Message is marked for later processing
Explanation Acknowledging a message means it will be deleted, preventing reprocessing by other subscribers.