Courseiva

Google Professional Cloud Database Engineer (PCDE) — Questions 175

1446 questions total · 20pages · All types, answers revealed

Page 1 of 20

Page 2
1
Multi-Selecthard

Refer to the exhibit. A company has a Cloud Spanner instance with the backup configuration shown. They need to improve disaster recovery. Which THREE strategies should they implement?

Select 3 answers
A.Schedule regular exports to Cloud Storage
B.Enable point-in-time recovery (PITR)
C.Use multi-region instance configuration
D.Configure cross-region backups
E.Use read replicas in another region
AnswersB, C, D

PITR allows restoring to any point in time within the retention period, improving recovery granularity.

Why this answer

Enabling point-in-time recovery (PITR) in Cloud Spanner allows you to recover data to any point within the retention period (default 7 days), which is essential for granular disaster recovery against logical errors or accidental data changes. This complements backup strategies by providing fine-grained restore capabilities beyond full backups.

Exam trap

Google Cloud often tests the misconception that read replicas or exports are viable disaster recovery mechanisms, when in fact they lack the write availability or point-in-time restore capabilities required for true DR in Cloud Spanner.

2
MCQhard

A company has a Cloud Bigtable cluster using HDD storage. They are migrating to a workload that requires lower latency, so they need to switch to SSD storage. How should they accomplish this?

A.Add more nodes to the existing cluster to improve latency.
B.Export data to Avro files, create a new SSD cluster, and import the data.
C.Modify the existing cluster's storage type to SSD using the Cloud Console.
D.Create a new Bigtable cluster with SSD storage in the same instance, replicate data, then delete the old cluster.
AnswerD

Correct approach: create new cluster, replicate, switch traffic, delete old.

Why this answer

Cloud Bigtable does not support in-place conversion of storage type from HDD to SSD. The proper migration path is to create a new cluster with SSD storage within the same instance, enable replication to keep data synchronized, and then delete the old HDD cluster. This approach minimizes downtime and ensures data consistency.

Exam trap

Google Cloud often tests the misconception that you can change the storage type of an existing cluster via the console or that exporting/importing is the only option, when in fact replication-based migration within the same instance is the recommended and least disruptive method.

How to eliminate wrong answers

Option A is wrong because adding more nodes to an HDD cluster improves throughput and reduces hotspotting but does not change the underlying storage latency; HDDs still have higher read/write latency than SSDs. Option B is wrong because exporting to Avro files and importing into a new SSD cluster is possible but introduces significant downtime and operational complexity compared to using replication within the same instance. Option C is wrong because Cloud Bigtable does not allow modifying the storage type of an existing cluster; the storage type is fixed at cluster creation and cannot be changed via the Cloud Console or any API.

3
Multi-Selectmedium

An organization uses Cloud Build to build and deploy applications. They need to ensure that build secrets (e.g., API tokens) are securely injected into build steps without being exposed in the build logs. Which two actions should they take?

Select 2 answers
A.Use the 'env' field to pass the secret as a build substitution variable
B.Use the 'secretEnv' field in the build step to reference a secret from Secret Manager
C.Encrypt the entire cloudbuild.yaml using Cloud KMS
D.Store the secret in Secret Manager and assign appropriate permissions to the Cloud Build service account
E.Store the secret value directly in the cloudbuild.yaml file
AnswersB, D

secretEnv injects the secret as an environment variable without logging it.

Why this answer

The `secretEnv` field in a Cloud Build step allows you to inject a secret from Secret Manager into the build environment as an environment variable, without the secret value being written to build logs. This ensures the secret is available to the step at runtime but never exposed in log output.

Exam trap

A common misconception is that encrypting the build configuration file or using plain environment variables is sufficient for secret management, but only Secret Manager with `secretEnv` prevents log exposure.

4
Multi-Selecthard

A company is using Bigtable for real-time analytics and notices that some queries are experiencing high latency. They suspect a hot spot due to a row key design that uses a monotonically increasing value. Which two actions should they take to diagnose and mitigate the hot spottedness? (Choose TWO.)

Select 2 answers
A.Increase the number of nodes to spread the load
B.Redesign the row key to include a hash prefix or a field that distributes writes evenly
C.Create a Bigtable table with a different column family
D.Use Key Visualiser in the Google Cloud console to analyse row key distribution
E.Switch from HDD to SSD storage type
AnswersB, D

A more distributed row key avoids hot spots.

Why this answer

Key Visualiser helps identify hot spots by showing row key distribution. Prefixing the row key with a field that distributes writes (like a hash prefix) is a common mitigation strategy.

5
Drag & Dropmedium

Arrange the steps to set up database encryption with Cloud KMS for Cloud SQL.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First create KMS key, grant access, then create instance with CMEK, verify, test.

6
MCQeasy

Refer to the exhibit. A developer deployed these Firestore security rules. What is a security concern with this configuration?

A.Only the owner can write to documents
B.The rules do not explicitly allow delete operations
C.All authenticated users can read all documents
D.The wildcard path matches all databases
AnswerC

The read rule allows any authenticated user to read any document, which may leak private data.

Why this answer

The Firestore security rules shown grant read access to all authenticated users without any document-level or collection-level restrictions. The rule `match /databases/{database}/documents { allow read: if request.auth != null; }` applies to all documents in the database, meaning any authenticated user can read every document, including those they should not have access to. This violates the principle of least privilege and can lead to unauthorized data exposure.

Exam trap

Google Cloud often tests the misconception that 'authenticated users' implies safe access, but the trap here is that without document-level conditions, all authenticated users can read every document, which is a common misconfiguration in Firestore security rules.

How to eliminate wrong answers

Option A is wrong because the rules do not restrict write access to only the owner; they allow any authenticated user to write to any document (allow write: if request.auth != null;), which is a broader security concern. Option B is wrong because Firestore security rules implicitly allow delete operations when write access is granted, as 'write' encompasses create, update, and delete unless explicitly separated. Option D is wrong because the wildcard path `{database}` matches any database name within the project, which is standard for multi-database setups and does not introduce a security concern by itself.

7
MCQeasy

A team uses Kustomize to manage environment-specific configurations for their GKE deployments. They have a base overlay and overlays for dev, staging, and prod. Which command should they use to generate the final Kubernetes manifests for the staging environment?

A.kubectl kustomize staging/
B.kustomize build staging/
C.skaffold build --kustomize staging/
D.kubectl apply -k staging/
AnswerB

This outputs the final YAML for the staging overlay.

Why this answer

The `kustomize build staging/` command processes the Kustomize overlay located in the `staging/` directory, which includes a `kustomization.yaml` file that references the base overlay and applies environment-specific patches, configMapGenerator entries, and namespace settings. This generates the final Kubernetes manifests for the staging environment without applying them to a cluster. The `kustomize` CLI tool is the standard way to render Kustomize overlays, and it is the correct command for generating manifests as part of a CI/CD pipeline.

Exam trap

Candidates often confuse `kustomize build` (generates manifests) with `kubectl apply -k` (applies manifests). For Google exams, remember that `kustomize build` is used to render final YAML in CI/CD pipelines without applying.

How to eliminate wrong answers

Option A is wrong because `kubectl kustomize staging/` is not a valid kubectl command; kubectl does not have a `kustomize` subcommand. Option C is wrong because `skaffold build --kustomize staging/` is not a valid Skaffold command; Skaffold uses `skaffold run` or `skaffold build` with a `skaffold.yaml` configuration, and the `--kustomize` flag does not exist. Option D is wrong because `kubectl apply -k staging/` applies the rendered manifests directly to a Kubernetes cluster, but the question asks for generating the final manifests, not applying them.

8
Multi-Selecthard

You are setting up structured logging for an application running on Compute Engine. Your logs should include trace context and severity. Which TWO fields should you include in the JSON payload to enable correlation with Cloud Trace? (Select 2)

Select 2 answers
A.httpRequest
B.message
C.spanId
D.severity
E.trace
AnswersC, E

The spanId identifies the specific span.

Why this answer

To correlate logs with traces, you include the trace field (trace ID) and optionally spanId. The severity field is for log level, not correlation.

9
Multi-Selectmedium

During a postmortem, an SRE team identifies several contributing factors. Which THREE items should be included in the action items section of a blameless postmortem?

Select 3 answers
A.Verification steps to confirm the fix is effective
B.Due dates for each action item
C.Generic recommendations like 'improve testing'
D.Assign blame to the engineer who caused the incident
E.Specific actions to address root causes, each with a single owner
AnswersA, B, E

Verification ensures the action item resolves the issue.

Why this answer

Action items should be specific, have an owner, and a due date. Assigning blame or vague plans are not appropriate. The items should address systemic issues.

10
MCQmedium

You want to use OpenTelemetry Collector to send traces from an on-premises application to Cloud Trace. Which exporter should you configure in the Collector pipeline?

A.logging
B.prometheus
C.otlp
D.googlecloud
AnswerD

Correct. The googlecloud exporter sends traces and metrics to Google Cloud operations suite.

Why this answer

The OpenTelemetry Collector has an exporter 'googlecloud' (or 'googlecloudtrace') that sends traces to Cloud Trace. The 'logging' exporter writes to stdout, 'otlp' sends to an OTLP receiver, and 'prometheus' exports metrics. For Cloud Trace, the googlecloud exporter is correct.

11
MCQmedium

A global e-commerce platform uses Cloud Spanner multi-region configuration. The compliance team mandates that all write transactions must be committed in a specific geographic region to comply with data sovereignty laws. Which Spanner feature should be used to enforce this requirement?

