Courseiva

CCNA Google Cloud Products Services And Solutions Questions

16 of 91 questions · Page 2/2 · Google Cloud Products Services And Solutions topic · Answers revealed

76
MCQmedium

A data analytics team uses BigQuery for large-scale queries. They notice that queries are scanning more data than necessary, leading to high costs. Which feature should they implement to reduce the amount of data scanned per query?

A.Materialized views
B.Streaming inserts
C.Partitioning
D.Clustering
AnswerC

Partitioning divides a table into separate storage segments based on a specified column, commonly a date or timestamp, and BigQuery performs partition pruning during query execution. When a query's WHERE clause filters on the partition column, the engine avoids scanning partitions that fall outside the filter, directly reducing the bytes processed and thereby lowering query cost. This is a native, deterministic way to limit scan size and is especially effective for large, time-series tables.

Why this answer

Partitioning divides a table into segments based on a column (e.g., date), allowing BigQuery to prune partitions during query execution. When a query includes a filter on the partitioning column, BigQuery scans only the relevant partitions, significantly reducing the bytes processed and lowering costs.

Exam trap

Google Cloud often tests the distinction between partitioning (which reduces data scanned by pruning entire segments) and clustering (which only reorganizes data within partitions for better compression and filtering, but does not reduce the total data scanned unless combined with partitioning).

How to eliminate wrong answers

Option A is wrong because materialized views precompute and cache query results for faster performance, but they do not reduce the amount of raw data scanned per query; they may even increase storage costs. Option B is wrong because streaming inserts are used for real-time data ingestion into BigQuery, not for controlling data scan volume during queries. Option D is wrong because clustering sorts data within partitions based on column values, improving query performance and reducing costs only after partitioning is applied; without partitioning, clustering alone does not limit the total data scanned.

77
MCQhard

A financial services company needs a managed data warehouse that can ingest streaming transaction data in real time AND support complex SQL analytics across years of historical data — all without managing any infrastructure. Which Google Cloud product meets both streaming ingest and analytical query requirements in a single serverless service?

A.Cloud Bigtable for streaming ingest and BigQuery for historical analytics — two separate services
B.BigQuery, which supports real-time streaming ingest via its Storage Write API and large-scale analytical SQL queries across petabytes of data in a single fully managed, serverless service
C.Cloud SQL with read replicas — one instance for streaming writes, read replicas for analytical queries
D.Cloud Dataflow running continuously to process the stream and load to Persistent Disk for SQL queries
AnswerB

BigQuery meets both requirements natively. The Storage Write API (and legacy streaming API) enables sub-minute data availability for analytics. BigQuery's distributed query engine handles analytical SQL across petabytes. No infrastructure to manage, no separate streaming and analytical systems to maintain.

Why this answer

BigQuery is a fully managed, serverless data warehouse that supports real-time streaming ingest via the Storage Write API and enables complex SQL analytics across petabytes of historical data. This single service meets both requirements without any infrastructure management, unlike the other options that require separate services or manual orchestration.

Exam trap

Google Cloud often tests the misconception that streaming ingest and analytical querying require separate services, leading candidates to overlook BigQuery's unified serverless capability in favor of multi-service architectures like Cloud Bigtable plus BigQuery.

How to eliminate wrong answers

Option A is wrong because it proposes two separate services (Cloud Bigtable for streaming and BigQuery for analytics), which violates the requirement for a single serverless service and introduces operational complexity. Option C is wrong because Cloud SQL is a relational database not designed for petabyte-scale analytics or real-time streaming ingest at high throughput, and read replicas do not provide serverless, managed data warehousing. Option D is wrong because Cloud Dataflow is a stream processing service, not a data warehouse, and Persistent Disk is block storage that cannot natively support SQL analytics without additional compute and query engines.

78
Multi-Selecthard

A company uses Cloud Spanner for a global application. They need to ensure high availability and disaster recovery across regions. Which TWO actions should they take? (Choose 2)

Select 2 answers
A.Deploy the database in a single region with backups
B.Schedule regular backups using Cloud Spanner backup feature
C.Configure read replicas in a different region
D.Use Cloud Memorystore to cache database queries
E.Use a multi-region instance configuration
AnswersB, E

