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 111–120 of 495

Q111

What happens when you set a lifetime of 10 minutes on a signed URL?

  • A URL expires after 10 minutes
  • B URL is valid until next request
  • C URL remains valid indefinitely
  • D URL is only valid in 10 seconds
Explanation A signed URL with a 10-minute lifetime expires exactly after that duration.
Q112

Which service allows you to deploy containerized applications on Google Cloud?

  • A Google Kubernetes Engine
  • B Cloud Functions
  • C App Engine
  • D Cloud Dataflow
Explanation Google Kubernetes Engine is designed for container orchestration, while other options serve different purposes.
Q113

A company needs to perform batch data processing. Which service should they use?

  • A Cloud Functions
  • B Cloud Run
  • C Dataflow
  • D BigQuery
Explanation Dataflow is specifically designed for batch and streaming data processing, unlike the other services.
Q114

What happens when an IAM role is assigned to a Google Cloud resource?

  • A Permissions are granted immediately
  • B Role permissions are inherited
  • C Permissions must be manually activated
  • D Roles only affect project billing
Explanation IAM roles grant associated permissions, which can be inherited by resources.
Q115

Which service is best for deploying serverless applications?

  • A Cloud Functions
  • B Cloud Run
  • C App Engine
  • D Compute Engine
Explanation Cloud Run is designed for deploying serverless applications from containers, while others serve different use cases.
Q116

A company needs to analyze streaming data in real time. Which Google Cloud service should they use?

  • A Cloud Storage
  • B BigQuery
  • C Dataflow
  • D Pub/Sub
Explanation Dataflow is optimized for processing streaming data, unlike the others that focus on storage or batch processing.
Q117

What happens when you set a virtual machine's automatic restart policy to 'on-failure'?

  • A Always restarts no matter what
  • B Restarts only on system failure
  • C Never restarts
  • D Restarts at scheduled intervals
Explanation 'On-failure' restart policy ensures the VM restarts only after it fails, not during maintenance or reboot.
Q118

A developer needs to store secrets securely. Which service should they use?

  • A Google Cloud Secret Manager
  • B Google Cloud Storage
  • C Google Cloud Firestore
  • D Google Cloud Spanner
Explanation Google Cloud Secret Manager is designed specifically for managing sensitive information, while the others do not offer secure storage.
Q119

You are configuring an App Engine service to handle a sudden spike in traffic. What should you enable to ensure scalability?

  • A Manual Scaling
  • B Autoscaling
  • C Basic Scaling
  • D High Availability
Explanation Autoscaling automatically adjusts resources based on traffic needs, whereas the others require manual intervention or do not scale effectively.
Q120

What happens when a VM instance is restarted in Google Cloud Compute Engine?

  • A Permanent data loss
  • B All data is retained
  • C External IP is changed
  • D High performance mode activated
Explanation Restarting a VM typically changes the external IP if it's not static, while other options provide inaccurate outcomes.