A.Enable customer-managed encryption keys (CMEK)
B.Use read-only replicas in the required region
C.Deploy a regional instance in the required region
D.Set the default leader region to the required region
AnswerD

The leader region option ensures all writes are processed in that region, controlling where data is committed.

Why this answer

Spanner's leader region configuration allows you to designate a specific region where all write transactions are coordinated. This ensures that the commit timestamp and transaction processing occur within that region, helping meet data sovereignty requirements.

12
MCQhard

A company is using Cloud Spanner and needs to add a new column to an existing table that has billions of rows. The column must have a default value of 0. The team is concerned about downtime. Which approach should they take to add the column with zero downtime?

A.Take the application offline, run ALTER TABLE to add the column, then bring the application back online
B.Create a new table with the column, copy data using Dataflow, then rename the tables
C.Add the column without a default, then run a batch update to set the default value
D.Use ALTER TABLE ADD COLUMN with DEFAULT 0; the operation is online and non-blocking
AnswerD

Spanner schema changes are non-blocking; adding a column with a default is immediate and does not cause downtime.

Why this answer

Cloud Spanner supports online schema changes that are non-blocking. Adding a column with a DEFAULT value is an online operation that does not block reads or writes, and does not require copying data. The new column is added with the default value for existing rows at read time, not by backfilling.

13
MCQeasy

An SRE team wants to ensure that no single person can deploy to production without a peer review. Which Google Cloud service or feature should they use?

A.Cloud Build with a trigger that runs only on merges to main branch that have passed pull request approval in Cloud Source Repositories
B.Cloud Audit Logs to monitor who deploys
C.Cloud Scheduler to run deployments at fixed times
D.IAM roles to restrict deployment to a single user
AnswerA

This enforces peer review before deployment.

Why this answer

Cloud Source Repositories can enforce pull request approvals. Cloud Build can integrate with approval mechanisms. However, a common approach is to use Cloud Build triggers with a requirement for a pull request approval via Cloud Source Repositories.

Alternatively, Binary Authorization can enforce attestations from reviewers. But the most direct is to use Cloud Build with a trigger that only runs on pull request merges that have required approvals.

14
MCQmedium

A company uses Memorystore for Redis as a cache. They need to survive a zone failure. Which configuration should they choose?

A.Cluster tier with multiple shards
B.Basic tier with a single node
C.Standard tier cross-region
D.Standard tier with replication
AnswerD

Standard tier provisions a primary and replica in different zones, providing zone failover.

Why this answer

Standard tier with replication (Option D) provides a primary-replica pair in the same region but across two zones, ensuring automatic failover if one zone fails. This meets the requirement to survive a zone failure while maintaining low-latency access within a single region.

Exam trap

The trap here is that candidates may confuse 'cross-region' with 'cross-zone' replication, or assume that sharding alone (Cluster tier) provides zone redundancy, when in fact Memorystore for Redis does not support cross-region replication and requires explicit replication (Standard tier) for zone-level failover.

How to eliminate wrong answers

Option A is wrong because Cluster tier with multiple shards distributes data across shards for horizontal scaling, but does not inherently provide zone-level redundancy unless each shard has replicas in different zones, which is not guaranteed by this option alone. Option B is wrong because Basic tier with a single node has no replication or failover, so a zone failure would cause complete data loss and downtime. Option C is wrong because Standard tier cross-region is not a valid Memorystore tier; cross-region replication is not supported by Memorystore for Redis, and this option incorrectly implies multi-region failover.

15
MCQhard

A multinational corporation uses Cloud Spanner with a multi-region configuration. The schema includes a table that is updated frequently by users in two distant regions. They are experiencing high commit latencies due to distributed transactions. Which schema change would most reduce latency?

A.Reduce the number of replicas in the Spanner configuration.
B.Use a table-level leader placement configuration to keep the table's splits in a single region.
C.Convert the table into an interleaved child of a parent table.
D.Increase the number of splits by using a more granular primary key.
AnswerB

Leader placement allows directing all writes for a table to the nearest region, reducing distributed transaction overhead.

Why this answer

Table-level leader placement ensures that all writes for the table are processed in a single region, minimizing cross-region coordination and reducing commit latency. Option A is wrong: reducing replicas can hurt availability but doesn't address transaction distribution. Option C is wrong: interleaving tables does not affect region placement.

Option D is wrong: more granular primary keys increase splits, which can exacerbate distributed transactions and latency.

16
MCQmedium

An engineer is migrating from on-premises PostgreSQL to Cloud SQL for PostgreSQL using pg_dump. Which flags should be used to avoid errors related to roles and privileges when importing into Cloud SQL?

A.--schema-only --no-data
B.--clean --if-exists
C.--inserts --column-inserts
D.--no-owner --no-acl
AnswerD

These flags skip owner and ACL settings that may not exist in Cloud SQL.

Why this answer

Cloud SQL does not allow superuser access; --no-owner and --no-acl prevent errors from missing roles or privileges.

17
MCQeasy

An engineer wants to automatically build a Docker image in Cloud Build whenever code is pushed to the main branch of a repository. Which configuration is correct?

A.Create a Cloud Build trigger with event 'pull_request', source 'repository', branch filter 'main'
B.Create a Cloud Build trigger with event 'push', source 'repository', branch filter '.*'
C.Create a Cloud Build trigger with event 'manual', source 'repository', branch filter 'main'
D.Create a Cloud Build trigger with event 'push', source 'repository', branch filter '^main$'
AnswerD

Correct: push event with branch filter for main triggers on push to main.

Why this answer

The `push` trigger with a branch filter for `main` ensures builds are triggered on pushes to the main branch.

18
MCQeasy

An engineer is planning to migrate a PostgreSQL database to AlloyDB using Database Migration Service (DMS). The source database is version 13 and the target is AlloyDB. The migration must replicate ongoing changes with minimal downtime. Which source configuration is required to enable continuous change data capture (CDC) with DMS for PostgreSQL?

A.Configure streaming replication with a replication slot.
B.Enable binary logging and set binlog_format=ROW.
C.Set max_replication_slots=0 to disable replication conflicts.
D.Set wal_level=logical and install the pglogical extension.
AnswerD

This is the correct configuration for PostgreSQL logical replication with DMS.

Why this answer

DMS for PostgreSQL continuous migration uses logical replication. The source must have the `pglogical` extension installed and configured, with the `wal_level` set to `logical`.

19
MCQmedium

An organization needs to run both transactional (OLTP) and real-time analytical (OLAP) queries on the same dataset without data duplication. The dataset is moderately large (a few terabytes). Which Google Cloud database service is MOST appropriate for this HTAP workload?

A.Bigtable
B.BigQuery
C.AlloyDB
D.Cloud SQL for PostgreSQL
AnswerC

AlloyDB is purpose-built for HTAP with its columnar engine for fast analytics on transactional data.

Why this answer

AlloyDB is a fully managed PostgreSQL-compatible database designed for hybrid transactional and analytical processing (HTAP). It includes a built-in columnar engine that accelerates analytical queries on transactional data without separate ETL or duplication.

20
Multi-Selecthard

A company is designing a global application using Cloud Spanner. They need to ensure low latency reads and writes across three continents. Which TWO configurations should they consider?

Select 2 answers
A.Use a multi-region configuration with leader regions in each continent.
B.Use a single-region instance and rely on application caching.
C.Use strongly consistent reads from a single region.
D.Use read replicas in each continent for stale read use cases.
E.Use interleaved tables to optimize query performance.
AnswersA, D

Multi-region with leader regions reduces write latency.

Why this answer

Cloud Spanner multi-region configurations allow you to place leader regions in multiple continents, which enables low-latency strongly consistent reads and writes by directing traffic to the nearest leader. This is achieved through Spanner's TrueTime and Paxos-based replication, ensuring global consistency without sacrificing performance. Option D is also correct because read replicas in each continent can serve stale reads (read-only queries that tolerate slightly outdated data) with low latency, which is acceptable for many use cases like dashboards or reporting.

Options B and C are incorrect: a single-region instance would cause high latency for users far from that region, and application caching does not guarantee consistency. Option E is incorrect: interleaved tables optimize query performance within a single table hierarchy but do not address global latency.

Exam trap

Google Cloud often tests the misconception that read replicas or caching alone can solve global write latency, but Cloud Spanner requires leader regions in each continent for low-latency strongly consistent writes.

21
Multi-Selecthard

You manage a Cloud SQL for PostgreSQL instance that is experiencing high read latency. You have already tuned the buffer cache and queries. Which THREE actions can further reduce read latency? (Choose three.)

Select 3 answers
A.Enable the PostgreSQL slow query log and analyze it.
B.Use connection pooling to reduce the number of open connections.
C.Increase the number of vCPUs on the primary instance.
D.Create read replicas in the same region to distribute read traffic.
E.Add a Memorystore for Redis cache in front of the database for frequently accessed data.
AnswersC, D, E

More vCPUs can process more queries concurrently, reducing queue time.

Why this answer

Increasing the number of vCPUs on the primary instance (Option C) can reduce read latency by providing more CPU resources to process queries, especially if the current bottleneck is CPU-bound operations like query parsing, sorting, or aggregation. In Cloud SQL for PostgreSQL, scaling vCPUs also increases available memory and I/O bandwidth proportionally, which can alleviate contention and improve throughput for read-heavy workloads.

Exam trap

Candidates often mistakenly select diagnostic actions (like enabling logs) as a direct solution for latency reduction, but the question asks for actions that can directly reduce read latency.