Scheduling regular backups with the Cloud Spanner backup feature is essential for disaster recovery because it protects against logical corruption, accidental deletion, or application errors that replication cannot mitigate. These backups are consistent and exportable to another instance, enabling point-in-time recovery within the backup's retention window (e.g., up to 35 days). Although backups do not provide immediate failover, they are a fundamental component of a data durability strategy and satisfy the specific ask in this scenario.

Why this answer

Cloud Spanner's built-in backup feature allows you to create consistent backups of your database without impacting performance, and these backups can be restored to a different region for disaster recovery. This provides a reliable way to recover from regional failures or data corruption, ensuring high availability and DR across regions.

Exam trap

Google Cloud often tests the misconception that read replicas or caching services like Memorystore can provide cross-region disaster recovery, but Cloud Spanner's architecture relies on synchronous multi-region replication and backups, not asynchronous replicas or external caches.

79
MCQmedium

A power utility company collects electricity meter readings from 10 million smart meters every 15 minutes — generating billions of rows of time-series data per year. They need to query this data to detect anomalies and patterns. Which Google Cloud database is optimized for this massive-scale time-series IoT data?

A.Cloud SQL (PostgreSQL)
B.Cloud Bigtable
C.Firestore
D.Cloud Storage (CSV files)
AnswerB

Cloud Bigtable is a fully managed, wide-column NoSQL database purpose-built for massive time-series workloads just like this—10 million meters × 96 readings/day yields ~960 million rows per day, and Bigtable can ingest millions of writes per second. By designing the row key as `meter_id` + `timestamp`, all readings for a meter are stored contiguously, enabling sub-millisecond range scans for anomaly detection. It stores data as unstructured key-value pairs, scales to petabytes seamlessly, and integrates with BigQuery for analytics, making it the clear choice.

Why this answer

Cloud Bigtable is a fully managed, scalable NoSQL database designed for large analytical and operational workloads, making it ideal for ingesting and querying high-throughput time-series data from millions of IoT devices. It supports sub-10ms latency on queries, automatic sharding, and seamless integration with Google Cloud's data analytics ecosystem (e.g., BigQuery, Dataflow), which is critical for detecting anomalies and patterns across billions of rows of meter readings.

Exam trap

The trap here is that candidates confuse 'time-series data' with 'relational data' and choose Cloud SQL (PostgreSQL) for its SQL familiarity, overlooking the need for massive horizontal scalability and high write throughput that only Bigtable provides.

How to eliminate wrong answers

Option A is wrong because Cloud SQL (PostgreSQL) is a relational OLTP database not optimized for the extreme write throughput and horizontal scaling required for billions of time-series rows; it would hit performance bottlenecks and storage limits. Option C is wrong because Firestore is a document-oriented NoSQL database designed for real-time mobile/web apps with moderate write rates, not for massive-scale IoT time-series ingestion and analytical queries. Option D is wrong because Cloud Storage with CSV files lacks native querying capabilities, indexing, and low-latency access needed for real-time anomaly detection; it would require additional services like BigQuery for analysis, adding latency and complexity.

80
MCQeasy

A data analytics team needs to analyze petabytes of structured data using SQL queries without managing any database infrastructure. Query results must return within seconds for most queries. Which Google Cloud service is designed for this use case?

A.Cloud SQL
B.BigQuery
C.Cloud Bigtable
D.Cloud Spanner
AnswerB

BigQuery is a serverless, petabyte-scale data warehouse that separates storage from compute, enabling independent scaling and on-demand pricing. Its columnar storage and massively parallel query engine, built on Dremel technology, allow fast SQL analytics on massive datasets with zero infrastructure management. This makes it the obvious choice for ad-hoc analysis and business intelligence, not transactional workloads.

Why this answer

BigQuery is a serverless, highly scalable data warehouse designed for analyzing petabytes of data using SQL without any infrastructure management. Its columnar storage and distributed query engine enable sub-second query performance on large datasets, making it ideal for this use case.

Exam trap

