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

Q91

A company needs to efficiently deploy microservices. Which Google Cloud service should they use?

  • A Google Kubernetes Engine
  • B Cloud Functions
  • C Cloud Run
  • D App Engine
Explanation Google Kubernetes Engine is designed for managing microservices at scale, whereas the others are more suited for serverless or simpler applications.
Q92

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

  • A Message is deleted
  • B Message is retried
  • C Message is moved to archive
  • D Message is sent to another topic
Explanation Unacknowledged messages are retried until they are acknowledged or reach the maximum retry attempts.
Q93

You are configuring IAM roles for a project. Which role allows a developer to perform actions like listing and getting buckets in Cloud Storage?

  • A Storage Object Viewer
  • B Storage Admin
  • C Storage Object Creator
  • D Storage Viewer
Explanation The Storage Viewer role allows listing and getting bucket details, whereas others provide broader or distinct functionalities.
Q94

Which service is ideal for managing containerized applications at scale?

  • A Google Kubernetes Engine
  • B BigQuery
  • C Cloud Functions
  • D App Engine
Explanation Google Kubernetes Engine is specifically designed for container orchestration, while others serve different purposes.
Q95

A company needs to centralize logging for multiple microservices running on GCP. Which solution should they implement?

  • A Cloud Audit Logs
  • B Cloud Trace
  • C Cloud Logging
  • D Cloud Pub/Sub
Explanation Cloud Logging aggregates logs from various services for centralized management, unlike other options which serve different functionalities.
Q96

What happens when you set a Google Cloud Storage bucket's 'Uniform bucket-level access'?

  • A Object ACLs are used
  • B All objects inherit bucket permissions
  • C Public access is disabled
  • D Versioning is automatically enabled
Explanation Setting 'Uniform bucket-level access' means all objects will follow the permissions set at the bucket level, not individual ACLs.
Q97

Which service is used for serverless computing?

  • A Cloud Functions
  • B Compute Engine
  • C Kubernetes Engine
  • D App Engine
Explanation Cloud Functions provides a serverless execution environment, whereas others require more management.
Q98

A company needs to ensure its application scales automatically based on load. Which service should they use?

  • A Cloud Run
  • B Cloud Storage
  • C Cloud Spanner
  • D Cloud Pub/Sub
Explanation Cloud Run automatically scales containerized applications, while others do not provide auto-scaling features.
Q99

You are configuring IAM permissions for a project. What happens if you assign 'roles/viewer' to a user?

  • A User can manage resources
  • B User can't modify resources
  • C User can create resources
  • D User can delete resources
Explanation 'roles/viewer' allows read-only access, preventing any modifications.
Q100

Which Google Cloud service is optimal for serverless task execution?

  • A Cloud Functions
  • B Compute Engine
  • C App Engine
  • D Cloud Run
Explanation Cloud Functions provide a serverless environment for executing code. Compute Engine and App Engine require more management, while Cloud Run focuses on containerized applications.