22
MCQeasy

An organization wants to implement a blameless postmortem culture after incidents. Which of the following is a key practice in blameless postmortems?

A.Firing the responsible engineer to prevent recurrence
B.Identifying contributing factors using techniques like the 5 Whys
C.Assigning blame to the engineer who made the mistake
D.Immediately implementing a fix without documentation
AnswerB

5 Whys is a root cause analysis technique used in blameless postmortems.

Why this answer

Blameless postmortems focus on identifying contributing factors and systemic issues, not individual blame. The 5 Whys technique helps uncover root causes.

23
Multi-Selecteasy

A startup is using Firestore in Native mode for a real-time chat application. They want to design the schema for chat rooms and messages. Which TWO design patterns are recommended? (Choose two.)

Select 2 answers
A.Use arrays in the chat room document to store message IDs.
B.Use a composite index on chat room ID and timestamp.
C.Store all messages in a single top-level collection with a field for chat room ID.
D.Use a separate top-level collection for each chat room.
E.Store messages as documents in a subcollection under each chat room document.
AnswersB, E

A composite index is required for querying messages efficiently.

Why this answer

A composite index on chat room ID and timestamp is essential for efficiently querying messages in order within a specific chat room. Firestore requires composite indexes for queries that combine equality filters on one field (chat room ID) with an order on another (timestamp). Option E is correct because storing messages as documents in a subcollection under each chat room document is the recommended pattern for Firestore, as it allows scalable, independent message collections per room without hitting the 1 MiB document size limit.

Exam trap

Firestore exams often test the misconception that arrays are suitable for storing related data, but Firestore arrays lack the indexing and scalability needed for relational-like references, leading candidates to incorrectly choose Option A.

24
MCQmedium

A team wants to adopt GitOps for a GKE cluster. They need a solution that automatically syncs their Kubernetes manifests from a Git repository to the cluster and ensures the cluster state matches the repo. Which Google Cloud service should they use?

A.Config Connector
B.Config Sync
C.Cloud Deploy
D.Argo CD on GKE
AnswerB

Config Sync syncs Git repos with GKE clusters, enforcing desired state.

Why this answer

Config Sync is the correct choice because it is the native GitOps agent within Google Cloud's Anthos platform, designed specifically to continuously reconcile the state of a GKE cluster with Kubernetes manifests stored in a Git repository. It automatically detects changes in the configured source of truth and applies them to the cluster, ensuring drift is corrected without manual intervention.

Exam trap

A common pitfall is to choose Argo CD because it is a popular GitOps tool, but the question explicitly asks for a 'Google Cloud service' — Config Sync is the native managed service.

How to eliminate wrong answers

Option A is wrong because Config Connector is a tool for managing Google Cloud resources (like Cloud SQL instances or IAM policies) via Kubernetes custom resources, not for syncing Kubernetes manifests from a Git repository to the cluster. Option C is wrong because Cloud Deploy is a continuous delivery service that orchestrates rollouts across multiple targets (e.g., dev, staging, prod) but does not automatically sync cluster state from a Git repo; it requires explicit delivery pipeline definitions and does not provide continuous drift reconciliation. Option D is wrong because Argo CD on GKE is a valid GitOps tool, but the question asks for a 'Google Cloud service' — Argo CD is an open-source project, not a managed Google Cloud service, and while it can be deployed on GKE, it is not a first-party Google offering like Config Sync.

25
MCQhard

A company uses Cloud SQL for MySQL with a failover replica. The primary instance is in us-central1 and the replica is in us-east1. During a regional outage in us-central1, the database engineer executes an emergency failover to the replica. After the failover, applications experience high latency when writing to the new primary. What is the most likely cause?

A.The new primary is in a different region, causing higher network round-trip times for applications that are still in us-central1.
B.Cross-region replication triggers a mandatory 1-hour delay before writes are allowed.
C.The failover did not complete successfully; the replica is still in read-only mode.
D.The replica had a replication lag of 5 minutes, causing data inconsistency.
AnswerA

After failover, the primary is in us-east1, while application instances in us-central1 incur cross-region latency for each write.

Why this answer

After a cross-region failover, the new primary resides in us-east1 while the applications remain in us-central1. This geographic distance increases network round-trip time (RTT) for write operations, as each write must traverse the WAN between regions. Cloud SQL for MySQL does not automatically relocate compute resources, so latency-sensitive applications will experience higher write latency until they are migrated or configured to connect to the new region.

Exam trap

Google Cloud often tests the misconception that failover automatically fixes all performance issues, but the trap here is that candidates overlook the impact of geographic latency on write operations after a cross-region failover, focusing instead on replication lag or read-only mode.

How to eliminate wrong answers

Option B is wrong because Cloud SQL for MySQL does not impose any mandatory delay after a failover; writes are allowed immediately once the replica is promoted to primary. Option C is wrong because a successful failover automatically promotes the replica to read-write mode; if it remained read-only, applications would receive errors, not high latency. Option D is wrong because replication lag does not cause high write latency; it affects read consistency but the promoted replica becomes the new primary with full write capability, and any lag is resolved asynchronously.

26
MCQeasy

An SRE wants to measure latency SLI for a web service. Which metric is the BEST indicator of user-perceived performance?

A.Proportion of requests served in under 200ms.
B.Maximum latency observed in the last 5 minutes.
C.Average latency over the last hour.
D.99th percentile latency.
AnswerA

This directly tracks whether user requests meet a performance target, which is a good SLI.

Why this answer

The proportion of requests that complete within a defined threshold (e.g., 200ms) directly measures user-perceived performance. Other options are less representative.

27
MCQeasy

A Cloud SQL for PostgreSQL instance needs to achieve a recovery point objective (RPO) of less than 1 minute and a recovery time objective (RTO) of less than 2 minutes in the event of a zone failure. Which disaster recovery strategy should be used?

A.Perform regular backups to Cloud Storage and restore in a different zone.
B.Enable cross-region replication using a read replica.
C.Enable point-in-time recovery (PITR) with transaction log backups.
D.Configure Cloud SQL HA (high availability) with a standby in a different zone.
AnswerD

Cloud SQL HA provides automatic failover to a standby in a different zone within same region, RPO near zero, RTO <60 seconds, meeting both requirements.

Why this answer

Cloud SQL HA configuration provides automatic failover to a standby in a different zone within the same region, with RPO near zero and RTO typically under 60 seconds. Cross-region read replicas have RPO equal to replication lag (could be minutes) and RTO of minutes due to manual promotion. Cross-region backup restore has RPO equal to backup age (hours) and RTO of hours.

Point-in-time recovery (PITR) is for within-region data recovery, not zone failure failover.

28
MCQhard

A team is migrating an on-premises PostgreSQL database to Cloud SQL for PostgreSQL. The existing schema uses a large number of foreign key constraints and triggers for data validation. The team wants to minimize migration effort and maintain data integrity. Which schema design approach is most appropriate for Cloud SQL?

A.Keep the existing foreign keys and triggers as-is in Cloud SQL for PostgreSQL
B.Migrate to Cloud Spanner and use interleaved tables to simulate foreign keys
C.Remove all foreign keys and triggers and implement validation in the application layer
D.Convert the schema to use Firestore in Datastore mode with composite indexes
AnswerA

Cloud SQL supports these features, minimizing migration effort.

Why this answer

Cloud SQL for PostgreSQL is fully compatible with the PostgreSQL engine, meaning foreign key constraints and triggers operate identically to on-premises PostgreSQL. This approach minimizes migration effort by preserving the existing schema logic and maintaining referential integrity without requiring application changes or data validation rewrites.

Exam trap

The trap here is that candidates assume managed cloud databases require schema simplification or NoSQL conversion, but Cloud SQL for PostgreSQL is a direct lift-and-shift target that preserves all relational features like foreign keys and triggers.

How to eliminate wrong answers

Option B is wrong because Cloud Spanner uses interleaved tables for hierarchical data relationships, not as a direct replacement for foreign keys; it does not support PostgreSQL triggers or the same constraint enforcement, requiring significant schema redesign and application logic changes. Option C is wrong because removing foreign keys and triggers shifts data integrity to the application layer, which increases complexity, risk of data corruption, and violates the goal of minimizing migration effort while maintaining integrity. Option D is wrong because Firestore in Datastore mode is a NoSQL document database that does not support SQL foreign keys, triggers, or relational integrity constraints, requiring a complete schema transformation and loss of existing PostgreSQL functionality.

29
MCQhard

A production Cloud SQL for PostgreSQL instance needs to handle increased read traffic and provide automatic failover in case of a zone outage. Which architecture satisfies both requirements?

A.Enable high availability (regional) and create a read replica in the same region.
B.Enable high availability only.
C.Use a CMEK key and enable binary logging.
D.Create multiple read replicas without HA.
AnswerA

HA provides automatic zone failover; read replicas offload read traffic, meeting both needs.

Why this answer

Enabling high availability (regional) for Cloud SQL for PostgreSQL creates a primary and standby instance in different zones within the same region, providing automatic failover during a zone outage. Adding a read replica in the same region offloads read traffic from the primary instance, satisfying the increased read traffic requirement while the HA configuration ensures high availability.

Exam trap

Google Cloud often tests the distinction between high availability (automatic failover) and read replicas (read scaling), leading candidates to assume that read replicas alone can provide failover or that HA alone can handle increased read traffic.

How to eliminate wrong answers

