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 171–180 of 486

Q171

You are configuring IAM roles for a new project. What happens if a user has two roles with conflicting permissions?

  • A Lower privilege wins
  • B Higher privilege wins
  • C Result is undefined
  • D Access denied by default
Explanation In IAM, higher privilege roles take precedence over lower ones when permissions conflict.
Q172

Which service should you use for real-time analytics on streaming data?

  • A BigQuery
  • B Cloud Dataflow
  • C Cloud Functions
  • D Cloud Firestore
Explanation Cloud Dataflow is designed for processing streaming data in real-time, while the others are not main frameworks for real-time analytics.
Q173

A company needs to anonymize user data while still allowing for analysis. Which Google Cloud product would be most appropriate?

  • A Cloud Pub/Sub
  • B Cloud Datastore
  • C BigQuery with SQL functions
  • D Cloud Spanner
Explanation BigQuery can perform SQL operations to anonymize data effectively during analysis, unlike the other options which are not suited for direct data analysis with anonymization.
Q174

What happens when you apply a stricter IAM policy to a Google Cloud resource?

  • A All current permissions are revoked.
  • B New roles are added automatically.
  • C Access might be restricted immediately.
  • D Only project owners are affected.
Explanation Applying a stricter IAM policy can restrict access for certain roles, while the others do not accurately describe IAM policy behavior.
Q175

Which service optimizes storage costs based on usage patterns?

  • A Cloud Storage Lifecycle Management
  • B BigQuery Pricing Model
  • C Dataproc Cost Optimization
  • D Firestore Automatic Scaling
Explanation Cloud Storage Lifecycle Management helps adjust storage classes based on access frequency, while others focus on different cost aspects.
Q176

A company needs to migrate sensitive data to Google Cloud. What should they use to ensure data is encrypted at rest?

  • A Default Cloud KMS keys
  • B Customer-managed encryption keys
  • C Storage Buckets only
  • D BigQuery Dataset permissions
Explanation Customer-managed encryption keys allow for controlled encryption while default keys do not provide the same level of control.
Q177

You are configuring a Dataflow job. What happens when you set the autoscaling algorithm to *Optimize For Throughput*?

  • A Decreases resource usage immediately
  • B Increases parallelism to boost throughput
  • C Locks resources during peak loads
  • D Automatically retries failed computations
Explanation Setting to Optimize For Throughput increases parallelism for higher throughput, while other options describe unrelated behavior.
Q178

Which service allows real-time processing of streaming data on Google Cloud?

  • A Google Cloud Functions
  • B Google Dataproc
  • C Google Dataflow
  • D Google BigQuery
Explanation Google Dataflow is designed specifically for stream processing; the others handle batch or event-driven primarily.
Q179

A company needs data analytics for real-time user engagement on their e-commerce platform. Which architecture pattern should they use?

  • A Batch processing
  • B Lambda architecture
  • C Data lake only
  • D Monolithic architecture
Explanation Lambda architecture combines batch and real-time data processing; others do not optimize for real-time analytics.
Q180

What happens when a Google Cloud Pub/Sub subscription is not acknowledged?

  • A Message is deleted
  • B Message is processed again
  • C Message is sent to Coldline
  • D Message is marked as redelivered
Explanation Unacknowledged messages are redelivered to subscribers; the others either don't occur or misrepresent Pub/Sub behavior.