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 91–100 of 486

Q91

A company needs to analyze streaming data in real time. Which service should they use?

  • A Google Cloud Dataflow
  • B Google Cloud Datastore
  • C Google Cloud Storage
  • D Google BigQuery
Explanation Google Cloud Dataflow is designed for real-time data processing, while the others are for storage and batch analysis.
Q92

What happens when you set a Cloud Pub/Sub message attribute to an empty string?

  • A The message is discarded
  • B The attribute is ignored
  • C The message processing fails
  • D The message is prioritized
Explanation An empty string as an attribute is valid but ignored by subscribers, while other options imply loss or errors.
Q93

You are configuring IAM roles for a GCP project. What should be avoided?

  • A Applying the principle of least privilege
  • B Granting overly broad permissions
  • C Using predefined roles when possible
  • D Reviewing roles periodically
Explanation Granting overly broad permissions violates security principles, while other options enhance security practices.
Q94

Which Google Cloud service is best for real-time data streaming?

  • A Cloud Pub/Sub
  • B Cloud Storage
  • C BigQuery
  • D Dataflow
Explanation Cloud Pub/Sub is designed for real-time messaging, while the others are for data storage or batch processing.
Q95

A company needs to manage access to its BigQuery datasets. What IAM role should they assign to users who require read-only access?

  • A BigQuery User
  • B BigQuery Data Viewer
  • C BigQuery Editor
  • D BigQuery Job User
Explanation The BigQuery Data Viewer role grants read-only access, while others also allow edit or job creation permissions.
Q96

What happens when you delete a Cloud Storage bucket that is not empty?

  • A Bucket deletion fails
  • B Files are deleted automatically
  • C Contents moved to another bucket
  • D Bucket becomes read-only
Explanation Attempting to delete a non-empty bucket fails unless you first delete its contents.
Q97

Which service allows you to run Spark jobs on GCP?

  • A Dataproc
  • B Dataflow
  • C BigQuery
  • D Cloud Functions
Explanation Dataproc is specifically designed for running Spark jobs, while Dataflow is for stream processing, BigQuery is for analytics, and Cloud Functions is for serverless computing.
Q98

A company needs to ensure its BigQuery datasets are only accessible to specific user groups. Which method is best to control access?

  • A VPC Service Controls
  • B Fine-grained access controls
  • C Cloud Identity Groups
  • D IAM Roles
Explanation Fine-grained access controls provide detailed dataset-level permissions, while other options offer broader control mechanisms.
Q99

What happens when you enable automatic replication in Cloud Storage?

  • A Data is synced to another region
  • B Data is spread across multiple zones
  • C Data is only stored in one location
  • D Data becomes read-only immediately
Explanation Automatic replication spreads data across multiple zones for redundancy, while the other options are incorrect representations of replication behavior.
Q100

Which service is used for real-time data processing in Google Cloud?

  • A Cloud Pub/Sub
  • B Cloud Storage
  • C BigQuery
  • D Cloud Functions
Explanation Cloud Pub/Sub is designed for real-time messaging; the others are for data storage or querying.