Option B is wrong because enabling high availability only provides automatic failover but does not address the need to handle increased read traffic; read replicas are required for read scaling. Option C is wrong because using a CMEK key (Customer-Managed Encryption Key) and enabling binary logging are related to encryption and point-in-time recovery, not to read scaling or automatic failover. Option D is wrong because creating multiple read replicas without HA handles increased read traffic but does not provide automatic failover in case of a zone outage; HA is necessary for failover.

30
MCQmedium

A company is migrating an on-premises PostgreSQL database to Cloud SQL. The database is 2 TB and has a high write workload. They need minimal downtime. Which migration approach is best?

A.Use Cloud Spanner
B.Use Cloud SQL for MySQL instead
C.Export using pg_dump and import via psql
D.Use Database Migration Service with continuous replication
AnswerD

DMS with continuous replication minimizes downtime by keeping the target in sync.

Why this answer

Database Migration Service (DMS) with continuous replication is the best approach because it supports minimal-downtime migrations from on-premises PostgreSQL to Cloud SQL. DMS uses change data capture (CDC) to replicate ongoing writes while the initial data load completes, then performs a cutover with only seconds of downtime. This handles the 2 TB size and high write workload without requiring manual export/import or schema changes.

Exam trap

Google Cloud often tests the misconception that pg_dump/psql is suitable for large databases with high write workloads, but the trap here is that candidates overlook the need for minimal downtime and the fact that logical dumps require a consistent snapshot, which forces a read-only period or long-running transaction that blocks writes.

How to eliminate wrong answers

Option A is wrong because Cloud Spanner is a globally distributed, horizontally scalable database that requires schema redesign and does not support PostgreSQL wire protocol natively, making it unsuitable for a direct PostgreSQL migration. Option B is wrong because Cloud SQL for MySQL is a different database engine; migrating from PostgreSQL to MySQL would require schema and query conversion, increasing complexity and downtime, and does not leverage the existing PostgreSQL setup. Option C is wrong because pg_dump and psql export/import is a logical backup method that requires the source database to be read-only or quiesced during the dump to ensure consistency, causing significant downtime; for a 2 TB database with high write workload, this would result in hours of downtime and risk of data loss.

31
MCQhard

A data team uses BigQuery for ad-hoc BI queries. They have a table with 100 columns. Analysts often select many columns. The table is partitioned by event_date. Queries are slow and expensive. What two-step optimization should they implement? (Note: This is a single correct answer among four options that combine two steps.)

A.Cluster the table by commonly used columns and limit the selected columns in queries.
B.Convert the table to an Avro format and use partitioned tables.
C.Partition by event_date and use column-level security.
D.Cluster the table by event_date and use SELECT *.
AnswerA

Clustering narrows scans within partitions; selecting only needed columns reduces bytes processed.

Why this answer

Clustering by commonly used columns organizes data within partitions so that queries scanning only those columns read fewer blocks, reducing bytes processed. Limiting selected columns in queries further reduces the data scanned by avoiding unnecessary column reads. Together, these two steps directly address the high cost and slow performance caused by scanning many columns across a large partitioned table.

Exam trap

Google Cloud often tests the misconception that partitioning alone is sufficient for all query optimizations, but the trap here is that partitioning only reduces scan by date range, not by column count—so candidates overlook the need to also limit columns or cluster on non-partition columns.

How to eliminate wrong answers

Option B is wrong because converting to Avro format does not inherently optimize query performance or cost in BigQuery; Avro is a storage format for import/export, not a query optimization technique, and partitioning alone does not reduce the column scan overhead. Option C is wrong because column-level security controls access but does not reduce the amount of data scanned or improve query performance; it adds administrative overhead without addressing the cost or speed issue. Option D is wrong because clustering by event_date is redundant when the table is already partitioned by event_date, and using SELECT * is the opposite of optimization—it forces scanning all columns, increasing cost and latency.

32
Multi-Selecteasy

Which TWO are best practices for designing a Cloud Spanner schema?

Select 2 answers
A.Avoid secondary indexes to keep writes faster
B.Use monotonically increasing primary keys
C.Use commit timestamp columns to track row versions
D.Use interleaved tables for parent-child relationships
E.Store all related data in a single row to avoid joins
AnswersC, D

Commit timestamps provide automatic versioning.

Why this answer

Cloud Spanner's commit timestamp columns allow you to automatically track the time of the last write to a row, which is essential for implementing optimistic concurrency control, ordering versions, and building change data capture pipelines. This feature leverages the TrueTime API to provide globally consistent timestamps, making it a best practice for versioning and auditing.

Exam trap

Google often tests the misconception that avoiding secondary indexes universally improves write performance, but in Cloud Spanner, secondary indexes are strongly consistent and designed to handle high write throughput without significant overhead, so candidates incorrectly select Option A as a best practice.

33
MCQmedium

A company has a Cloud SQL for MySQL instance with automated backups enabled. They want to ensure they can recover to any point within the last 7 days with minimum storage cost. What should they do?

A.Enable binary logging manually and store transaction logs in Cloud Storage.
B.Increase automated backup retention to 30 days and disable point-in-time recovery.
C.Keep the default automated backup configuration with 7-day retention and enable point-in-time recovery.
D.Disable automated backups and create manual backups daily.
AnswerC

Default retention is 7 days, and PITR is enabled by default for MySQL.

Why this answer

Cloud SQL for MySQL with automated backups enabled by default retains backups for 7 days. Enabling point-in-time recovery (PITR) uses the existing binary logs to allow recovery to any point within that retention period, without additional storage cost for the logs beyond the backup storage. This meets the requirement of 7-day recoverability with minimum storage cost.

Exam trap

The trap here is that candidates may think enabling point-in-time recovery requires additional storage or manual configuration of binary logs, but in Cloud SQL, PITR is a built-in feature that uses the existing automated backup retention and does not increase storage cost beyond the backup storage itself.

How to eliminate wrong answers

Option A is wrong because binary logging is automatically enabled when you enable point-in-time recovery in Cloud SQL; manually enabling it and storing logs in Cloud Storage would incur additional storage costs and management overhead, not minimum cost. Option B is wrong because increasing backup retention to 30 days exceeds the 7-day requirement and incurs more storage cost, and disabling point-in-time recovery prevents recovery to any point within the retention period, only to backup times. Option D is wrong because disabling automated backups and creating manual backups daily would not allow point-in-time recovery (only to backup snapshots) and manual backups can be more expensive and less reliable than automated backups.

34
MCQmedium

A data engineer is designing a schema for Cloud Spanner to store a hierarchy of customers and their orders. Customers have many orders, and queries often retrieve orders for a specific customer. To optimize performance and reduce cross-node reads, which schema design pattern should the engineer use?

A.Denormalize by embedding order details as a repeated field within the customer row.
B.Use a parent-child interleaved table structure where Orders are interleaved in Customers.
C.Normalize customers and orders into separate tables without any relationship.
D.Create a secondary index with STORING on the order ID.
AnswerB

Interleaving co-locates data, improving performance for hierarchical queries.

Why this answer

Spanner's interleaved tables allow storing child rows (orders) physically co-located with their parent row (customer) using the same primary key prefix. This enables efficient joins and reduces cross-node reads. A secondary index with STORING is useful for other access patterns but not for hierarchical queries.

Denormalization is not recommended in Spanner.

35
MCQhard

An application running on GKE emits custom metrics via OpenTelemetry. The metrics need to be ingested into Cloud Monitoring and visualized in a dashboard. Which approach should the engineer use?

A.Install the OTel Collector as a DaemonSet and configure the Google Cloud Monitoring exporter.
B.Use the Cloud Monitoring API to directly ingest metrics from the application.
C.Configure the application to write logs in JSON format and create a log-based metric.
D.Use the Operations Agent on the node to scrape metrics from the application.
AnswerA

The OTel Collector can receive metrics and export them to Cloud Monitoring via the Google Cloud exporter.

36
Multi-Selecthard

An organization is migrating from Teradata to BigQuery. They have 20 TB of data, complex BTEQ scripts, and require near-zero downtime. Which THREE components should be part of their migration plan? (Choose THREE.)

Select 3 answers
A.Schema Conversion Tool (SCTS)
B.Cloud SQL Auth Proxy
C.Cutover planning with rollback
D.BigQuery Data Transfer Service
E.Database Migration Service (DMS)
AnswersA, C, D

Converts Teradata DDL and BTEQ scripts to BigQuery SQL.

Why this answer

Schema Conversion Tool (SCTS) is correct because it automates the conversion of Teradata-specific DDL, BTEQ scripts, and stored procedures into BigQuery-compatible SQL. This is critical for migrating 20 TB of data and complex BTEQ scripts without manual rewriting, reducing errors and accelerating the migration timeline.

Exam trap

A common mistake is assuming Database Migration Service (DMS) is a general-purpose tool for any database migration, but DMS on Google Cloud is limited to specific source-target pairs (e.g., MySQL/PostgreSQL to Cloud SQL) and does not support Teradata to BigQuery migrations.

37
Multi-Selectmedium

Your team wants to collect custom metrics from a .NET application running on Compute Engine and send them to Cloud Monitoring. Which TWO approaches are valid?

Select 2 answers
A.Configure the application to emit metrics to a StatsD daemon and configure Cloud Monitoring to scrape it
B.Use the Google.Cloud.Monitoring.V3 client library to call the metric API directly
C.Install the Stackdriver Monitoring agent and enable custom metrics
D.Use gcloud beta monitoring metrics create to define and write metrics from the application
E.Instrument the application with OpenTelemetry .NET SDK and configure the Google Cloud exporter
AnswersB, E

