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 31–40 of 486

Q31

Which Google Cloud service is best for machine learning?

  • A AI Platform
  • B Cloud SQL
  • C Cloud Functions
  • D BigQuery
Explanation AI Platform is designed specifically for ML use cases, unlike the others.
Q32

A company needs to manage access control for sensitive data. Which IAM role should they assign for least privilege?

  • A Owner
  • B Editor
  • C Viewer
  • D Custom Role
Explanation Custom roles provide fine-grained permissions tailored to the specific needs.
Q33

What happens when a Pub/Sub topic reaches its message retention limit?

  • A Messages are permanently deleted
  • B Messages are archived automatically
  • C Notifications stop until limit reset
  • D Messages are sent to a secondary topic
Explanation Messages exceeding retention are deleted, without recovery.
Q34

Which service should you use for data streaming in Google Cloud?

  • A Cloud Pub/Sub
  • B Cloud Storage
  • C Dataflow
  • D BigQuery
Explanation Cloud Pub/Sub is specifically designed for real-time data streaming, whereas the others serve different functionalities.
Q35

A company needs to securely store and manage API credentials. What should they use?

  • A Cloud Storage
  • B Secret Manager
  • C FireStore
  • D BigQuery
Explanation Secret Manager is designed for securely storing sensitive information like API keys, unlike the other options.
Q36

What happens when you disable a Cloud IAM role for a user?

  • A User access is immediately revoked
  • B User access remains until next login
  • C Changes allow delayed accesses
  • D No impact on user permissions
Explanation Disabling a Cloud IAM role immediately revokes access, whereas other options misrepresent these IAM functionalities.
Q37

Which service is best for data warehousing in GCP?

  • A BigQuery
  • B Cloud Storage
  • C Cloud SQL
  • D Firebase
Explanation BigQuery is built for data analytics and warehousing; the others have different primary functions.
Q38

A company needs to securely store API keys. What should they use?

  • A Cloud Firestore
  • B Secret Manager
  • C Google Cloud Storage
  • D Cloud Functions
Explanation Secret Manager securely stores sensitive information; the other options do not provide the same level of security.
Q39

What happens when a Cloud Function exceeds its timeout?

  • A It retries immediately
  • B It fails without any logs
  • C It returns a 500 error
  • D It continues running indefinitely
Explanation Upon timeout, a Cloud Function returns a 500 error; it does not retry or continue indefinitely.
Q40

Which service is best for real-time data processing?

  • A Cloud Pub/Sub
  • B Cloud Storage
  • C BigQuery
  • D Cloud Functions
Explanation Cloud Pub/Sub is designed for real-time data streaming, unlike the others which serve different purposes.