The GCDL exam often tests the distinction between OLTP (Cloud SQL, Cloud Spanner) and OLAP (BigQuery) services, and candidates may confuse Bigtable's NoSQL scalability with SQL analytics capabilities.

How to eliminate wrong answers

Option A is wrong because Cloud SQL is a managed relational database for OLTP workloads, not designed for petabyte-scale analytics or sub-second queries on massive datasets. Option C is wrong because Cloud Bigtable is a NoSQL wide-column database optimized for low-latency read/write operations on time-series or IoT data, not for complex SQL analytics on structured data. Option D is wrong because Cloud Spanner is a globally distributed relational database with strong consistency for transactional workloads, not a serverless analytics solution for petabyte-scale SQL queries.

81
MCQmedium

A company's analytics team wants to enable business users to create their own reports and dashboards from a governed set of BigQuery data, without writing SQL. At the same time, the data engineering team must maintain centralized control over how key metrics (like 'revenue' or 'active users') are defined. Which Google Cloud product architecture best meets both requirements?

A.Looker Studio connected directly to BigQuery, allowing each business user to create their own metric definitions
B.Looker with LookML semantic layer: data engineers centrally govern metric definitions in LookML, business users create self-service reports through Looker's interface using those governed definitions — no SQL required
C.Sharing BigQuery query templates with business users and training them to modify them for their reports
D.Building a custom web application that wraps BigQuery APIs and presents data to business users
AnswerB

Looker's LookML semantic layer is precisely designed for this dual requirement. Engineers write LookML once; it becomes the source of truth for metric definitions. Business users explore and report using a visual interface that always queries through LookML — guaranteed consistency, no SQL needed.

Why this answer

Looker with LookML provides a semantic layer where data engineers centrally define governed metric definitions (e.g., 'revenue' as SUM(price * quantity) with specific filters). Business users can then create self-service reports and dashboards via Looker's drag-and-drop interface without writing SQL, ensuring consistency and control over key metrics.

Exam trap

The trap here is that candidates may think Looker Studio (formerly Data Studio) is sufficient for self-service reporting, but they overlook the critical requirement for a governed semantic layer (LookML) to enforce centralized metric definitions, which Looker Studio alone does not provide.

How to eliminate wrong answers

Option A is wrong because Looker Studio connected directly to BigQuery allows each business user to create their own metric definitions, which violates the requirement for centralized control over how key metrics are defined. Option C is wrong because sharing BigQuery query templates and training users to modify them still requires users to write or edit SQL, and it does not provide a governed semantic layer to enforce consistent metric definitions. Option D is wrong because building a custom web application that wraps BigQuery APIs is a heavy engineering effort that duplicates functionality already provided by Looker's semantic layer, and it does not inherently enforce centralized metric governance without additional custom logic.

82
MCQhard

A healthcare organization needs to store and analyze large volumes of patient diagnostic imaging data (e.g., DICOM files) in Google Cloud. The data must be stored in a cost-effective manner for long-term retention, with the ability to query metadata and run analytics using SQL-like queries. Which combination of Google Cloud services best meets these requirements?

A.Cloud Storage (Standard) for images, Datastore for metadata
B.Cloud Storage (Archive) for images, Cloud Spanner for metadata
C.Cloud Storage (Nearline) for images, BigQuery for metadata analytics
D.Cloud Filestore for images, Cloud SQL for metadata
AnswerC

Cloud Storage Nearline offers a low storage price for data accessed less than once per quarter, with no minimum retention duration and reasonable retrieval costs, making it ideal for storing long-term medical images that are rarely retrieved but must be retained for compliance. BigQuery is a serverless, columnar data warehouse that supports standard SQL, enabling fast aggregation, JOINs, and full scans of metadata like accession numbers and timestamps without managing infrastructure. Its pay-per-query pricing and separation of storage from compute keep costs aligned with actual analytical usage, making this combination both cost-effective and analytically powerful.

Why this answer

Cloud Storage Nearline provides cost-effective long-term storage for large imaging files with retrieval flexibility, while BigQuery enables SQL-based analytics on metadata extracted from DICOM headers, meeting both retention and query requirements without the cost of standard storage or the complexity of transactional databases.

