Google Cloud

Google Cloud Certified – Associate Data Practitioner

PR000306

Become a certified Associate Data Practitioner with exam code PR000306 to validate your data skills in Google Cloud.

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

Questions 481–490 of 492

Q481

Which service is best suited for real-time data analytics?

  • A BigQuery
  • B Cloud SQL
  • C Cloud Storage
  • D Compute Engine
Explanation BigQuery is optimized for real-time analytics, while others are not specifically designed for this purpose.
Q482

A company needs to restrict access to GCP resources for its development team without affecting production applications. What should they use?

  • A Service Accounts
  • B IAM Roles
  • C VPC Networks
  • D Cloud Logging
Explanation IAM Roles can be tailored to restrict access effectively without impacting production.
Q483

You are configuring a Cloud Function to respond to Pub/Sub messages. What happens if the Cloud Function execution time exceeds its maximum timeout?

  • A The function retries automatically
  • B The function stops executing
  • C Results are logged for review
  • D The function creates a new instance
Explanation If the maximum timeout is exceeded, the function is immediately terminated without retrying.
Q484

Which service is best for real-time streaming data processing?

  • A Cloud Pub/Sub
  • B Cloud SQL
  • C BigQuery
  • D Cloud Functions
Explanation Cloud Pub/Sub is designed for real-time data streaming, while the others target different workloads.
Q485

A company needs to use preemptible VMs for batch processing. What should they consider first?

  • A Cost savings
  • B Potential downtime
  • C Scalability
  • D Performance guarantees
Explanation Preemptible VMs can be terminated with little warning, impacting processing jobs.
Q486

You are configuring IAM roles for your project. What happens if a user has multiple roles assigned?

  • A Roles combine to grant more permissions
  • B Only the highest role applies
  • C User can choose which role to use
  • D User gets denied all permissions
Explanation Multiple IAM roles aggregate permissions, allowing broader access.
Q487

Which service would you use for batch data processing in Google Cloud?

  • A Dataflow
  • B BigQuery
  • C Cloud Functions
  • D Cloud Pub/Sub
Explanation Dataflow is specifically designed for batch and stream data processing; BigQuery is for querying data, not processing.
Q488

You are configuring IAM roles for a new project. What is the principle of least privilege?

  • A Granting all access by default
  • B Limiting user permissions to necessary
  • C Assigning full admin rights always
  • D Roles based on user seniority
Explanation The principle of least privilege encourages giving users only the permissions they need to perform their job.
Q489

What happens when a Google Cloud Pub/Sub message is not acknowledged by a subscriber?

  • A It is deleted immediately
  • B It is retried based on timeout
  • C It triggers an alert
  • D It is sent to a dead-letter topic
Explanation Messages that are not acknowledged are retried until the acknowledgment deadline expires; they do not trigger an alert by default.
Q490

Which service is best for serverless execution of code?

  • A Cloud Functions
  • B Compute Engine
  • C Cloud Storage
  • D Kubernetes Engine
Explanation Cloud Functions allows you to run code without managing servers, while the others require infrastructure management.