Google Cloud

Google Cloud Certified – Professional Cloud Developer

PR000266

Validate your skills as a Professional Cloud Developer with exam code PR000266 in Google Cloud.

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

Questions 51–60 of 495

Q51

You are configuring a Cloud Function to respond to Pub/Sub messages. What happens when you exceed the execution timeout?

  • A Function completes processing
  • B Function retries automatically
  • C Function returns a 500 error
  • D Function execution stops instantly
Explanation Execution stops immediately when the timeout is exceeded, rather than completing or retrying.
Q52

Which Google Cloud service offers serverless container management?

  • A Cloud Run
  • B Kubernetes Engine
  • C Compute Engine
  • D App Engine
Explanation Cloud Run allows you to run containers without managing servers, while the others require more infrastructure management.
Q53

A company needs to implement a CI/CD pipeline. Which GCP service is best suited for this?

  • A Cloud Functions
  • B Cloud Build
  • C Cloud Storage
  • D BigQuery
Explanation Cloud Build is specifically designed for CI/CD workflows, while the others do not cater directly to continuous integration and deployment.
Q54

What happens when you enable the 'True' value for 'Versioning' in a Cloud Storage bucket?

  • A Only the latest version is stored.
  • B All previous object versions are retained.
  • C Versioned objects become immutable.
  • D All versions are deleted automatically.
Explanation Enabling versioning retains all previous versions, while the other options misrepresent versioning functionality in GCS.
Q55

Which Google Cloud service provides fully managed NoSQL databases?

  • A Cloud Firestore
  • B Cloud SQL
  • C Cloud Pub/Sub
  • D BigQuery
Explanation Cloud Firestore is a fully managed NoSQL database service, while the other options serve different data storage or messaging purposes.
Q56

A company needs to ensure that data is stored with low latency and high availability across regions. Which storage solution should they use?

  • A Cloud Storage Standard
  • B Regional Persistent Disk
  • C Multi-Regional Cloud Storage
  • D Cloud Filestore
Explanation Multi-Regional Cloud Storage provides low latency and high availability by replicating data across multiple locations, unlike the other options which have local or single-region focuses.
Q57

What happens when you enable Pub/Sub message retention?

  • A Messages are deleted immediately
  • B Messages are retried only once
  • C Messages can be stored up to 7 days
  • D Messages cannot be acknowledged
Explanation Enabling message retention allows storing messages for up to 7 days, while the others are incorrect as they misrepresent how message behaviors interact with retention settings.
Q58

Which service is best for serverless application deployment?

  • A Cloud Functions
  • B Compute Engine
  • C App Engine
  • D Cloud Run
Explanation Cloud Functions is specifically designed for serverless compute. Compute Engine requires VMs and App Engine is for flexible, not purely serverless environments.
Q59

A company needs to orchestrate multiple cloud services; which Google Cloud product should they use?

  • A Cloud Load Balancing
  • B Cloud Functions
  • C Cloud Composer
  • D Cloud Shell
Explanation Cloud Composer is built for orchestrating services and workflows. The others are for load balancing, function execution, and shell access.
Q60

What happens when you set a budget alert in Google Cloud?

  • A Service stops when budget met
  • B You receive notifications only
  • C Costs tracked in real-time
  • D Billing account is suspended
Explanation Setting a budget alert sends notifications but does not stop services. The other options imply automatic actions that aren't taken.