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 161–170 of 495

Q161

A company needs to securely store confidential data with access control. Which Google Cloud service should they use?

  • A Google Cloud Storage
  • B Google Cloud SQL
  • C Google Firestore
  • D Secret Manager
Explanation Google Secret Manager is specifically designed for securely storing sensitive information, while others are for different data types.
Q162

What happens when you set an instance to automatic restart in Google Compute Engine?

  • A It will always restart after shutdown.
  • B It restarts on host failures only.
  • C It restarts on all failures.
  • D No restarts are allowed.
Explanation Automatic restart only occurs during host failures, not for all failures and shutdowns.
Q163

Which Google Cloud service is best for real-time data ingestion?

  • A Cloud Pub/Sub
  • B Cloud Functions
  • C Cloud Storage
  • D Cloud SQL
Explanation Cloud Pub/Sub effectively handles real-time data streams, while others don't specialize in this area.
Q164

A company needs to deploy a microservices architecture. Which Google Cloud tool is best suited for managing containers?

  • A Cloud Functions
  • B Cloud Build
  • C Google Kubernetes Engine
  • D App Engine
Explanation Google Kubernetes Engine is designed for container orchestration, unlike the other options.
Q165

You are configuring a CI/CD pipeline in Google Cloud. What will happen if you don't set environmental variables correctly in Cloud Build?

  • A Pipeline will not execute any steps
  • B Pipeline will execute without issues
  • C Build will fail due to misconfiguration
  • D Only warnings will be shown
Explanation Incorrect environmental variables lead to a misconfigured build that fails execution.
Q166

Which service is best for managing containerized applications?

  • A Google Kubernetes Engine
  • B Cloud Functions
  • C Cloud Run
  • D App Engine
Explanation Google Kubernetes Engine (GKE) is tailored for orchestrating containers, whereas others target different functionalities like serverless computing or app hosting.
Q167

A company needs to run a job whenever a file is uploaded to Cloud Storage. What should they use?

  • A Pub/Sub
  • B Cloud Functions
  • C Cloud Scheduler
  • D Cloud Run
Explanation Cloud Functions can be triggered directly by Cloud Storage events, while other options are not event-driven in this context.
Q168

You are configuring IAM roles for a project. What happens when a user has multiple roles with different permissions?

  • A User receives merged permissions
  • B User's permissions are negated
  • C User has no permissions
  • D User can only use one role
Explanation IAM roles are additive; a user gains all the permissions from their assigned roles.
Q169

Which Google Cloud service allows you to deploy machine learning models at scale?

  • A AI Platform
  • B Dataflow
  • C BigQuery
  • D Cloud Functions
Explanation AI Platform is specifically designed for ML deployment, while others are for data processing or serverless functions.
Q170

A company needs to ensure that their data is encrypted at rest in Google Cloud Storage. What should they implement?

  • A Default encryption settings
  • B Access Control Lists
  • C Pub/Sub encryption
  • D VPC Service Controls
Explanation Default encryption settings automatically encrypt data at rest, while the others don't directly relate to encryption.