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 371–380 of 495

Q371

A company needs to analyze large datasets efficiently. Which Google Cloud service should they use?

  • A Cloud Pub/Sub
  • B Cloud Firestore
  • C BigQuery
  • D Compute Engine
Explanation BigQuery is optimized for large-scale data analysis with SQL querying, unlike the other options which are not designed for analytics.
Q372

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

  • A All permissions are revoked
  • B Remaining services continue using it
  • C Credentials are still valid
  • D Service account keys remain functional
Explanation When a service account is deleted, all its permissions are revoked, impacting any services using it.
Q373

Which service should you use for serverless data processing?

  • A Cloud Run
  • B Cloud Functions
  • C Cloud SQL
  • D App Engine
Explanation Cloud Functions is specifically designed for event-driven, serverless data processing, while the others have different use cases.
Q374

A company needs to shard their Cloud Spanner database. What is the first step?

  • A Create a new instance.
  • B Define a primary key.
  • C Use the Spanner admin tool.
  • D Set up data retention policies.
Explanation Defining a primary key is essential for sharding in Cloud Spanner, as it determines how the data is distributed.
Q375

What happens when you set an instance to preemptible in Compute Engine?

  • A Guarantees 24/7 uptime.
  • B Lower costs with risk of termination.
  • C Complete data loss at termination.
  • D Automatic backups enabled.
Explanation Preemptible instances cost less but can be stopped at any time, which introduces risks but offers considerable savings.
Q376

Which service is best for running serverless applications?

  • A Google Cloud Run
  • B Google Compute Engine
  • C Google Kubernetes Engine
  • D Google App Engine
Explanation Google Cloud Run automatically scales containers for serverless use.
Q377

A company needs to implement a disaster recovery plan using Cloud Storage. What should they primarily focus on?

  • A Gaining faster VM instance access
  • B Setting a multi-regional bucket
  • C Optimizing storage for SSD
  • D Utilizing Persistent Disks
Explanation Multi-regional buckets ensure higher availability and durability.
Q378

You are configuring IAM roles for a developer in your team. What is a best practice to follow?

  • A Grant the owner role
  • B Use predefined roles only
  • C Create custom roles for admin access
  • D Apply the least privilege principle
Explanation The least privilege principle minimizes access risks effectively.
Q379

Which service is best for scalable data storage?

  • A Cloud Storage
  • B Cloud SQL
  • C BigQuery
  • D App Engine
Explanation Cloud Storage is designed for scalability, while others serve specific data management needs.
Q380

A company needs to manage multiple environments using Google Cloud. What should they employ?

  • A Cloud Functions
  • B Resource Manager
  • C Cloud Deployment Manager
  • D Cloud Scheduler
Explanation Cloud Deployment Manager automates resource deployments across environments, unlike the other options.