Correct. The client library allows programmatic creation and writing of custom metrics.

Why this answer

Valid approaches: (1) Use the OpenTelemetry .NET SDK to instrument the application and export metrics to Cloud Monitoring via the Google Cloud exporter. (2) Use the Google.Cloud.Monitoring.V3 client library to write custom metrics directly via the Monitoring API. The other options are invalid: Stackdriver client is deprecated, StatsD is not directly supported by Cloud Monitoring, and gcloud commands are for administration, not application-level metric writing.

38
MCQmedium

You have a Memorystore for Redis instance that serves as a session store for a web application. The instance is running low on memory and is approaching the maxmemory limit. You want to ensure that the least recently used keys are evicted first when memory is full. Which eviction policy should you configure?

A.allkeys-lru
B.noeviction
C.volatile-lru
D.volatile-ttl
AnswerC

Volatile-lru evicts least recently used keys among those with an expire set. Sessions usually have TTL, so this is the correct policy.

Why this answer

The volatile-lru policy evicts keys with an expire set (TTL) using the LRU algorithm. For a session store, sessions typically have a TTL, so volatile-lru is appropriate. allkeys-lru would evict any key regardless of TTL, which might remove important keys. noeviction would cause write errors when memory is full. volatile-ttl evicts based on TTL, not LRU.

39
MCQeasy

A DevOps team is deploying a web application on Google Kubernetes Engine (GKE) that experiences daily traffic spikes. They want to automatically adjust the number of pod replicas based on CPU utilization. Which Kubernetes resource should they use?

A.Horizontal Pod Autoscaler (HPA)
B.Cluster Autoscaler
C.PodDisruptionBudget
D.Vertical Pod Autoscaler (VPA)
AnswerA

HPA automatically scales the number of pod replicas based on observed CPU/memory utilization or custom metrics.

Why this answer

The Horizontal Pod Autoscaler (HPA) automatically scales the number of pod replicas based on resource utilization metrics like CPU or memory. The Vertical Pod Autoscaler (VPA) adjusts resource requests/limits, not replica count. Cluster Autoscaler adjusts node count, not pods.

PodDisruptionBudget controls voluntary disruptions.

40
MCQeasy

A company needs to store time-series sensor data with high write throughput (millions of writes per second) and low latency reads. Which database service should they choose?

A.Cloud Bigtable
B.Cloud SQL
C.Firestore
D.Cloud Spanner
AnswerA

Bigtable is optimized for high write throughput and low-latency reads, ideal for time-series data.

Why this answer

Cloud Bigtable is a fully managed, scalable NoSQL database designed for large analytical and operational workloads, handling millions of writes per second with consistent low-latency reads. It uses a distributed, replicated SSTable storage engine and is optimized for time-series data, making it ideal for high-throughput sensor ingestion.

Exam trap

Google Cloud often tests the misconception that Cloud Spanner's global scalability makes it suitable for all high-throughput workloads, but candidates overlook its transactional overhead and cost, which make it inappropriate for simple time-series writes at millions per second.

How to eliminate wrong answers

Option B is wrong because Cloud SQL is a relational database (MySQL, PostgreSQL, SQL Server) with limited write throughput (typically thousands of writes per second) and is not designed for high-velocity time-series data. Option C is wrong because Firestore is a document-oriented NoSQL database optimized for mobile and web apps with moderate throughput (up to 10,000 writes per second per database) and does not support the millions of writes per second required. Option D is wrong because Cloud Spanner is a globally distributed relational database with strong consistency and horizontal scaling, but its write throughput is limited by node count and transaction overhead, making it unsuitable for the extreme write volume of millions per second.

41
MCQhard

A Cloud Bigtable instance is experiencing high read latency due to hot spots. The operations team uses the Key Visualizer tool and identifies that a small set of row keys are being read disproportionately. Which action should they take to mitigate the hot spotting?

A.Increase the number of nodes in the Bigtable cluster to handle the load.
B.Change the storage type from HDD to SSD to improve performance.
C.Redesign the row key scheme to distribute the workload across more tablets.
D.Enable replication across multiple zones.
AnswerC

Row key design is critical. Using a hash or adding a salt prefix spreads reads across nodes.

Why this answer

Hot spotting in Cloud Bigtable is typically caused by a suboptimal row key design that concentrates read/write traffic on a small number of tablets. Redesigning the row key scheme to distribute the workload—for example, by adding a hash prefix or using a more granular key—spreads requests across multiple tablets, alleviating the hotspot. Key Visualizer explicitly identifies the skewed row keys, guiding the redesign effort.

Exam trap

A common mistake in Google Cloud exams is to think that adding nodes or changing storage type can fix design-level hotspots, when in fact the correct action is always to address the data distribution pattern at the row key level using the Key Visualizer results.

How to eliminate wrong answers

Option A is wrong because increasing the number of nodes adds more compute and storage capacity but does not fix the underlying row key design flaw; the hotspot will persist on the same tablets, and additional nodes may even exacerbate the imbalance. Option B is wrong because changing storage from HDD to SSD improves I/O latency but does not address the root cause of uneven data distribution; the hotspot will still concentrate reads on a few tablets. Option D is wrong because enabling replication across zones provides high availability and disaster recovery, but it does not redistribute the row key load; the same hot row keys will still be read disproportionately in each replica.

42
Multi-Selectmedium

A retail company uses Cloud Bigtable for real-time inventory. They want to improve read performance for queries that filter by product category and last_updated timestamp. Which THREE row key design strategies should they adopt? (Choose 3)

Select 3 answers
A.Use a reverse timestamp for time-based queries
B.Promote product_category to the first part of the row key
C.Use a monotonically increasing timestamp as the first component
D.Store all data in a single column family
E.Add a hash prefix (salting) to distribute writes
AnswersA, B, E

Reverse timestamp enables efficient queries for recent data.

Why this answer

Field promotion places frequently filtered attributes first. Salting with hash prefix distributes writes. Reverse timestamp ensures recent data is efficiently queried.

A single monotonically increasing timestamp causes hotspots. Using a single column family doesn't affect row key.

43
Multi-Selectmedium

Which THREE are considerations when designing a schema for Cloud Firestore?

Select 3 answers
A.Use subcollections to organize related data
B.Avoid large arrays to prevent document size limits
C.Denormalize data to reduce the need for joins
D.Use nested maps for deeply structured data
E.Always use transactional writes to ensure consistency
AnswersA, B, C

Subcollections enable scalable data modeling.

Why this answer

Subcollections in Cloud Firestore allow you to organize related data hierarchically within a document, enabling efficient queries and scalability without hitting the 1 MiB document size limit. This structure is ideal for data like user posts or product reviews, where each subcollection can grow independently.

Exam trap

A common trap in Google exams is the misconception that nested maps are a good alternative to subcollections for deeply structured data, but they ignore Firestore's indexing and size limitations that make subcollections the correct choice for scalability.

44
MCQhard

An analyst writes a SQL query that joins a fact table with multiple dimension tables. The query runs slowly due to shuffling. Which optimization technique should be applied?

A.Cluster the fact table on the dimension join keys.
B.Use a subquery in the FROM clause to pre-aggregate.
C.Use a LIMIT clause to restrict rows.
D.Use a window function to precompute values.
AnswerA

Clustering on join keys minimizes data movement.

Why this answer

Shuffling occurs when data must be redistributed across nodes during joins, often because the join keys are not co-located. Clustering the fact table on the dimension join keys physically co-locates rows with the same join key values, minimizing data movement during the join. This is a direct optimization for shuffle-heavy workloads in distributed SQL engines like Spark SQL or Hive.

Exam trap

Google Cloud often tests the misconception that reducing row count (via aggregation or LIMIT) solves shuffle performance, when the real bottleneck is data movement across nodes during the join itself.

How to eliminate wrong answers

Option B is wrong because pre-aggregating in a subquery reduces row count but does not address the root cause of shuffling during the join; the join still requires redistribution unless the subquery result is small enough to broadcast. Option C is wrong because a LIMIT clause only restricts the final output rows, not the intermediate data shuffled during the join; the full join still executes. Option D is wrong because window functions operate on already partitioned data and do not reduce shuffling; they can even introduce additional shuffles if the PARTITION BY clause differs from the join keys.

45
MCQhard

Your Cloud Bigtable instance is experiencing hot spots, causing performance degradation. You want to identify the specific row keys causing the hot spots. Which tool should you use?

A.Cloud Monitoring dashboard
B.Key Visualiser
C.cbt command-line tool
D.Cloud Logging
AnswerB

Key Visualiser is specifically designed to detect hot spots by showing traffic distribution across row keys.

Why this answer

Key Visualiser is a Cloud Bigtable tool that visualises read/write traffic across the row key space, helping identify hot spots (rows with disproportionate traffic). Cloud Monitoring provides overall metrics but not row-level detail. Cloud Logging logs queries but not aggregated heat maps. cbt is the command-line tool for administrative tasks but does not provide visualisation.

46
Multi-Selectmedium

Which TWO actions can help reduce the number of read replicas needed for a Cloud SQL for PostgreSQL instance that serves a read-heavy workload?

Select 2 answers
A.Implement connection pooling to reuse database connections.
B.Enable synchronous replication on all read replicas.
C.Use smaller machine types for read replicas.
D.Use application-level caching (e.g., Redis) to cache frequent read results.
E.Increase the max_connections parameter on the primary instance.
AnswersA, D

Reduces connection overhead and improves replica efficiency.

Why this answer