Exam trap

Google Cloud often tests the misconception that 'cost-effective long-term storage' must use Archive storage, ignoring that Nearline is sufficient for data accessed occasionally (e.g., quarterly analytics) and that BigQuery is the only service listed that provides native SQL analytics on metadata at scale.

How to eliminate wrong answers

Option A is wrong because Cloud Storage Standard is not cost-effective for long-term retention (higher per-GB cost than Nearline/Archive) and Datastore is a NoSQL document database optimized for transactional workloads, not for SQL-like analytics on large metadata sets. Option B is wrong because Cloud Storage Archive has the lowest storage cost but imposes retrieval delays (minutes to hours) unsuitable for frequent analytics, and Cloud Spanner is a globally distributed relational database designed for high-availability transactions, overkill and expensive for metadata querying. Option D is wrong because Cloud Filestore is a network-attached file system for high-performance computing workloads (e.g., NFSv3), not designed for object storage of DICOM files, and Cloud SQL is a relational database for OLTP, not for scalable analytics on large metadata volumes.

83
MCQeasy

A company wants its internal applications to be accessible via a custom domain name (e.g., `app.company.com`) that routes to their Google Cloud load balancer. Which Google Cloud service manages DNS records for this?

A.Cloud CDN — it manages domain names for cached content.
B.Cloud DNS
C.Cloud Load Balancing — it automatically assigns domain names.
D.Cloud Armor — it routes traffic based on domain names.
AnswerB

Cloud DNS is GCP's authoritative, managed DNS service that lets you create public or private zones and manage records like A, AAAA, and CNAME. To route app.company.com to a GCP load balancer, you add an A record mapping that hostname to the load balancer's static IPv4 address. Because Cloud DNS uses anycast routing, it provides fast, reliable resolution and is the correct service for custom domain name mapping.

Why this answer

Cloud DNS is the correct service because it is Google Cloud's managed DNS service that translates human-readable domain names (like app.company.com) into IP addresses. It allows you to create and manage DNS records (such as A, CNAME, or ALIAS records) that point your custom domain to the IP address or hostname of your Google Cloud load balancer, enabling traffic routing to your internal applications.

Exam trap

The trap here is confusing services that handle traffic (like Cloud Load Balancing or Cloud Armor) with the service that manages DNS records, leading candidates to pick a service that operates at a different layer of the network stack.

How to eliminate wrong answers

Option A is wrong because Cloud CDN is a content delivery network that caches content at edge locations to improve latency; it does not manage DNS records or domain name resolution. Option C is wrong because Cloud Load Balancing distributes traffic across backends but does not automatically assign or manage domain names; you must configure DNS separately to point a custom domain to the load balancer's IP or hostname. Option D is wrong because Cloud Armor is a web application firewall that provides security policies (e.g., IP allowlisting/denylisting, OWASP rules) and can filter traffic based on domain names, but it does not manage DNS records or domain name resolution.

84
MCQhard

A company runs a mission-critical PostgreSQL database on Google Cloud that must support automatic failover to a standby instance within 60 seconds if the primary instance fails, with minimal data loss. Which Cloud SQL configuration satisfies this high availability requirement?

A.Cloud SQL with automated daily backups, restoring from backup if the primary fails
B.Cloud SQL High Availability configuration with a synchronously replicated standby instance that automatically promotes to primary within approximately 60 seconds of primary failure
C.Cloud SQL read replicas in another region, manually promoted if the primary fails
D.Running a self-managed PostgreSQL cluster on Compute Engine VMs with a custom pacemaker/corosync HA setup
AnswerB

Cloud SQL HA is precisely the right answer. It maintains a standby instance in the same region with synchronous replication, automatically detects primary failure, and promotes the standby without manual intervention. Failover typically completes within 60 seconds, meeting the stated RTO with minimal data loss (synchronous replication means near-zero RPO).

Why this answer

Cloud SQL's High Availability (HA) configuration uses a synchronous replication mechanism between the primary and standby instances. This ensures that transactions are committed on both instances before being acknowledged, meeting the requirement for minimal data loss. In the event of a primary failure, the standby is automatically promoted to primary within approximately 60 seconds, satisfying the failover time requirement.

