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 1–10 of 495

Q1

Which service provides a serverless environment for code execution?

  • A Cloud Functions
  • B Compute Engine
  • C App Engine
  • D Cloud Storage
Explanation Cloud Functions is designed for serverless execution, while others provide managed or VM services.
Q2

A company needs to ensure their application can scale automatically under traffic spikes. Which features should they use?

  • A Instance Groups
  • B Persistent Disks
  • C Traffic Splitting
  • D VPC Networks
Explanation Instance Groups can automatically scale based on load, while others do not provide scaling functionalities.
Q3

What happens when you deploy a Cloud Run service with the 'region-us-central1' setting?

  • A Service runs in multiple regions
  • B Service only accessible in the region
  • C Service is globally replicated
  • D Service uses only regional traffic
Explanation Deploying in 'region-us-central1' limits access to that specific region, while others suggest wider or global availability.
Q4

Which service provides serverless event-driven services in Google Cloud?

  • A Cloud Functions
  • B Compute Engine
  • C Cloud Run
  • D App Engine
Explanation Cloud Functions is specifically designed for serverless event-driven architectures, unlike the others that provide more static or infrastructure-based solutions.
Q5

A company needs to store user data securely and also ensure that it is easily accessible for analytics. Which storage solution should they choose?

  • A Cloud Storage
  • B BigQuery
  • C Datastore
  • D Filestore
Explanation BigQuery is designed for analytical queries and can handle large datasets efficiently compared to the others which are more suited for raw storage.
Q6

You are configuring IAM roles for a GCP project. What happens when a user is assigned both a predefined role and a custom role with identical permissions?

  • A Custom role overrides predefined role
  • B Predefined role overrides custom role
  • C Permissions are doubled
  • D Permissions are merged
Explanation When a user has multiple roles with identical permissions, those permissions are effectively merged, allowing access to all permissions from both roles.
Q7

Which Google Cloud service is used for serverless application deployment?

  • A Cloud Functions
  • B Compute Engine
  • C Cloud Run
  • D App Engine
Explanation Cloud Functions is specifically designed for serverless deployments, whereas others are not solely serverless.
Q8

A company needs to store large amounts of unstructured data for analysis. Which Google Cloud storage solution is best suited for this requirement?

  • A Cloud SQL
  • B Cloud Spanner
  • C Cloud Storage
  • D Bigtable
Explanation Cloud Storage is ideal for unstructured data, unlike SQL databases which are structured.
Q9

You are configuring identity and access management for a project. What happens if a user has roles assigned at both project and organization levels?

  • A Project roles override organization roles
  • B Organization roles override project roles
  • C Roles are combined for effective permissions
  • D User gains no permissions at all
Explanation GCP combines roles at different levels, granting effective permissions accordingly.
Q10

Which Google Cloud service scales automatically based on demand?

  • A Cloud Functions
  • B Persistent Disk
  • C Cloud Storage
  • D Compute Engine
Explanation Cloud Functions automatically scale with event triggers, while others need manual scaling configurations.