Connection pooling reduces the overhead of establishing new database connections, which can consume significant CPU and memory resources on the primary instance. By reusing existing connections, the primary instance can handle more read requests without needing additional read replicas to offload the connection management load. This directly reduces the number of replicas required for a read-heavy workload.

Exam trap

Google Cloud often tests the misconception that increasing database parameters like max_connections or using synchronous replication directly reduces read replica requirements, when in fact these actions either increase resource consumption or do not address read offloading.

47
MCQmedium

During an incident, the incident commander notices that multiple teams are working on the same issue without coordination. Which structure should be implemented to improve incident response?

A.Use a chatbot to broadcast updates without a commander
B.Have each team work independently and report after resolution
C.Escalate to the VP of Engineering to make decisions
D.Assign a single incident commander to coordinate all teams
AnswerD

The incident commander delegates tasks and ensures coordinated response.

Why this answer

An incident command system (ICS) establishes a clear hierarchy with an incident commander who coordinates teams, assigns roles (e.g., operations lead, communications lead), and ensures focused response.

48
MCQeasy

A DevOps engineer wants to create a custom metric in Cloud Monitoring that represents the number of requests processed by a service, measured from the start of each request to its completion. The metric should increment by 1 for each request and must be queryable for the count in the last 24 hours. Which metric kind would best suit this requirement?

A.DELTA
B.COUNT
C.GAUGE
D.CUMULATIVE
AnswerD

CUMULATIVE metrics increase monotonically and allow querying the total count over any time range by using delta or rate calculations.

Why this answer

A CUMULATIVE metric measures a value that increases over time, such as a count of requests. It is appropriate when you want to know the total count up to a point in time, which can be queried for any time range (e.g., last 24 hours) by subtracting the start value from the end value. GAUGE represents a snapshot value that can go up and down, DELTA represents a rate per time interval but does not accumulate.

49
MCQmedium

A company is migrating from an on-premises Teradata data warehouse to BigQuery using the Schema Conversion Tool (SCTS). Which of the following is correctly handled by SCTS?

A.Converts stored procedures from Teradata PL/SQL to BigQuery SQL.
B.Converts Teradata BTEQ scripts to BigQuery SQL syntax.
C.Automatically re-partitions tables based on BigQuery best practices.
D.Migrates actual data rows from Teradata to BigQuery.
AnswerB

SCTS includes functionality to convert BTEQ scripts to BigQuery-compatible SQL.

Why this answer

SCTS can convert Teradata DDL (e.g., CREATE TABLE) to BigQuery SQL, and also helps convert BTEQ scripts (Teradata scripting language) to BigQuery SQL. However, it does not handle data migration or performance tuning.

50
Multi-Selectmedium

Which TWO metrics should you monitor in Cloud Monitoring to evaluate the performance of a Cloud Spanner instance? (Choose two.)

Select 2 answers
A.Row reads per second
B.Commit latency
C.Connection count
D.Disk IOPS
E.CPU utilization per node
AnswersB, E

Indicates write performance.

Why this answer

Commit latency is a critical metric for Cloud Spanner because it directly measures the time taken to commit a transaction, which reflects the database's ability to handle write operations efficiently. High commit latency can indicate contention, node overload, or suboptimal schema design, making it essential for performance evaluation.

Exam trap

Google Cloud often tests the misconception that throughput metrics like row reads per second or disk-level metrics like IOPS are meaningful for evaluating performance in a fully managed, distributed database like Cloud Spanner, where internal optimizations and abstractions make such metrics irrelevant.

51
MCQeasy

A developer wants to use a pre-existing Docker image from Artifact Registry in a Cloud Build step. How should they authenticate the build step to pull the image?

A.Run 'gcloud auth configure-docker' in a build step.
B.Set the environment variable 'ARTIFACT_REGISTRY_KEY' in the build step.
C.Store a service account key in Secret Manager and activate it in the build step.
D.Use a Docker step with the image specified directly; Cloud Build automatically uses its service account.
AnswerD

Cloud Build pulls images using its service account credentials.

Why this answer

Cloud Build's default service account is automatically granted the Artifact Registry Reader role (roles/artifactregistry.reader) when the Cloud Build API is enabled in a project. This means any build step that references an image from Artifact Registry can pull it without explicit authentication, as Cloud Build uses its own service account credentials to authenticate the pull request to the registry.

Exam trap

A common misconception is that explicit authentication (like running 'gcloud auth configure-docker' or using a service account key) is always needed to pull images from Artifact Registry. However, Cloud Build's default service account is automatically granted the Artifact Registry Reader role, so no explicit authentication is required.

How to eliminate wrong answers

Option A is wrong because 'gcloud auth configure-docker' configures Docker to use user or service account credentials for authentication, but it is unnecessary in Cloud Build since the environment already uses the Cloud Build service account automatically; running it in a build step would be redundant and could cause confusion. Option B is wrong because there is no standard environment variable named 'ARTIFACT_REGISTRY_KEY' in Cloud Build or Docker; Artifact Registry authentication relies on OAuth2 tokens or service account keys, not a single environment variable. Option C is wrong because while storing a service account key in Secret Manager and activating it in a build step is a valid pattern for other scenarios, it is unnecessary overhead for pulling images from Artifact Registry in Cloud Build, as the default service account already has the required permissions.

52
Multi-Selecthard

An online payment processing system uses Cloud SQL for MySQL with a 1 TB database. The system experiences high write throughput (~5000 writes/sec) and needs sub-10ms latency. The current instance has 8 vCPUs and 32 GB RAM. Which two metrics would indicate that the instance needs a larger tier? (Choose TWO.)

Select 2 answers
A.Memory usage is 50% of 32 GB.
B.CPU utilization consistently above 80%.
C.Disk IOPS is consistently reaching the instance's I/O limit.
D.Average query latency of 5 ms.
E.Network traffic is 100 Mbps.
AnswersB, C

High CPU indicates need for more vCPUs.

Why this answer

Sustained CPU utilization above 80% indicates the instance is compute-bound, which can lead to queuing and increased latency for write operations. In Cloud SQL for MySQL, high CPU usage often means the instance lacks sufficient vCPUs to handle the write throughput, necessitating a larger tier with more CPU cores.

Exam trap

Google Cloud often tests the misconception that high memory usage or low latency alone indicates a need for a larger tier, but the key metrics are CPU saturation and I/O limit exhaustion, which directly impact write throughput and latency.

53
MCQeasy

An SRE team wants to define an SLI for service availability. Which metric correctly represents the availability SLI?

A.Total requests that succeed / Total requests
B.Total requests that complete within 200 ms / Total requests
C.Total minutes the service is up / Total minutes in the window
D.Number of requests that return a 5xx status code
AnswerA

Correct definition of availability SLI.

Why this answer

Availability as an SLI is measured as the proportion of successful requests to total requests. Option A correctly defines this as 'Total requests that succeed / Total requests'. Option B is incorrect because it measures latency (response time within 200 ms), not availability.

Option C is a measure of uptime, not service availability from the user's perspective. Option D only counts errors, which is not a ratio.

54
MCQeasy

Your company runs a business intelligence (BI) dashboard on BigQuery that refreshes every hour. The dashboard queries are complex with multiple JOINs and aggregations. Recently, the queries started taking longer than 30 minutes, causing timeouts. You check the BigQuery monitoring and see that the slot utilization consistently reaches 100% during the dashboard refresh. The project uses a flat-rate pricing model with 1000 slots. Other team members run ad-hoc queries during the same period. What is the most effective action to improve the dashboard performance?

A.Create a separate reservation for the dashboard queries with a baseline of 500 slots and use a low priority job queue for ad-hoc queries.
B.Rewrite the dashboard queries to use fewer joins and aggregations.
C.Increase the total number of slots to 2000 to provide more capacity for all queries.
D.Schedule the dashboard refresh to run at a different time when ad-hoc usage is low.
AnswerA

Dedicated slots guarantee resources for the dashboard regardless of other jobs.

Why this answer

Creating a separate reservation for the dashboard queries with a baseline of 500 slots ensures that the critical BI dashboard always has guaranteed compute capacity, preventing starvation by ad-hoc queries. Using a low-priority job queue for ad-hoc queries allows them to use any remaining idle slots without interfering with the dashboard's reserved slots. This directly addresses the 100% slot utilization and timeout issue without requiring query rewrites or schedule changes.

Exam trap

Google Cloud often tests the misconception that simply adding more resources (slots) or rewriting queries is the best solution, when in fact proper resource governance through reservations and priority queues is the most effective and scalable approach for mixed workloads.

How to eliminate wrong answers

Option B is wrong because rewriting queries to use fewer joins and aggregations might reduce complexity but does not guarantee performance improvements if the underlying slot contention is the root cause; it also requires significant development effort and may not fully resolve timeouts under high concurrency. Option C is wrong because simply increasing total slots to 2000 does not prioritize the dashboard queries; ad-hoc queries could still consume all slots, leading to the same contention and timeout issue. Option D is wrong because scheduling the dashboard refresh at a different time only avoids the conflict temporarily and does not solve the fundamental slot contention problem; it also may not be feasible if the dashboard requires hourly updates.

55
MCQmedium

A company uses Cloud SQL for PostgreSQL and needs to enable point-in-time recovery (PITR) with a retention period of 14 days. Currently, automated backups are configured with a 7-day retention. What should the engineer do to meet this requirement?

A.Increase the backup retention period to 14 days; PITR is automatically extended.
B.Set the 'transaction log retention' to 14 days in the Cloud SQL instance settings.
C.Note that Cloud SQL for PostgreSQL only supports up to 7 days of PITR retention; consider exporting logs to Cloud Storage for longer recovery.
D.Enable binary logging and set the binary log retention to 14 days.
AnswerC

