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 141–150 of 495

Q141

You are configuring an IAM policy for a project. What happens if a user has both an explicit deny and an explicit allow permission?

  • A Deny takes precedence
  • B Allow takes precedence
  • C Permissions are combined
  • D Error is thrown
Explanation In IAM policies, explicit deny always takes precedence over explicit allow.
Q142

Which Google Cloud service is best for hosting a RESTful API?

  • A Cloud Functions
  • B Cloud Storage
  • C BigQuery
  • D Cloud Run
Explanation Cloud Run is specifically designed for containerized applications, making it ideal for RESTful APIs; Cloud Functions is too limited in scope for complex APIs.
Q143

A company needs to implement delay queues in their message processing architecture. Which Google Cloud service should they use?

  • A Pub/Sub
  • B Cloud Functions
  • C Cloud Tasks
  • D Firestore
Explanation Cloud Tasks supports delay execution natively, unlike the other options.
Q144

You are configuring an App Engine service. What happens when you set the 'automatic scaling' option?

  • A Instances scale down to zero instantly
  • B Instance scaling is controlled manually
  • C Scale based on request traffic
  • D Instances run indefinitely regardless of load
Explanation Automatic scaling adjusts instances based on traffic; the other options either misinterpret this or contradict it.
Q145

Which service is best for deploying containerized applications?

  • A Google Kubernetes Engine
  • B Cloud Functions
  • C App Engine
  • D Cloud Run
Explanation Google Kubernetes Engine (GKE) provides robust orchestration for containers, while others serve different needs like serverless applications or web hosting.
Q146

A company needs real-time logging for a live application. Which GCP service should be used?

  • A Cloud Storage
  • B Cloud Pub/Sub
  • C Cloud Monitoring
  • D Cloud Logging
Explanation Cloud Logging is specifically designed for real-time log collection and management, whereas others serve different purposes like data storage or monitoring.
Q147

What happens when a Cloud Function exceeds its timeout limit?

  • A Function restarts automatically
  • B Function execution fails
  • C Function continues until completion
  • D Function logs the timeout event
Explanation If a Cloud Function exceeds its timeout, it fails and does not complete execution; others imply functionality not supported by GCP.
Q148

Which service is best for monitoring application performance?

  • A Cloud Monitoring
  • B Cloud Storage
  • C Cloud Functions
  • D Cloud Pub/Sub
Explanation Cloud Monitoring provides comprehensive insights into performance, unlike the other options.
Q149

A company needs to securely manage access to its Google Cloud resources. What should they implement?

  • A Service accounts
  • B Cloud Functions
  • C BigQuery datasets
  • D App Engine
Explanation Service accounts offer secure, specific access management, while the others do not focus on access control.
Q150

You are configuring a global load balancer. What happens if one instance in the backend service fails?

  • A Traffic routes through other instances
  • B All traffic stops until fixed
  • C Errors are returned to users
  • D New instances are automatically created
Explanation Traffic will reroute to healthy instances, ensuring high availability.