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 251–260 of 495

Q251

A company needs to implement a pub/sub messaging system. Which service should they use?

  • A Cloud Pub/Sub
  • B Cloud Storage
  • C Cloud Firestore
  • D Cloud Dataflow
Explanation Cloud Pub/Sub is specifically designed for real-time messaging, unlike the others which serve different purposes.
Q252

What happens when a service account is deleted in Google Cloud IAM?

  • A All associated permissions are revoked
  • B Service account persists for 30 days
  • C All access tokens remain valid
  • D Service account data is permanently lost
Explanation Deleting a service account revokes all its permissions immediately, while others are incorrect statements.
Q253

Which service is best for scalable web applications?

  • A Google App Engine
  • B Google Cloud Functions
  • C Google Compute Engine
  • D Google Cloud Storage
Explanation Google App Engine automatically manages scaling and provides a platform for web apps; the others serve different purposes.
Q254

You are configuring IAM policies for a project. What is the least privilege principle?

  • A Granting full access to all resources
  • B Limiting access only to necessary resources
  • C Sharing access among multiple users
  • D Allowing global permissions for ease
Explanation The least privilege principle ensures users only get necessary access; the others contradict this idea by allowing excessive permissions.
Q255

A company needs high availability for a critical application. Which GCP feature should they utilize?

  • A Zonal Availability
  • B Regional Deployment
  • C Multi-Region Configuration
  • D Instance Templates
Explanation Multi-Region Configuration ensures redundancy and high availability across geographical regions; the others do not provide the same level of redundancy.
Q256

Which Google Cloud service allows automatic scaling of applications?

  • A App Engine
  • B Cloud Functions
  • C Kubernetes Engine
  • D Cloud Run
Explanation App Engine automatically scales based on traffic, while others require manual scaling configurations.
Q257

A company needs a serverless solution for automated image processing. What should they use?

  • A Compute Engine
  • B Cloud Functions
  • C App Engine
  • D Cloud Storage
Explanation Cloud Functions enables event-driven image processing without managing servers, unlike the others.
Q258

You are configuring IAM roles for a data analyst. What is an effective way to minimize privileges?

  • A Assign Owner role
  • B Use predefined roles
  • C Create custom roles
  • D Grant Editor role
Explanation Creating custom roles allows precise permissions control; predefined ones may over-grant privileges.
Q259

Which Google Cloud service provides an environment for deploying containerized applications?

  • A Google Kubernetes Engine
  • B Google Docs
  • C Google BigQuery
  • D Google Cloud Storage
Explanation Google Kubernetes Engine is specifically designed to manage and deploy containerized applications, while the others serve different purposes.
Q260

A company needs to securely store API keys for their application. Which Google Cloud service should they use?

  • A Cloud Functions
  • B Secret Manager
  • C Cloud Storage
  • D Cloud Pub/Sub
Explanation Secret Manager is designed to store and manage sensitive information, which includes API keys, while the others are not tailored for this purpose.