Exam trap

The trap here is that candidates may confuse read replicas (which are asynchronous and require manual promotion) with HA standby instances (which are synchronous and automatically promoted), or assume that automated backups can meet a strict 60-second RTO/RPO requirement.

How to eliminate wrong answers

Option A is wrong because restoring from automated daily backups cannot achieve a 60-second failover; recovery time would be much longer (minutes to hours) and data loss would include all changes since the last backup. Option C is wrong because Cloud SQL read replicas use asynchronous replication, which can result in significant data loss (seconds to minutes of transactions) and require manual promotion, failing both the automatic failover and minimal data loss requirements. Option D is wrong because while a self-managed Pacemaker/Corosync cluster could theoretically meet the requirements, it is not a Cloud SQL configuration and would require significant operational overhead, violating the premise of using a managed service; the question specifically asks for a Cloud SQL configuration.

85
MCQmedium

A team needs to process and analyze streaming data in real-time as it arrives from IoT sensors. The pipeline must apply transformations, filter events, and write results to BigQuery. Which Google Cloud service is designed for this stream processing use case?

A.Cloud Dataproc
B.Cloud Dataflow
C.Cloud Composer
D.BigQuery Streaming Insert
AnswerB

Cloud Dataflow is Google Cloud's fully managed implementation of Apache Beam, designed for both real-time stream processing and batch processing with a unified programming model. It ingests events from Pub/Sub, applies user-defined transforms (PTransforms) for enrichment, filtering, and aggregation, and writes results to BigQuery using connectors. Dataflow handles autoscaling, exactly-once processing, and event-time windowing automatically, making it the standard GCP service for building streaming pipelines that transform data before analysis.

Why this answer

Cloud Dataflow is the correct choice because it is a fully managed, serverless service designed specifically for stream and batch data processing. It uses Apache Beam as its programming model, enabling you to apply transformations, filter events, and write results to BigQuery in real-time, exactly matching the described pipeline requirements.

Exam trap

The GCDL exam often tests the distinction between data ingestion (BigQuery Streaming Insert) and data processing (Dataflow), leading candidates to mistakenly choose the streaming insert option because it contains the word 'streaming' and seems directly related to real-time data.

How to eliminate wrong answers

Option A is wrong because Cloud Dataproc is a managed Hadoop/Spark service optimized for batch processing and large-scale data analytics, not for real-time stream processing with built-in support for event-time windows and exactly-once semantics. Option C is wrong because Cloud Composer is a managed workflow orchestration service based on Apache Airflow, designed for scheduling and coordinating batch jobs, not for continuous stream processing. Option D is wrong because BigQuery Streaming Insert is a method for ingesting data into BigQuery in near real-time, but it does not provide the transformation, filtering, or pipeline processing capabilities required; it is a data ingestion endpoint, not a stream processing engine.

86
MCQeasy

A company needs to store large volumes of unstructured data (images, videos, backups, documents) with high durability and global accessibility. Which Google Cloud service is designed for object storage at any scale?

A.Persistent Disk
B.Cloud Storage
C.Cloud Filestore
D.Cloud Spanner
AnswerB

Cloud Storage is Google's fully managed, globally distributed object storage service designed for unstructured data such as images, videos, backups, and datasets. It stores objects as immutable blobs in buckets, with a flat namespace and HTTP/S APIs, enabling access from anywhere via standard web protocols. It offers 11 nines of annual durability (99.999999999%) through redundant storage across multiple locations, and its scalability and lifecycle management make it ideal for data lakes, content distribution, and archival storage.

Why this answer

Cloud Storage is Google Cloud's fully managed, scalable object storage service designed for unstructured data such as images, videos, backups, and documents. It offers high durability (99.999999999% annual durability) and global accessibility via a unified namespace, making it the correct choice for storing large volumes of unstructured data at any scale.

Exam trap

The GCDL exam often tests the distinction between block, file, and object storage services, leading candidates to confuse Persistent Disk (block) or Cloud Filestore (file) with object storage for unstructured data.