Correct. The maximum PITR retention is 7 days. For longer retention, export logs to Cloud Storage and use custom scripts for recovery.

Why this answer

Cloud SQL PITR is based on write-ahead log (WAL) archiving. The transaction log retention is set via the 'transaction log retention' setting, not the backup retention. PITR for PostgreSQL in Cloud SQL supports up to 7 days of log retention; 14 days is not supported.

The engineer must accept the limitation or use a different approach.

56
MCQmedium

A Cloud Bigtable instance is experiencing high latency on reads. The operations team suspects a hot spot. Which tool should they use to identify the hot spot?

A.Stackdriver Debugger
B.Bigtable cbt tool
C.Key Visualiser
D.Cloud Monitoring dashboard
AnswerC

Correct. Key Visualiser provides a heatmap of row key access patterns to detect hot spots.

Why this answer

Key Visualizer is the correct tool because it is specifically designed to visualize access patterns in Cloud Bigtable and identify hot spots—regions of a table that receive disproportionate read/write traffic. It generates heatmaps of row key access, allowing operators to pinpoint uneven load distribution that causes high latency.

Exam trap

The PCDOE exam often tests the distinction between general monitoring tools (Cloud Monitoring) and purpose-built diagnostic tools (Key Visualizer), trapping candidates who assume any monitoring dashboard can identify hot spots without row-key-level granularity.

How to eliminate wrong answers

Option A is wrong because Stackdriver Debugger is used for inspecting application code state in production, not for analyzing Bigtable access patterns or hot spots. Option B is wrong because the Bigtable cbt tool is a command-line interface for reading/writing data and managing tables, but it does not provide visualization or analysis of access patterns to identify hot spots. Option D is wrong because Cloud Monitoring dashboard provides metrics like latency and throughput but lacks the row-key-level heatmap visualization needed to pinpoint specific hot spot row ranges.

57
Multi-Selecteasy

A company wants to optimize costs for their Compute Engine instances. They have a mix of workloads: some are fault-tolerant batch jobs, and others are stateful services requiring consistent uptime. Which two strategies should they use to reduce costs? (Choose two.)

Select 2 answers
A.Use committed use discounts for the stateful services
B.Enable node auto-provisioning in GKE
C.Use preemptible VMs for the batch jobs
D.Replace all instances with larger machines to reduce total instance count
E.Use CPU always on for all instances
AnswersA, C

Committed use discounts provide up to 70% discount for predictable workloads.

Why this answer

Preemptible VMs are cheaper and ideal for fault-tolerant batch jobs. Committed use discounts (1 or 3 years) offer significant savings for stateful services that run continuously. Active Assist recommendations help right-size instances.

Using larger instances with fewer VMs may not always save costs. CPU always on is a Cloud Run setting, not relevant to Compute Engine cost optimization.

58
Matchingmedium

Match each Cloud Spanner concept to its definition.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Automatic data distribution across nodes

Global clock service for external consistency

Parent-child table with co-located rows

Read with guaranteed latest data

Read with bounded staleness for lower latency

Why these pairings

These are key concepts for understanding Spanner's architecture and consistency.

59
MCQmedium

A company is using Cloud Deploy with a delivery pipeline that has dev, staging, and prod targets. They want to require manual approval before deploying to prod. What should they add?

A.Set up a Cloud Function to send approval email
B.Use Binary Authorization
C.Configure a 'requireApproval' property on the prod target
D.Add a rollout policy
AnswerC

Setting requireApproval to true on a target makes the pipeline pause for manual approval before deploying to that target.

Why this answer

Cloud Deploy supports approval gates: you can define a manual approval step in the delivery pipeline that must be approved before proceeding to the next target.

60
MCQeasy

A Cloud Run service handles HTTP requests that each involve a short background task after the response is sent. The service currently has CPU throttled when not handling requests, causing background tasks to fail. Which configuration change ensures background tasks complete?

A.Set concurrency to 1
B.Set execution environment to gen2
C.Set min instances to 1
D.Set CPU to 'always on'
AnswerD

CPU always on prevents throttling, allowing background tasks to run even when no request is being served.

Why this answer

Setting CPU to 'always on' prevents Cloud Run from throttling CPU when the container is not actively serving a request, allowing background tasks to complete. Min instances reduce cold starts but don't affect CPU throttling. Concurrency controls request handling.

Execution environment gen2 offers higher memory but doesn't change CPU throttling behavior.

61
MCQhard

A team uses Terraform with remote state stored in a GCS bucket. They are implementing policy as code using Conftest to validate Terraform plans before apply. The Conftest checks run in a CI/CD pipeline. Which approach ensures that Conftest policies are enforced consistently across all Terraform workspaces?

A.Use Terraform Cloud's Sentinel policies instead of Conftest, as they are more integrated.
B.Create a separate Git repository for Conftest policies. In the CI/CD pipeline, clone this repo and run conftest test against the Terraform plan.
C.Embed Conftest policies directly into the Terraform modules using JSON files.
D.Store Conftest policies in each Terraform workspace's directory and reference them in the pipeline configuration.
AnswerB

A centralized policy repository ensures all workspaces use the same up-to-date policies.

Why this answer

Conftest uses Rego policies. To enforce consistently, the policies should be version-controlled in a separate repository and the CI/CD pipeline should fetch the latest policy bundle before running tests. Using a centralized policy repo ensures all workspaces are checked against the same rules.

62
MCQmedium

An engineer wants to automatically group similar error messages from an application and track trends, with the ability to link from an error to the corresponding log entries and trace. Which Google Cloud service should they use?

A.Error Reporting
B.Cloud Logging with log-based metrics
C.Cloud Trace
D.Cloud Monitoring with custom dashboards
AnswerA

Error Reporting automatically groups exceptions, shows trends, and links to logs/traces.

Why this answer

Error Reporting automatically groups errors, shows trends, and integrates with Cloud Logging and Cloud Trace for full context.

63
MCQeasy

An organization is migrating a MySQL database to Cloud SQL using Database Migration Service (DMS). They need to ensure minimal downtime and continuous replication of changes from the source. Which type of migration job should they create?

A.Batch migration job
B.One-time migration job
C.Continuous migration job (CDC)
D.Snapshots-only job
AnswerC

Continuous migration jobs replicate changes in real-time, minimizing downtime during cutover.

Why this answer

Continuous (CDC) migration jobs replicate ongoing changes after the initial dump, allowing minimal downtime during cutover. One-time jobs only perform a full dump and import without ongoing replication.

64
Multi-Selecthard

A financial services company is designing a Cloud Spanner schema for a trading system. They have two main entities: 'accounts' and 'transactions'. Each account has many transactions, and queries almost always retrieve transactions for a specific account. Which TWO schema design strategies should they employ?

Select 2 answers
A.Use a secondary index on transactions.account_id.
B.Ensure the primary key of transactions includes the account_id as the first part.
C.Define a foreign key constraint from transactions to accounts.
D.Store transactions as a JSON array of repeating fields within the account record.
E.Use an interleaved table hierarchy with accounts as parent and transactions as child.
AnswersB, E

This is required for interleaved tables: the child's primary key must start with the parent's primary key.

Why this answer

Cloud Spanner distributes rows across splits based on the primary key prefix. By making `account_id` the first part of the transactions table primary key, all transactions for a given account are co-located, enabling efficient range scans and point lookups without cross-node shuffling.

Exam trap

Google Cloud often tests the misconception that secondary indexes are the default solution for filtering, when in Cloud Spanner the primary key design and interleaving are the preferred strategies for performance and cost efficiency.

65
Multi-Selectmedium

A company is running a Cloud SQL for MySQL instance and needs to create a read replica in a different region for disaster recovery. They also want to be able to promote the replica to a standalone instance if needed. Which three steps should they take? (Choose THREE.)

Select 3 answers
A.Enable binary logging on the primary instance
B.Set the replica's database flags to enable read-only mode
C.Use gcloud sql instances create <replica-name> --master-instance-name <primary> --region <target-region>
D.Run gcloud sql instances promote-replica <replica-name> to promote it
E.Create the replica in the same region as the primary
AnswersA, C, D

Binary logging must be enabled for replication.

Why this answer

Cross-region replicas are created using the gcloud command with the --region flag and the --master-instance-name pointing to the primary. After creation, replication must be verified. If needed, the replica can be promoted using gcloud sql instances promote-replica.

66
MCQmedium

Refer to the exhibit. After creating this Bigtable instance, the administrator noticed high read latency during peak hours. Which configuration change would most likely help?

A.Change cluster-storage-type to HDD
B.Increase cluster-num-nodes to at least 5
C.Add more clusters in different zones
D.Increase cluster-autoscaling-max-nodes to 20
AnswerB

More nodes increase the read throughput capacity, reducing latency during peak times.

Why this answer

Increasing the number of nodes in the Bigtable cluster (option B) directly improves read throughput by distributing the read load across more tablet servers. High read latency during peak hours typically indicates that the existing nodes are saturated, and adding nodes reduces per-node load, lowering overall latency. This is the most direct and effective configuration change for addressing read latency in a single-cluster setup.

Exam trap

Google often tests the distinction between autoscaling limits and actual node count, tricking candidates into thinking increasing the maximum will instantly solve performance issues, when in fact the cluster must first scale up to that limit.

How to eliminate wrong answers

