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 411–420 of 495

Q411

What happens when two services in a project have overlapping IAM roles?

  • A Conflicts occur, denying access.
  • B Roles are ignored completely.
  • C More restrictive access applies.
  • D Access is determined by union of roles.
Explanation IAM roles are combined, allowing access across both roles.
Q412

Which service is best for serverless REST APIs?

  • A Cloud Functions
  • B Google Compute Engine
  • C Cloud Run
  • D Dataflow
Explanation Cloud Run runs containers in a serverless environment, ideal for REST APIs. Cloud Functions is event-driven, while Compute Engine requires VM management and Dataflow is for data processing.
Q413

A company needs to store large files efficiently. What should they use?

  • A Cloud SQL
  • B Cloud Storage
  • C App Engine
  • D Bigtable
Explanation Cloud Storage is designed for storing and retrieving large amounts of unstructured data. Cloud SQL is for relational databases, App Engine is for applications, and Bigtable is for short data access.
Q414

You are configuring a VPC in Google Cloud. What happens when you assign custom routes?

  • A Override default routes
  • B Create a new VPC
  • C Delete existing subnets
  • D Enable VPN automatically
Explanation Custom routes take precedence over default routes in a VPC configuration. They do not create a new VPC, delete subnets, or enable VPN.
Q415

Which service automatically scales applications based on demand?

  • A App Engine
  • B Cloud Storage
  • C Cloud Pub/Sub
  • D Cloud Functions
Explanation App Engine scales automatically, while others require manual management.
Q416

A company needs to securely manage API keys for its applications. What is the best practice?

  • A Store in GitHub
  • B Use Secret Manager
  • C Embed in source code
  • D Use a public config file
Explanation Secret Manager provides secure storage, while others expose keys to unauthorized access.
Q417

You are configuring a Firestore database. What happens when a document is deleted?

  • A It is permanently lost.
  • B It moves to Trash.
  • C It is archived for recovery.
  • D It triggers a background job.
Explanation Deleted documents in Firestore cannot be recovered unless previously backed up.
Q418

Which service enables event-driven serverless computing?

  • A Cloud Functions
  • B App Engine
  • C Cloud Run
  • D Compute Engine
Explanation Cloud Functions is designed for event-driven tasks; others are not primarily event-driven.
Q419

A company needs to securely share project files with external partners. What is the best solution?

  • A Public storage bucket
  • B Cloud Identity and Access Management
  • C Shared drive in Google Drive
  • D Private Cloud Storage
Explanation Cloud IAM allows secure access control; others do not ensure proper security for external sharing.
Q420

What happens when a VM instance's disk is deleted in Google Cloud?

  • A VM automatically restarts
  • B Data is permanently lost
  • C Disk can be recovered easily
  • D VM remains operational without disk
Explanation Deleting a disk results in permanent data loss; the other options do not accurately reflect the consequences.