How to eliminate wrong answers

Option A is wrong because Persistent Disk provides block storage for Compute Engine instances, not object storage, and is designed for low-latency access to structured data rather than unstructured data at global scale. Option C is wrong because Cloud Filestore is a managed file storage service (NFS) for shared file systems, optimized for structured workloads like high-performance computing, not for object storage of unstructured data. Option D is wrong because Cloud Spanner is a globally distributed relational database service for transactional and analytical workloads, not an object storage solution for unstructured data.

87
MCQeasy

A company's DevOps team wants to orchestrate a complex workflow that involves calling multiple Google Cloud APIs in sequence — first running a Cloud Build job, then checking the results, then either deploying to Cloud Run or sending a notification. Which Google Cloud product is designed for orchestrating multi-step workflow logic?

A.Cloud Scheduler, which triggers a series of jobs at specified cron intervals
B.Google Cloud Workflows, which orchestrates multi-step processes by calling APIs in sequence with conditional logic, error handling, and state management
C.Cloud Pub/Sub, by publishing messages between pipeline stages to trigger each subsequent step
D.Cloud Run, by writing the orchestration logic as a container application that calls other services sequentially
AnswerB

Workflows is the purpose-built orchestration service. It defines steps that call Cloud Build API, evaluate results, and conditionally proceed to Cloud Run deployment or notification — exactly the described use case. It handles retries, parallelism, and state automatically.

Why this answer

Google Cloud Workflows is the correct choice because it is a fully managed orchestration platform specifically designed to define multi-step workflows that call Google Cloud APIs and external services in sequence. It supports conditional logic (e.g., if-then-else), error handling (e.g., retries with exponential backoff), and state management, making it ideal for the described scenario of running a Cloud Build job, checking results, and conditionally deploying to Cloud Run or sending a notification.

Exam trap

The trap here is that candidates confuse a simple trigger or messaging service (like Cloud Scheduler or Pub/Sub) with a full orchestration engine, overlooking the need for conditional logic and state management that only Google Cloud Workflows provides.

How to eliminate wrong answers

Option A is wrong because Cloud Scheduler is a cron-based job scheduler that triggers tasks at fixed intervals, not an orchestrator that can handle conditional branching, error handling, or stateful sequencing of API calls. Option C is wrong because Cloud Pub/Sub is a messaging service for asynchronous event-driven communication; while it can trigger subsequent steps, it lacks built-in orchestration features like conditional logic, error handling, and workflow state management, requiring custom code to implement the full workflow. Option D is wrong because Cloud Run is a serverless container runtime; writing orchestration logic as a container application would require manual implementation of sequencing, state management, and error handling, and it does not provide native workflow orchestration capabilities like Google Cloud Workflows does.

88
Multi-Selecteasy

A company wants to monitor its Google Cloud spending and receive alerts when costs exceed a threshold. Which two services should they use together?

Select 2 answers
A.Cloud Scheduler
B.Cloud Asset Inventory
C.Cloud Logging
D.Cloud Billing Budgets and Alerts
E.Cloud Monitoring
AnswersD, E

Cloud Billing Budgets and Alerts is the native GCP service for defining budget amounts at the billing account or project level and setting threshold rules (e.g., 50%, 90%, 100% of budget). It automatically sends notifications via email and Pub/Sub when thresholds are crossed, enabling proactive cost governance and integration with automation workflows. This is the primary, purpose-built tool for monitoring spending and receiving budget alerts.

Why this answer

Cloud Billing Budgets and Alerts (D) allows you to define a spending threshold and receive notifications when costs approach or exceed that limit. Cloud Monitoring (E) can ingest those budget alert events and trigger additional actions, such as sending notifications via email, SMS, or Pub/Sub, or integrating with incident management tools. Together, they provide a complete cost monitoring and alerting solution.

Exam trap

The trap here is that candidates often confuse Cloud Logging (which stores logs) or Cloud Scheduler (which runs jobs) with the actual billing alerting service, not realizing that Cloud Billing Budgets and Alerts is the dedicated service for cost thresholds and Cloud Monitoring is needed for centralized alert management.