Option A is wrong because changing the cluster storage type to HDD would significantly increase read latency due to HDD's much slower random I/O compared to SSD, making the problem worse. Option C is wrong because adding more clusters in different zones primarily improves availability and disaster recovery, not read latency for a single workload; it does not reduce the load on the existing cluster's nodes. Option D is wrong because increasing cluster-autoscaling-max-nodes to 20 only raises the upper limit for autoscaling but does not force the cluster to add nodes; without a corresponding increase in actual node count, it has no effect on current latency.

67
MCQmedium

You are troubleshooting a Cloud SQL read replica that is experiencing high replication lag. You check the 'replication_lag' metric and see it is consistently above 60 seconds. What is the most likely cause of this lag?

A.The replica's automatic storage increase is disabled.
B.The replica has point-in-time recovery enabled.
C.The primary instance has a heavy write workload.
D.The replica is using a different storage type than the primary.
AnswerC

A heavy write load on the primary generates more changes than the replica can apply, causing lag.

Why this answer

High replication lag in Cloud SQL is most commonly caused by a heavy write workload on the primary instance. When the primary processes a large volume of write operations (e.g., INSERT, UPDATE, DELETE), the replica must replay those changes from the binary log, and if the rate of writes exceeds the replica's ability to apply them, lag accumulates. This is a fundamental behavior of MySQL asynchronous replication, where the replica is always slightly behind the primary under load.

Exam trap

A common pitfall is assuming replication lag is caused by replica configuration issues (like storage or PITR) rather than the primary's write-heavy workload, which is the most direct and common cause in Cloud SQL.

How to eliminate wrong answers

Option A is wrong because disabling automatic storage increase on the replica does not directly cause replication lag; it only prevents the replica from automatically expanding its disk when storage runs low, which could lead to replica failure or read-only mode, not lag. Option B is wrong because enabling point-in-time recovery (PITR) on the replica does not cause replication lag; PITR uses transaction logs for backup purposes and does not interfere with the replication process. Option D is wrong because using a different storage type (e.g., SSD vs.

HDD) on the replica may affect read performance but does not inherently cause replication lag, as Cloud SQL replicas can use different storage types without impacting the replication stream.

68
MCQhard

A DevOps team is using Terraform to manage infrastructure. They have a module that creates a Cloud Storage bucket. They want to reference the bucket's URL in another part of the configuration without hardcoding. Which approach should they use?

A.Use a shared Terraform workspace to access the bucket across configurations.
B.Use Terraform outputs and a remote state data source to read the bucket URL from the state of the configuration that created it.
C.Use a Terraform data source for the bucket, such as google_storage_bucket.
D.Store the bucket URL in a variable and pass it manually.
AnswerB

Remote state data sources allow you to fetch outputs from another Terraform state, enabling cross-configuration references.

Why this answer

Terraform remote state data sources allow one configuration to read outputs from another configuration's state file stored in a backend like GCS.

69
MCQhard

An organization wants to restrict the creation of Compute Engine instances in their Google Cloud organization to only certain regions. Which organization policy constraint should they use?

A.constraints/gcp.resourceLocations
B.compute.requireShieldedVm
C.constraints/compute.vmExternalIpAccess
D.iam.allowedPolicyMemberDomains
AnswerA

This is the correct constraint to limit the allowed locations for resource creation.

Why this answer

The resourceLocations constraint is used to restrict where resources can be created. It can be applied at any level of the resource hierarchy.

70
Multi-Selecthard

A team uses Cloud Deploy to manage deployments to GKE across dev, staging, and prod. They want to implement a canary deployment strategy that automatically progresses based on latency metrics and includes a manual approval step before the full rollout. Which three Cloud Deploy features should they use together?

Select 3 answers
A.Blue/green strategy
B.Canary deployment strategy
C.SLO-based verification
D.Automated rollback
E.Manual approval gate
AnswersB, C, E

Required for the progressive rollout pattern.

Why this answer

Cloud Deploy's canary deployment strategy allows you to progressively shift traffic to a new version, which aligns with the requirement for a gradual rollout. Option C is correct because SLO-based verification uses latency metrics (e.g., from Cloud Monitoring) to automatically determine whether the canary should progress, meeting the need for automated progression based on latency. Option E is correct because a manual approval gate can be inserted before the final full rollout, satisfying the requirement for a manual approval step.

Exam trap

The trap here is that candidates confuse 'automated rollback' (a reactive failure-handling feature) with 'automated progression' (a proactive verification step), and they may incorrectly select blue/green because they think it supports canary-like traffic shifting, whereas Cloud Deploy's blue/green does not support phased traffic increases.

71
Multi-Selectmedium

A company is designing a Cloud Bigtable schema for time-series data. The data is written by millions of devices every second. The query patterns are: (1) retrieve the most recent reading for a specific device, (2) retrieve all readings for a device in a time range. Which TWO row key design techniques should the team use to optimize for these patterns? (Choose two.)

Select 2 answers
A.Use salting (hash prefix) to distribute writes
B.Use field promotion: put device_id as the first component of the row key
C.Use a reverse timestamp (e.g., MAX_TIMESTAMP - timestamp) as part of the row key
D.Use a monotonically increasing timestamp as the first part of the row key
E.Store the entire row as a single column family to reduce overhead
AnswersB, C

Field promotion ensures that queries for all readings of a device can use a prefix scan.

Why this answer

Using a reverse timestamp allows the most recent data to be at the beginning of the row key, making scans for the latest reading efficient. Field promotion ensures that device_id comes first in the row key, enabling efficient prefix scans for all readings of a device. Salting is not needed because device_id already distributes writes if there are many devices.

72
MCQeasy

Which tool is best for identifying hot spots in a Cloud Spanner database?

A.Query Insights
B.Key Visualizer
C.Cloud Trace
D.Cloud Monitoring
AnswerB

Key Visualizer provides heatmaps of key access patterns, helping identify hot spots.

Why this answer

Key Visualizer is the correct tool because it is specifically designed to visualize access patterns in Cloud Spanner and identify hot spots—keys or ranges that receive a disproportionate share of reads or writes. Unlike generic monitoring tools, Key Visualizer provides a heatmap of key-space activity, enabling you to pinpoint and mitigate performance bottlenecks caused by uneven distribution of workload across splits.

Exam trap

Google Cloud often tests the distinction between performance monitoring tools by presenting Cloud Monitoring or Query Insights as plausible answers, but the trap is that candidates overlook Key Visualizer's unique purpose of visualizing key-space access patterns specifically for Cloud Spanner hot spot detection.

How to eliminate wrong answers

Option A is wrong because Query Insights focuses on analyzing query performance, such as latency and execution plans, not on visualizing key-level access patterns to detect hot spots. Option C is wrong because Cloud Trace is a distributed tracing tool for latency analysis of requests across services, not for identifying hot keys in a database. Option D is wrong because Cloud Monitoring provides metrics and alerting for overall system health and performance, but lacks the key-space heatmap visualization required to pinpoint hot spots in Cloud Spanner.

73
Multi-Selectmedium

A company runs a Cloud Bigtable instance with two clusters in separate regions for disaster recovery. They want to ensure that read requests automatically use the secondary cluster if the primary cluster becomes unhealthy. Which two steps should they take? (Choose two.)

Select 2 answers
A.Change the routing policy to 'cluster-group routing' (any-replica)
B.Ensure the application uses the 'any-replica' routing policy in the client configuration
C.Set up a load balancer in front of Bigtable instances
D.Create a third cluster in a third region for quorum
E.Configure Cloud DNS with a health check that points to the secondary cluster
AnswersA, B

Cluster-group routing automatically sends reads to any available cluster, providing failover.

Why this answer

To enable automatic failover for reads in Bigtable, you need to use a routing policy that distributes reads across clusters. The 'cluster-group routing' (also called 'any-replica' routing) automatically routes requests to the nearest healthy cluster. Additionally, you must configure the application to use this routing policy.

Alternatively, you can use a load balancer with health checks, but that is not native to Bigtable. The correct native approach is to use cluster-group routing and ensure the application uses it.

74
Multi-Selectmedium

A company is using Cloud SQL for MySQL and wants to perform disaster recovery testing by promoting a read replica to a standalone instance. Which TWO actions are required? (Choose 2)

Select 2 answers
A.Stop replication on the replica using the Cloud Console or gcloud.
B.Delete the replica and recreate it as a primary instance.
C.Enable point-in-time recovery on the replica.
D.Disable binary logging on the replica.
E.Promote the replica using the 'promote' action in Cloud Console or gcloud.
AnswersA, E

Correct. Replication must be stopped before promotion.

Why this answer

To promote a read replica to a standalone instance, you must stop replication on the replica and then promote it. The promotion process converts the replica into an independent primary instance.

75
Multi-Selectmedium

A team wants to use OpenTelemetry to collect metrics, traces, and logs from their applications running on GKE. They plan to use the OTel Collector. Which TWO components should they configure in the Collector pipeline? (Choose 2)

Select 2 answers
A.Configure a receiver (e.g., OTLP receiver) to ingest telemetry from applications
B.Configure a processor to transform data
C.Configure an exporter for Cloud Monitoring (metrics)
D.Configure an exporter for Cloud Logging (logs)
E.Configure a sampler to reduce trace data volume
AnswersA, C

The receiver is the entry point for telemetry data.

Why this answer

The OTel Collector pipeline consists of receivers (data ingestion), processors (optional), and exporters (data output). For this scenario, they need a receiver to accept data and exporters to send to Google Cloud.

Page 1 of 20

Page 2