89
Drag & Dropmedium

Drag and drop the steps to set up a Cloud CDN for a backend bucket in the correct order.

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 and prepare the bucket, then set up a load balancer, enable CDN, and test.

90
MCQeasy

A data analyst at a media company needs to run complex SQL queries on petabytes of user engagement data to produce weekly reports. The dataset is stored in Google Cloud. Which Google Cloud product is purpose-built for this type of large-scale analytical SQL workload?

A.Cloud SQL, Google Cloud's managed relational database service
B.BigQuery, Google Cloud's serverless data warehouse for petabyte-scale analytical SQL
C.Cloud Bigtable, Google's NoSQL wide-column database
D.Firestore, Google Cloud's serverless NoSQL document database
AnswerB

BigQuery is precisely designed for this use case. Its serverless architecture, columnar storage format, and distributed query engine make it ideal for analysts running complex SQL against massive datasets. The weekly report workload is a canonical BigQuery use case.

Why this answer

BigQuery is Google Cloud's serverless, highly scalable data warehouse specifically designed for petabyte-scale analytical SQL queries. It separates compute from storage and uses a columnar storage format and a distributed query engine to execute complex SQL on massive datasets without provisioning infrastructure, making it the ideal choice for the described workload.

Exam trap

The GCDL exam often tests the distinction between OLTP databases (Cloud SQL) and OLAP data warehouses (BigQuery), trapping candidates who see 'SQL' and assume any SQL-supporting service works for petabyte-scale analytics, ignoring the fundamental architectural differences in storage, scaling, and query execution.

How to eliminate wrong answers

Option A is wrong because Cloud SQL is a managed relational database service for OLTP workloads (e.g., MySQL, PostgreSQL, SQL Server) and is not designed for petabyte-scale analytical SQL; it has storage and concurrency limits that make it unsuitable for large-scale data warehousing. Option C is wrong because Cloud Bigtable is a NoSQL wide-column database optimized for high-throughput, low-latency read/write operations (e.g., time-series, IoT) and does not support SQL queries or complex analytical joins. Option D is wrong because Firestore is a serverless NoSQL document database for real-time mobile/web applications, not for analytical SQL workloads; it lacks SQL support and is not built for petabyte-scale aggregation or reporting.

91
MCQmedium

A company is running a latency-sensitive application on Compute Engine instances in a single zone. They want to improve availability without sacrificing low latency. Which strategy should they use?

A.Deploy instances in multiple zones within the same region
B.Use Cloud CDN to cache content
C.Use larger machine types with more vCPUs
D.Deploy instances in multiple regions
AnswerA

Deploying instances across multiple zones within the same region keeps compute close to users and each other, with one-way network latency typically under 1-2 ms, while protecting against entire data center failures. A regional managed instance group can distribute instances across zones and use health checks to automatically replace failed VMs, ensuring the application remains available during a zone outage without forcing cross-geography traffic.

Why this answer

Deploying instances in multiple zones within the same region provides high availability by distributing workloads across physically separate data centers (zones) while keeping network latency low, as intra-region latency is typically under 1-2 ms. This approach protects against zonal failures without the added latency of cross-region communication, which can be 10-100 ms or more.

Exam trap

The trap here is that candidates confuse high availability with geographic distribution, assuming multiple regions are always better, but the question explicitly requires low latency, which multi-region deployments cannot guarantee due to increased network distance.

How to eliminate wrong answers

Option B is wrong because Cloud CDN caches static content at edge locations to reduce latency for content delivery, but it does not improve the availability of a latency-sensitive application's compute instances or handle dynamic request processing. Option C is wrong because using larger machine types with more vCPUs improves performance for compute-bound tasks but does not provide redundancy or fault tolerance; a single zone failure would still take down all instances. Option D is wrong because deploying instances in multiple regions introduces significant cross-region network latency (often 10-100+ ms), which violates the requirement to maintain low latency for the application.

← PreviousPage 2 of 2 · 91 questions total

Ready to test yourself?

Try a timed practice session using only Google Cloud Products Services And Solutions questions.