Courseiva

Google Cloud Digital Leader (GCDL) — Questions 751–825

848 questions total · 12 pages · All types, answers revealed

Page 10

Page 11 of 12

Page 12
751
MCQmedium

A company needs to store petabytes of time-series IoT sensor data and query it with single-digit millisecond latency at millions of reads per second. The data has a simple key-value structure with timestamps. Which Google Cloud database is MOST appropriate?

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

Cloud Bigtable is a fully managed, wide-column NoSQL database built specifically for large-scale analytical and operational workloads, including time-series and IoT sensor data. It stores data as sparse rows keyed by a row key (typically device ID and timestamp), enabling single-digit millisecond read/write latency at massive scale. Bigtable scales horizontally by adding nodes to handle millions of queries per second without downtime, and its native integration with Cloud BigQuery, Dataflow, and Pub/Sub makes it the ideal choice for petabyte-scale sensor data ingestion and retrieval.

Why this answer

Cloud Bigtable is designed for petabyte-scale, low-latency, high-throughput NoSQL storage for time-series, IoT, and financial data. It scales horizontally by adding nodes.

752
MCQmedium

A data science team needs to train a custom machine learning model using their own data. They want a unified platform that manages the entire ML lifecycle, including data preparation, training, tuning, and deployment. Which service should they use?

A.AutoML
B.Vertex AI
C.AI Platform
D.Cloud Functions
AnswerB

Vertex AI is Google Cloud's unified MLOps platform, designed to handle the entire ML lifecycle: data labeling, feature engineering, custom training with any framework (TensorFlow, PyTorch, etc.), hyperparameter tuning, model versioning, and serving through endpoints. It integrates services like Vertex AI Feature Store, Vertex AI TensorBoard, and Model Monitoring, enabling end-to-end management. For a data science team needing to train and deploy a custom model, Vertex AI provides the essential, scalable infrastructure.

Why this answer

Vertex AI is Google Cloud's unified ML platform that covers the full lifecycle from data to deployment.

753
MCQmedium

A retail company experiences traffic spikes during holiday sales. They need to automatically scale their web application instances based on CPU utilization. Which Google Cloud service should they configure?

A.Cloud Load Balancing
B.Google Kubernetes Engine with Horizontal Pod Autoscaler
C.Cloud Functions
D.Managed instance group with autoscaling
AnswerD

A managed instance group with autoscaling continuously monitors key signals, such as CPU utilization or load balancer serving capacity, and automatically adds or removes virtual machine instances to meet current demand while staying within configured min/max limits. During holiday traffic spikes, the autoscaler can proactively and reactively adjust the number of VMs, ensuring consistent performance without manual intervention. This is the most direct and purpose-built mechanism for scaling VM instances in Compute Engine, making it the correct answer.

Why this answer

Managed instance groups with autoscaling automatically add or remove VM instances based on metrics like CPU utilization, handling traffic spikes efficiently.

754
MCQhard

A company is running a stateful web application on Compute Engine with a SQL database. They want to use Cloud Load Balancing to distribute traffic across multiple instances in different zones. The application stores session state locally on each VM. Users report that after being directed to a different instance, their session is lost. What is the most suitable solution to maintain session persistence?

A.Store session state in Cloud SQL and share across instances
B.Configure Cloud CDN to cache session data
C.Use a global load balancer with HTTP cookies to track sessions
D.Enable session affinity (sticky sessions) on the load balancer
AnswerD

Enabling session affinity (sticky sessions) on the load balancer ensures that all requests from a given client during a session are routed to the same backend instance, as long as that instance remains healthy. This preserves the in-memory session state because the application can store session data locally on the instance, and subsequent requests are consistently directed to that same machine. The load balancer typically uses a hash of the client's IP address or a generated cookie to determine the backend, while still balancing load across different sessions. This directly solves the problem of a stateful web application without needing to externalize or replicate session state.

Why this answer

Cloud Load Balancing supports session affinity (sticky sessions) based on client IP or HTTP cookie, which directs a user to the same backend instance. Moving session state to a central database (Cloud SQL) or Memorystore also works but changes the application. Enabling HTTP cookies is a client-side solution not reliable.

Using a header-based approach is less common.

755
MCQhard

A cloud operations engineer notices that the managed instance group 'my-mig' has been scaling up frequently, but the application performance is still degraded. The CPU utilization metric shows high values. What is most likely the issue?

A.The target size is set to 10, which is lower than the current needed capacity.
B.The instance group is using preemptible VMs which are being reclaimed frequently.
C.The autoscaler is using a cooldown period that is too long, preventing it from scaling down.
D.The scaling metric is not appropriate; consider using a custom metric that better reflects application load.
AnswerD

The autoscaler is scaling based on a metric that does not accurately represent the application's real load, which is why performance remains degraded even as instances increase. CPU utilization is often a poor proxy for managed instance groups because workloads can be I/O-bound, memory-bound, or dependent on external queues and services. A custom metric such as request latency, queue depth, or concurrent requests directly measures the workload bottleneck and is recommended for autoscaling policies. Switching to a metric that aligns with the application's actual performance signals would enable the autoscaler to make precise scaling decisions and maintain target service levels.

Why this answer

The autoscaler is using CPU utilization as the scaling metric, but high CPU does not necessarily correlate with application performance degradation. If the application is bottlenecked on memory, I/O, or request queuing, CPU may remain high while throughput suffers. A custom metric (e.g., requests per second, latency, or queue depth) would better reflect actual application load and enable more accurate scaling decisions.

Exam trap

The trap here is that candidates assume high CPU utilization always means the application needs more compute capacity, but the question tests the understanding that the scaling metric must be aligned with the actual performance bottleneck, not just a generic system metric.

How to eliminate wrong answers

Option A is wrong because the target size being lower than needed capacity would prevent scaling up sufficiently, but the question states the instance group is scaling up frequently, so the autoscaler is actively adding instances; the issue is that scaling up is not fixing the performance problem. Option B is wrong because preemptible VMs being reclaimed would cause instance churn and potential performance degradation, but the question does not mention preemptible VMs, and the symptom of frequent scaling up with high CPU is not directly caused by preemption. Option C is wrong because a cooldown period that is too long would delay scaling down, not prevent scaling up; the issue here is that scaling up is happening but not resolving the degradation, so the cooldown period is not the root cause.

756
MCQeasy

Which tool would you use to estimate the monthly cost of running a set of Compute Engine virtual machines before deploying them?

A.Cost Management dashboard
B.Active Assist
C.Google Cloud Pricing Calculator
D.Billing export
AnswerC

The Google Cloud Pricing Calculator is an interactive, web-based tool that lets you model a wide range of GCP services—including Compute Engine, Cloud Storage, BigQuery, and networking—by specifying region, tier, and usage levels. It generates an estimated monthly cost in real time, incorporates factors like sustained use and committed use discounts, and is the intended resource for comparing configurations and estimating expenses before building or scaling a solution.

Why this answer

The Google Cloud Pricing Calculator is a web-based tool that allows you to estimate the cost of Google Cloud services, including Compute Engine VMs, before deploying them. It lets you configure VM types, regions, usage hours, and other parameters to get a detailed monthly cost estimate.

Exam trap

The trap is confusing cost estimation with cost monitoring — candidates may pick Cost Management dashboard or Billing export, but those are for post-deployment cost tracking, not pre-deployment estimation.

How to eliminate wrong answers

Option A is wrong because the Cost Management dashboard (now part of Cloud Billing) shows actual and forecasted costs for resources already deployed, not pre-deployment estimates. Option B is wrong because Active Assist provides recommendations and insights for optimizing existing resources, not cost estimation for future deployments. Option D is wrong because Billing export is used to export detailed billing data to BigQuery or Cloud Storage for analysis, not for estimating future costs.

757
MCQmedium

An organization wants to detect and respond to threats across their GCP environment, including finding misconfigurations, vulnerabilities, and potential malicious activity. Which service provides a unified view of security findings?

A.Mandiant
B.Chronicle
C.Cloud Audit Logs
D.Security Command Center
AnswerD

Security Command Center is Google Cloud's built-in security and risk management platform that automatically discovers and aggregates security findings from over 100 integrated services, including Event Threat Detection, Container Threat Detection, and VPC Service Controls. It provides a single-pane-of-glass dashboard for vulnerabilities, threat detections, and policy misconfigurations across the organization, with APIs for custom integrations and automated remediation. This makes it the appropriate tool for detecting and responding to threats across GCP.

Why this answer

Security Command Center is a central dashboard for security findings including vulnerabilities, misconfigurations, and threats.

758
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.

759
MCQmedium

A company has employees who use personal (unmanaged) devices to access corporate applications. The security team wants to prevent sensitive Google Workspace documents from being downloaded to personal devices. Which Google control most directly addresses this data loss prevention requirement for device-based scenarios?

A.Cloud Armor, by blocking requests from IP addresses associated with personal devices
B.Google Workspace context-aware access and endpoint management controls that restrict actions (such as downloads) for users accessing from unmanaged personal devices
C.Enabling two-factor authentication for all users, which prevents unauthorized access
D.Encrypting all Google Drive files so they cannot be read on personal devices
AnswerB

Google Workspace provides device-level context-aware access. Organizations can define policies that restrict capabilities based on device enrollment status — allowing read-only web access on unmanaged devices while blocking downloads, or requiring device enrollment to access sensitive content.

Why this answer

Google Workspace context-aware access combined with endpoint management allows administrators to create access level policies that restrict specific actions—such as downloading, printing, or copying—based on device trust signals. When a user accesses Google Workspace from an unmanaged personal device, the policy can block the download of sensitive documents directly, addressing the data loss prevention requirement at the action level rather than just the access level.

Exam trap

The trap here is that candidates often confuse network-level controls (like Cloud Armor) or authentication controls (like 2FA) with device-level data loss prevention, failing to recognize that only context-aware access with endpoint management can enforce granular action restrictions based on device trust status.

How to eliminate wrong answers

Option A is wrong because Cloud Armor is a network security service that filters traffic at the edge based on IP addresses or geographic regions, but it cannot distinguish between managed and unmanaged devices or control application-level actions like downloads within Google Workspace. Option C is wrong because two-factor authentication (2FA) only verifies user identity at login; it does not enforce device-based restrictions or prevent a legitimate authenticated user from downloading sensitive documents to a personal device. Option D is wrong because encrypting Google Drive files protects data at rest and in transit, but it does not prevent a user with valid decryption keys from downloading and saving those files to an unmanaged device; encryption alone does not enforce download policies.

760
MCQmedium

A regional grocery chain wants to compete with national chains that have larger marketing budgets. A consultant argues that cloud adoption can help level the playing field. Which cloud advantage most directly supports this argument?

A.The regional chain can use cloud object storage to store marketing images, matching the storage capacity of national chains
B.Cloud providers offer free unlimited compute to smaller businesses to help them compete
C.Pay-per-use cloud services give the regional chain access to the same advanced analytics, personalization, and demand forecasting capabilities as national chains without requiring equivalent capital investment
D.The regional chain can hire fewer IT staff because cloud providers manage all aspects of their business operations
AnswerC

This is the core democratizing effect of cloud. By paying only for what is used, smaller businesses can deploy capabilities (ML-driven demand forecasting, personalized promotions, real-time inventory analytics) that previously required the capital budgets only large enterprises could afford.

Why this answer

Pay-per-use cloud services enable the regional chain to leverage advanced analytics, personalization, and demand forecasting tools that are typically available only to large enterprises with significant capital budgets. This directly addresses the core challenge of competing with national chains by providing access to sophisticated data-driven marketing capabilities without the upfront investment in infrastructure and software licenses.

Exam trap

Google Cloud often tests the misconception that cloud adoption is primarily about cost savings or storage capacity, when the real transformative advantage for smaller businesses is the ability to access advanced, capital-intensive capabilities (like AI/ML analytics) on a pay-per-use basis, which directly supports competitive parity.

How to eliminate wrong answers

Option A is wrong because object storage for marketing images addresses only a basic storage need, not the advanced analytical and personalization capabilities required to level the playing field in marketing effectiveness. Option B is wrong because cloud providers do not offer free unlimited compute to smaller businesses; they offer pay-as-you-go models and limited free tiers, but unlimited free compute is not a real offering and would not be sustainable. Option D is wrong because cloud providers manage the underlying infrastructure, not all aspects of business operations such as store management, supply chain logistics, or customer service; this overstates the scope of cloud management and does not directly address marketing competition.

761
MCQeasy

Alice has been granted the Storage Object Viewer (roles/storage.objectViewer) IAM role on a Cloud Storage bucket. What access does Alice have to the bucket?

A.Write objects only
B.Full control
C.Read objects only
D.Read and write objects
AnswerC

The correct access is read-only, granted by the roles/storage.objectViewer role. This predefined role includes storage.objects.get and storage.objects.list, enabling Alice to list the bucket's objects and download or view their contents. Because objectViewer does not include any storage.objects.create or storage.objects.delete permissions, Alice can only read, not modify, the data.

Why this answer

The Storage Object Viewer role grants permissions to list and read objects in a bucket, which means Alice can read objects only. It does not grant permission to write objects or manage the bucket.

Exam trap

Google Cloud often tests the misconception that 'read-only' access implies the ability to list bucket contents but not download objects, whereas in Cloud Storage, read access includes both listing and downloading objects via the storage.objects.get permission.

How to eliminate wrong answers

Option A is wrong because 'Write objects only' would allow Alice to upload or overwrite objects but not read them, which contradicts the scenario where she can view objects. Option B is wrong because 'Full control' would grant Alice all permissions including read, write, and delete, which is excessive and not implied. Option D is wrong because 'Read and write objects' would allow both reading and uploading, but the scenario only indicates read access, not write.

762
MCQeasy

An organization wants to separate billing and access control for two departments, each with multiple projects. They also need to apply common IAM policies to all projects in a department. What is the recommended way to structure their resource hierarchy?

A.Use folders under the organization node, one per department, and place projects inside them
B.Place all resources in a single project and use Cloud Identity groups for access
C.Create one project per department and use labels to separate them
D.Create separate billing accounts per department and link projects directly
AnswerA

Folders under the organization node establish a resource hierarchy where each department's folder can have IAM policies and billing defaults applied, cascading to all projects within. This separates access control by making the department folder an administrative boundary, and also allows aggregated billing per folder by linking a dedicated billing account to that folder, which individual projects inherit.

Why this answer

Folders sit below the organization node and above projects. They allow grouping projects by department and applying IAM policies at the folder level, which are inherited by all projects within.

763
MCQhard

A company uses Cloud Functions to process image uploads. Each image triggers a function that uses Vision API to extract text and stores results in Firestore. The function sometimes fails due to timeout when images are large. How should they redesign for reliability and scale?

A.Use Cloud Tasks with Cloud Run to process images asynchronously
B.Use Cloud Scheduler to trigger the function every minute
C.Increase the function timeout to 60 minutes
D.Use Compute Engine VMs with startup scripts
AnswerA

Cloud Tasks decouples the image processing workload from the Cloud Function trigger, immediately returning a response to the client. Each upload is enqueued as a task that Cloud Run processes asynchronously, allowing you to configure timeouts up to 60 minutes or more. Cloud Run also scales to zero when idle, so you only pay for the processing time, and Cloud Tasks provides automatic retries for transient failures.

Why this answer

Redesigning to use Cloud Tasks with Cloud Run allows asynchronous processing of image uploads. Cloud Tasks can queue the work and trigger Cloud Run services, which can scale independently and have longer timeouts (up to 60 minutes). This decouples the upload from processing, improving reliability and scalability, and avoids Cloud Functions' timeout limits.

Exam trap

GCDL often tests the misconception that increasing timeout on Cloud Functions solves timeout issues, when the correct approach is to use a service with longer timeouts and asynchronous processing like Cloud Run with Cloud Tasks.

How to eliminate wrong answers

Option B is wrong because using Cloud Scheduler to trigger the function every minute does not address the timeout issue; it just polls periodically and may still fail on large images. Option C is wrong because increasing the function timeout to 60 minutes is not possible; Cloud Functions has a maximum timeout of 9 minutes (for 2nd gen, 60 minutes for HTTP functions, but for background functions it's 9 minutes). Even if possible, it's not a scalable solution.

Option D is wrong because using Compute Engine VMs with startup scripts introduces significant operational overhead and does not provide automatic scaling or event-driven processing.

764
MCQmedium

A company migrating to the cloud wants to focus on building applications rather than managing servers. Which Google Cloud compute service provides a fully managed platform for web applications that automatically scales?

A.Cloud Functions
B.Google Kubernetes Engine
C.Compute Engine
D.App Engine
AnswerD

App Engine is a fully managed Platform-as-a-Service (PaaS) that abstracts away all underlying infrastructure, including servers, networking, and scaling. It automatically scales your web application based on traffic, handles load balancing, and provides built-in health checks, allowing developers to simply deploy code and focus on feature development. This aligns perfectly with a company that wants to migrate to the cloud and prioritize building without operational overhead.

Why this answer

App Engine is a fully managed, serverless platform that automatically scales web applications based on traffic. It abstracts away server management, allowing developers to focus solely on writing code, which aligns directly with the requirement to build applications without managing infrastructure.

Exam trap

The trap here is that candidates often confuse 'fully managed' with 'serverless' and incorrectly choose Cloud Functions (A) because it is serverless, but they overlook that Cloud Functions is not designed for hosting complete web applications with persistent HTTP routing and automatic scaling in the same way App Engine is.

How to eliminate wrong answers

Option A is wrong because Cloud Functions is a serverless compute service designed for event-driven, single-purpose functions, not for hosting full web applications with automatic scaling. Option B is wrong because Google Kubernetes Engine (GKE) is a managed Kubernetes cluster that still requires users to manage container orchestration, node pools, and scaling policies, not a fully managed platform that abstracts servers entirely. Option C is wrong because Compute Engine provides virtual machines (VMs) that require manual configuration, patching, and scaling, which contradicts the goal of not managing servers.

765
Multi-Selectmedium

An organization needs to enforce that resources in a specific project cannot use certain machine series (e.g., f1-micro) due to performance requirements. They also need to tag resources with an 'environment' label for cost tracking. Which TWO methods should they use? (Choose TWO.)

Select 2 answers
A.Use resource tags (network tags) to deny f1-micro usage
B.Add a label 'environment' to each resource for cost tracking
C.Use Cloud Audit Logs to monitor f1-micro usage and manually enforce
D.Apply a deny IAM policy to prevent creation of f1-micro instances
E.Create an organization policy with a compute.disableMachineSeries constraint at the folder or project level
AnswersB, E

Labels are key-value pairs that can be applied to all Google Cloud resources and are indexed by Cloud Billing for cost allocation and reporting. Adding an `environment` label to each resource allows the organization to break down costs by environment, ensuring accurate cost tracking and chargeback. This satisfies the requirement of enforcing cost tracking, which labels are specifically designed for.

Why this answer

Option B is correct because labels are the standard Google Cloud mechanism for attaching key-value metadata such as 'environment' to resources, and labels are what feed into billing exports and cost breakdown reports for cost tracking. Option E is correct because an organization policy using the compute.disableMachineSeries constraint (a list constraint on compute.googleapis.com/Instance machine types) can be applied at the project or folder level to block creation of instances using the specified machine series like f1-micro, which directly enforces the performance requirement. Option A is incorrect because network tags are used for firewall rules and routing, not for restricting machine types or enforcing policy.

Option C is incorrect because Cloud Audit Logs only provide visibility and post-hoc monitoring, not preventive enforcement. Option D is incorrect because IAM deny policies control who can perform actions based on permissions, not which machine series or resource configurations are allowed.

Exam trap

GCDL often tests the confusion between network tags (firewall/routing) and labels (metadata/billing), and between IAM deny policies (identity permissions) and org policies (resource configuration guardrails).

766
MCQhard

A retail chain with 500 stores wants to implement dynamic pricing — adjusting prices in real-time based on demand signals, competitor pricing, inventory levels, and weather forecasts. This requires processing millions of data points and updating prices across all stores within minutes. Which cloud capabilities make this possible?

A.A relational database that stores all prices with daily batch updates from a pricing spreadsheet.
B.Real-time stream processing (Pub/Sub + Dataflow) combined with ML model serving (Vertex AI) to ingest signals and compute optimized prices at scale.
C.A cloud-hosted ERP system that replaces the on-premises inventory management system.
D.A static website hosted on Cloud Storage that displays current prices.
AnswerB

This architecture directly implements the required behavior: Pub/Sub ingests a continuous stream of events such as web traffic, competitor price feeds, and inventory levels, while Dataflow performs windowed feature computation and invokes a Vertex AI model to score the optimal price per product. Because Dataflow auto-scales its worker pool, millions of events per minute can be processed without manual capacity planning, and Vertex AI's online prediction service returns scored prices in the tens of milliseconds. The resulting price updates are written to a serving database and pushed to the storefront, enabling true minutes-level dynamic pricing.

Why this answer

It combines real-time stream processing (Pub/Sub for ingesting millions of data points, Dataflow for processing them with low latency) with ML model serving (Vertex AI) to compute optimized prices on the fly. This architecture enables the sub-minute price updates required for dynamic pricing across 500 stores, leveraging Google Cloud's serverless, auto-scaling capabilities.

Exam trap

Google Cloud often tests the misconception that replacing an on-premises system with a cloud-hosted ERP (Option C) is sufficient for real-time processing, when in fact dynamic pricing requires dedicated stream processing and ML services, not just a migrated ERP.

How to eliminate wrong answers

Option A is wrong because a relational database with daily batch updates cannot process millions of real-time data points and update prices within minutes; batch updates introduce hours of latency, making dynamic pricing impossible. Option C is wrong because a cloud-hosted ERP system replaces on-premises inventory management but does not provide real-time stream processing or ML-based price optimization; it lacks the event-driven ingestion and model serving needed for dynamic pricing. Option D is wrong because a static website hosted on Cloud Storage merely displays current prices and has no mechanism to ingest signals, compute prices, or propagate updates across stores in real time.

767
MCQeasy

Which Google Cloud service provides threat intelligence and incident response capabilities, including access to Mandiant expertise?

A.Security Command Center
B.Chronicle
C.Mandiant
D.Cloud IDS
AnswerC

Mandiant is Google Cloud's front-line threat intelligence and incident response unit, offering curated cyber threat intelligence, threat actor research, and on-demand incident response consulting. Its services include digital forensics, compromise assessments, and strategic intelligence, making it the direct match for this question's description of providing threat intelligence and incident response.

Why this answer

Mandiant is Google Cloud's threat intelligence and incident response service. Security Command Center provides vulnerability scanning but not Mandiant expertise. Chronicle is a SIEM.

Cloud IDS is network intrusion detection.

768
MCQmedium

A company wants to detect and prioritize vulnerabilities in their Compute Engine VMs and GKE clusters. They also need a centralized view of security findings across their organization. Which service should they use?

A.Cloud IDS
B.Web Risk API
C.Security Command Center
D.Chronicle
AnswerC

Security Command Center (SCC) is Google Cloud's centralized security and risk management platform, and it provides built-in vulnerability scanning for Compute Engine VMs and GKE container images. It aggregates findings from native Google Cloud services and partner security tools into a single view, then uses severity scores, exposure data, and attack path simulation to help security teams prioritize which vulnerabilities to remediate first. This directly matches the requirement to detect and prioritize vulnerabilities across a cloud environment.

Why this answer

Security Command Center (SCC) is the central vulnerability and threat detection service for GCP. It finds misconfigurations, vulnerabilities, and threats across services like Compute Engine and GKE, and provides a dashboard for prioritization. Chronicle is a SIEM for log analysis, not vulnerability scanning.

Cloud IDS is for network intrusion detection. Web Risk API is for checking URLs against threat lists.

769
MCQeasy

Which layer of Google's defence-in-depth security model includes the use of TLS for data in transit?

A.Data security
B.Operational security
C.Deployment security
D.Physical security
AnswerA

Data security is the correct layer because it directly protects the confidentiality and integrity of the data itself through encryption. Google uses TLS for data in transit and AES-256 (or stronger) for data at rest, managed via Cloud KMS. This layer also includes key management, data classification, and DLP policies.

Why this answer

Google's defence-in-depth model organizes controls into layers including data security, operational security, deployment security, and physical security. TLS (Transport Layer Security) protects data in transit by encrypting communications between clients and servers, which falls squarely under the data security layer — the layer responsible for protecting data at rest, in transit, and in use. TLS is a data-protection control, not an operational, deployment, or physical control.

Exam trap

GCDL often tests layer classification — candidates may associate TLS with 'operational security' because it's an operational control, but Google's model classifies transport encryption under data security.

How to eliminate wrong answers

Option B is wrong because operational security covers processes like incident response, monitoring, access reviews, and personnel security — it governs how systems are run, not how data is cryptographically protected in transit. Option C is wrong because deployment security focuses on secure configuration, hardening, and release pipelines (e.g., secure CI/CD, infrastructure as code), not on transport encryption. Option D is wrong because physical security addresses data center access controls, surveillance, and environmental protections — it has no bearing on TLS, which is a logical/network-layer cryptographic protocol.

770
Multi-Selecteasy

A company wants to adopt a hybrid cloud strategy to keep sensitive data on-premises while taking advantage of Google Cloud for analytics. Which TWO Google Cloud products enable this architecture? (Choose 2)

Select 2 answers
A.BigQuery
B.Anthos
C.Cloud Run
D.Secret Manager
E.Cloud VPN
AnswersB, E

Anthos is a hybrid and multi-cloud application platform built on Google Kubernetes Engine (GKE) and the Kubernetes ecosystem, enabling consistent deployment, policy management, and service mesh across on-premises clusters and Google Cloud. It allows organizations to modernize existing applications, run them anywhere, and apply uniform governance, making it the core component for a hybrid cloud strategy that retains sensitive workloads on-premises.

Why this answer

Anthos provides a consistent platform across on-premises and cloud. Cloud VPN or Cloud Interconnect can connect on-prem to Google Cloud. Secret Manager is for secrets; Cloud Run is serverless; BigQuery is analytics but does not enable hybrid architecture.

771
MCQmedium

A company wants to analyze petabytes of sales data using SQL queries with sub-second response times for dashboards. They need a fully managed, serverless solution that separates storage and compute. Which service meets these requirements?

A.BigQuery
B.Cloud SQL
C.Cloud Spanner
D.Dataflow
AnswerA

BigQuery is a serverless, fully managed data warehouse with columnar storage and a distributed execution engine, purpose-built for petabyte-scale SQL analytics. It separates compute from storage, enabling sub-second interactive queries over massive datasets without provisioning clusters. Its native support for standard SQL, partitioning, and clustering makes it the ideal service for analyzing petabytes of sales data.

Why this answer

BigQuery is a fully managed, serverless, petabyte-scale data warehouse that separates storage and compute, and supports SQL queries with sub-second response times for dashboards via its columnar storage and slot-based execution. It requires no infrastructure management and scales automatically. These characteristics match the stated requirements exactly.

Exam trap

The trap is confusing OLTP databases (Cloud SQL, Spanner) with OLAP warehouses — candidates may pick Spanner for scale, but it is not an analytics engine and lacks sub-second dashboard query performance for petabyte scans.

How to eliminate wrong answers

Option B is wrong because Cloud SQL is a managed relational database for OLTP workloads, not designed for petabyte-scale analytics or sub-second dashboard queries. Option C is wrong because Cloud Spanner is a globally distributed, strongly consistent OLTP database, not an analytics warehouse, and is not serverless in the same sense. Option D is wrong because Dataflow is a stream/batch processing service, not a SQL query engine for interactive dashboards.

772
MCQmedium

An organisation needs to run a batch analytics job every night that processes terabytes of data stored in Cloud Storage. The job is expected to run for 3 hours and can tolerate interruptions. The compute resources should be as cost-effective as possible. Which Compute Engine VM type should be used?

A.Standard (on-demand) VMs
B.Custom machine types
C.Preemptible VMs
D.Sole-tenant nodes
AnswerC

Preemptible VMs offer up to an 80% discount compared to on-demand instances but may be terminated by Compute Engine at any time, with a maximum runtime of 24 hours. Since the nightly analytics job is batch-oriented and fault-tolerant, it can handle these interruptions via restart or checkpointing, making preemptible VMs the most cost-effective and appropriate choice. This aligns the compute pricing model with the workload's tolerance for interruption.

Why this answer

Preemptible VMs are significantly cheaper than standard VMs and are ideal for batch jobs that can tolerate interruptions. They can be preempted at any time but can be restarted. Standard VMs are for long-running, fault-intolerant workloads.

Sole-tenant nodes are for compliance, not cost savings. Custom machine types allow tailoring resources but do not inherently save cost like preemptible VMs.

773
MCQhard

A telecommunications company has completed a cloud migration but finds that its business agility — the speed at which it can launch new products — has not improved. An analysis reveals that while the infrastructure is now cloud-based, the software development and release processes remain unchanged: quarterly release cycles, lengthy change approval boards, and manual testing. What does this situation illustrate?

A.The company chose the wrong cloud provider; a different provider's infrastructure would enable faster releases
B.Cloud infrastructure adoption without modernizing software delivery practices (CI/CD, automated testing, continuous deployment) does not unlock agility; the delivery process is the bottleneck
C.Quarterly release cycles are appropriate for telecommunications products that require extensive regulatory testing, and the lack of agility is not a problem
D.The company must rebuild all applications as microservices before cloud can provide agility benefits
AnswerB

This is the core lesson. Cloud is an enabler of agility, not a guarantor. Without automated CI/CD pipelines, continuous testing, and frequent deployment cadences, quarterly releases persist regardless of whether code runs on cloud or on-premises VMs. DevOps practices and cloud infrastructure must be adopted together.

Why this answer

The scenario illustrates that cloud infrastructure alone does not deliver business agility — the software delivery pipeline is the actual bottleneck. Quarterly releases, manual testing, and heavy change-approval boards are hallmarks of traditional waterfall/ITIL-heavy delivery, and moving VMs to a cloud provider without adopting CI/CD, automated testing, and continuous deployment leaves that constraint intact. Agility comes from the delivery practice, not the hosting location.

Exam trap

The trap is conflating cloud adoption with DevOps transformation — candidates pick the 'wrong provider' or 'microservices' answer because they assume agility is an infrastructure property rather than a delivery-practice outcome.

How to eliminate wrong answers

Option A is wrong because the provider is not the constraint — any major cloud provider can host a CI/CD pipeline; the problem is the unchanged release process, not the infrastructure vendor. Option C is wrong because it rationalizes the status quo; while telecom has regulatory considerations, quarterly cycles and manual testing are not inherently required by regulation and the question explicitly frames the lack of agility as a problem to be solved. Option D is wrong because microservices are not a prerequisite for cloud agility — monoliths can be deployed continuously with proper CI/CD, and a full re-architecture is a disproportionate, incorrect prescription.

774
MCQeasy

A startup wants to launch a new application and expects unpredictable traffic patterns. They want to avoid upfront hardware costs and only pay for resources they use. Which cloud deployment model best meets their needs?

A.Private cloud
B.Hybrid cloud
C.Public cloud
D.Multi-cloud
AnswerC

Public cloud platforms like Google Cloud provide self-service, on-demand provisioning with pay-as-you-go pricing, requiring no capital investment. Their elastic auto-scaling handles unpredictable traffic by adjusting resources in real time, and users only pay for what they consume. This makes it the ideal choice for a startup that needs to minimize upfront costs while maintaining flexibility.

Why this answer

Public cloud offers pay-as-you-go pricing, on-demand scaling, and no upfront hardware costs, ideal for unpredictable workloads. Private and hybrid models typically involve capital expenditure.

775
MCQhard

A global e-commerce company serves customers from multiple continents. They want to guarantee fast page load times and minimize latency. Which Google Cloud service is most suitable for this transformation?

A.Cloud SQL for data caching
B.Cloud Storage multi-regional buckets
C.Cloud CDN with global external HTTP(S) load balancing
D.Compute Engine with large VMs
AnswerC

Cloud CDN combined with a global external HTTP(S) load balancer uses Google's worldwide edge points of presence to cache static and dynamic content close to users. The load balancer intelligently routes each request to the nearest edge location, minimizing round-trip time and offloading requests from the backend. This architecture is specifically designed to deliver low-latency experiences to a global customer base.

Why this answer

Cloud CDN with global external HTTP(S) load balancing is the most suitable solution because it caches static and dynamic content at edge locations worldwide, reducing latency for users across multiple continents. The global load balancer provides anycast IP addresses that route traffic to the nearest healthy backend, while Cloud CDN serves cached content directly from the edge, minimizing round-trip time and improving page load times.

Exam trap

Google Cloud often tests the misconception that multi-regional storage alone (Option B) provides low latency, but candidates must understand that storage redundancy does not equal edge caching or request routing, which are essential for minimizing page load times across continents.

How to eliminate wrong answers

Option A is wrong because Cloud SQL is a managed relational database service, not a caching solution; it does not reduce latency for static content delivery and would introduce database overhead for page loads. Option B is wrong because Cloud Storage multi-regional buckets provide geo-redundant object storage but lack edge caching and request routing optimization; they require additional services like Cloud CDN to minimize latency. Option D is wrong because Compute Engine with large VMs addresses compute capacity, not latency; it does not distribute content geographically or cache responses, and users would still experience high latency from distant regions.

776
MCQeasy

An organization wants to use Google Cloud for processing healthcare data subject to HIPAA regulations in the United States. Which contractual document must the organization obtain from Google before storing Protected Health Information (PHI) in Google Cloud?

A.A Non-Disclosure Agreement (NDA) to prevent Google from disclosing the existence of the healthcare application
B.A Business Associate Agreement (BAA), which is legally required by HIPAA before any covered entity can process Protected Health Information with a cloud provider
C.A Data Processing Agreement (DPA) as required under GDPR for European data subjects
D.An ISO 27001 certificate issued by Google Cloud demonstrating information security compliance
AnswerB

The BAA is non-negotiable for HIPAA compliance. Google Cloud offers a BAA that covers specific services for HIPAA workloads. Without a BAA in place, any PHI stored in Google Cloud constitutes a HIPAA violation — technical security controls alone do not satisfy the legal requirement.

Why this answer

Under HIPAA, a covered entity or business associate must obtain a Business Associate Agreement (BAA) from any cloud service provider that will create, receive, maintain, or transmit Protected Health Information (PHI). Google Cloud offers a BAA that contractually binds Google to comply with HIPAA Security and Privacy Rules, including safeguarding PHI and reporting breaches. Without a signed BAA, storing PHI in Google Cloud would violate HIPAA regulations.

Exam trap

The trap here is that candidates confuse a generic data protection document (like a DPA or NDA) with the HIPAA-specific BAA, or mistakenly believe that a security certification alone satisfies the contractual requirement for handling PHI.

How to eliminate wrong answers

Option A is wrong because a Non-Disclosure Agreement (NDA) only prevents disclosure of confidential information, but it does not impose the specific HIPAA-required safeguards, breach notification obligations, or permitted use restrictions that a BAA provides. Option C is wrong because a Data Processing Agreement (DPA) is mandated under GDPR for processing personal data of European data subjects, not for HIPAA compliance in the United States; HIPAA requires a BAA, not a DPA. Option D is wrong because an ISO 27001 certificate demonstrates that Google Cloud has an information security management system, but it is a certification, not a contractual document, and does not fulfill the HIPAA requirement for a signed BAA that includes specific privacy and security provisions.

777
MCQhard

An engineer is deploying a globally distributed application that requires strong consistency across multiple continents with a 99.999% uptime SLA. The data model is relational with SQL queries. Which database service should they use?

A.Cloud Spanner
B.Firestore in multi-region mode
C.Cloud SQL with cross-region replication
D.Bigtable with replication
AnswerA

Cloud Spanner is a fully managed, horizontally scalable relational database that combines standard SQL transactions with globally distributed replication. It uses TrueTime (a globally synchronized clock) and Paxos consensus to provide strong external consistency across all regions, meaning reads and writes are always linearizable even during failovers. With a 99.999% availability SLA and the ability to write from any region, it is the only option among these that supports globally consistent relational data at scale.

Why this answer

Cloud Spanner is the only Google Cloud database that provides globally distributed, strongly consistent relational data with a 99.999% SLA.

778
MCQeasy

A fashion retailer wants to use cloud to better understand customer preferences and launch trend-responsive product lines faster. Which capability most directly enables the retailer to sense market trends earlier and respond faster than competitors?

A.Real-time analytics on social media, search trends, and purchase signals to detect emerging preferences earlier, combined with cloud-integrated supply chain APIs for faster product launches
B.Moving the ERP system to a cloud-hosted VM to reduce infrastructure management overhead
C.Training the design team on cloud-based graphic design software for faster product visualization
D.Storing all historical sales data in cloud object storage for cheaper archival
AnswerA

This is the data-to-action pipeline that creates competitive advantage: real-time social/search data ingested at cloud scale reveals trends early; ML identifies patterns; supply chain APIs allow rapid response. The combination of early trend detection and fast execution creates a competitive moat.

Why this answer

It directly addresses the retailer's goal of sensing market trends earlier and responding faster. Real-time analytics on social media, search trends, and purchase signals enable early detection of emerging preferences, while cloud-integrated supply chain APIs allow for rapid product launches by automating and accelerating the procurement and production processes. This combination of sensing and response capabilities is the most direct enabler of competitive advantage in trend-responsive retail.

Exam trap

The GCDL exam often tests the distinction between operational improvements (like moving to a VM or using cloud storage) and strategic capabilities that directly enable competitive advantage through sensing and response; the trap here is that candidates may confuse general cloud benefits (cost savings, reduced overhead) with the specific capability needed for trend responsiveness.

How to eliminate wrong answers

Option B is wrong because moving an ERP system to a cloud-hosted VM primarily reduces infrastructure management overhead and may improve scalability, but it does not directly enable earlier sensing of market trends or faster product launches; it is an operational improvement, not a strategic sensing and response capability. Option C is wrong because training the design team on cloud-based graphic design software improves product visualization speed, but it does not provide real-time market trend sensing or supply chain integration; it addresses a downstream design step, not the upstream trend detection or rapid launch process. Option D is wrong because storing historical sales data in cloud object storage for cheaper archival provides cost savings and long-term data retention, but it does not enable real-time analytics or faster response to current trends; archival storage is passive and not designed for active trend sensing or agile supply chain integration.

779
MCQeasy

A business analyst needs to understand why cloud services bill differently for compute (VMs) versus object storage. Compute VMs are billed per second while they are running; Cloud Storage is billed per GB-month of data stored. Which cloud pricing principle explains why these billing units are different?

A.Cloud providers bill different resources differently to maximize revenue by charging the highest rates for the most-used services
B.Cloud resources are billed based on their natural unit of consumption: compute time for VMs (per second running) and data volume over time for storage (per GB-month) — matching billing to how each resource is actually consumed
C.Storage is charged per GB-month because cloud providers cannot measure storage usage per second accurately
D.The billing difference is a temporary situation; cloud providers are working toward a single universal billing unit for all services
AnswerB

This is the correct explanation. Billing models match consumption patterns: VMs consume CPU/memory as long as they run (time-based), while storage accumulates data that persists over time (data×time). This measured service model ensures billing is proportional to actual resource use.

Why this answer

Cloud providers align billing units with the natural consumption pattern of each resource. Compute VMs consume CPU and memory continuously while running, making per-second billing the most granular and fair measure of actual usage. Object storage, by contrast, incurs cost primarily from the capacity occupied over time, so billing per GB-month directly reflects the resource's persistent footprint.

This principle ensures customers pay only for what they use, in the unit that matches the resource's operational behavior.

Exam trap

The trap here is that candidates confuse pricing strategy with technical feasibility, assuming storage cannot be measured per second (Option C) or that providers are moving to a single unit (Option D), when the real principle is matching billing to the resource's natural consumption model.

How to eliminate wrong answers

Option A is wrong because it incorrectly assumes revenue maximization as the driving principle; in reality, cloud providers use cost-based pricing tied to resource consumption, not arbitrary rate-setting for popular services. Option C is wrong because cloud providers can and do measure storage usage per second (e.g., via continuous capacity monitoring), but billing per second would be impractical and not meaningful since storage cost is driven by sustained occupancy, not instantaneous access. Option D is wrong because there is no industry effort toward a single universal billing unit; different resources inherently have different consumption models (time-based vs. capacity-based), and this diversity is fundamental to cloud pricing.

780
Multi-Selectmedium

A security team needs to detect and respond to threats across their Google Cloud environment. Which THREE services should they use together? (Choose 3)

Select 3 answers
A.Mandiant
B.Cloud Logging
C.Cloud Armor
D.Security Command Center
E.Chronicle
AnswersA, D, E

Mandiant is Google Cloud's managed threat detection and response service, combining front-line expertise from Mandiant's incident response consultants with automated threat hunting and forensic capabilities. It is purpose-built for investigating advanced persistent threats, containing breaches, and performing root cause analysis, unlike logging or network filtering services. This makes Mandiant the direct match for a security team's requirement to detect and respond to sophisticated threats.

Why this answer

Security Command Center for vulnerability scanning and threat detection, Chronicle for SIEM and incident response, and Mandiant for threat intelligence and forensic investigation.

781
MCQmedium

A company wants to adopt a zero-trust security model for accessing Google Cloud resources. Which Google Cloud technology BEST supports this approach?

A.Cloud VPN
B.BeyondCorp Enterprise
C.Cloud Identity-Aware Proxy (IAP)
D.Firewall Rules
AnswerB

BeyondCorp Enterprise is Google's comprehensive zero-trust security solution. It shifts access decisions from the network perimeter to identity and context: each request is evaluated against the user's identity, device trust level, and contextual signals before granting access. By combining Identity-Aware Proxy, endpoint verification, threat/DPA protections, and security analytics, BeyondCorp Enterprise provides continuous, adaptive verification for both cloud and on-premises resources. This makes it the full framework rather than a single point solution.

Why this answer

BeyondCorp Enterprise is Google Cloud's zero-trust access platform that enforces identity- and context-aware access to applications and resources without requiring a VPN. It embodies the zero-trust principle of 'never trust, always verify' by evaluating user identity, device posture, and context for every request. This is the most comprehensive Google Cloud technology for zero-trust.

Exam trap

GCDL often tests whether candidates recognize that IAP is a subset of BeyondCorp Enterprise, so they pick IAP when the question asks for the overarching zero-trust technology.

How to eliminate wrong answers

Option A is wrong because Cloud VPN establishes encrypted tunnels between networks but still relies on network perimeter trust, which is the opposite of zero-trust. Option C is wrong because IAP is a component that enforces zero-trust access to specific resources, but BeyondCorp Enterprise is the broader platform that encompasses IAP plus additional capabilities like endpoint verification and threat protection. Option D is wrong because firewall rules operate at the network layer based on IP/port, not identity or context, so they do not implement zero-trust.

782
MCQmedium

A regional healthcare provider wants to give its clinicians a new patient-scheduling application but is concerned about the time and cost of procuring servers, configuring networking, and patching operating systems. Leadership asks how moving to Google Cloud would change the way the IT team spends its time. Which business benefit of cloud technology best describes this shift?

A.The organization no longer needs to design, test, or operate the scheduling application itself.
B.The organization can eliminate all IT operational spending because Google manages every layer of the stack.
C.Application performance automatically improves because Google's network is faster than any private network.
D.The IT team can shift effort away from maintaining undifferentiated infrastructure and toward work that differentiates the organization.
AnswerD

Cloud providers own the physical data centres, hardware refresh cycles, and much of the patching, so the provider's staff absorb that repetitive work. The healthcare provider's engineers are then free to focus on capabilities that actually matter to clinicians, such as integrating scheduling with existing patient records. This is precisely the shift from undifferentiated heavy lifting to higher-value activities that cloud adoption enables.

Why this answer

Cloud providers operate the physical facilities, servers, storage, and much of the platform software, so customers stop spending scarce engineering time on repetitive infrastructure chores. That reclaimed capacity can be redirected to applications, integrations, and services that create value for patients and clinicians. The other choices either overstate what Google manages, promise unguaranteed outcomes, or confuse infrastructure with application ownership.

Exam trap

The trap here is assuming that moving to the cloud means the customer stops doing IT work altogether, when in reality the work shifts toward higher-value activities.

783
MCQhard

A regulated financial services firm must ensure that its data never leaves a specific geographic region (EU) for compliance with GDPR data residency requirements. Which Google Cloud features help enforce this requirement?

A.Select EU regions for all resources and apply the `gcp.resourceLocations` org policy to restrict resource creation to EU regions only.
B.Enable Cloud Armor on all load balancers to block non-EU traffic.
C.Use HTTPS for all connections to ensure data is encrypted when it leaves the EU.
D.Enable Google Workspace's regional storage settings to restrict where emails are stored.
AnswerA

Selecting EU regions for every resource ensures that data at rest is physically stored within EU boundaries, directly meeting residency requirements. Applying the gcp.resourceLocations organization policy adds a preventive control that blocks creation of any resource outside the allowed EU regions, even by accident or through a misconfigured deployment. This combination of explicit region selection and org-level policy enforcement is the accepted GCP method for guaranteeing data residency across all projects in an organization.

Why this answer

The `gcp.resourceLocations` organization policy constraint explicitly restricts the physical location where Google Cloud resources can be created. By setting this policy to allow only EU regions, the organization ensures that no compute, storage, or database resources can be provisioned outside the EU, directly enforcing GDPR data residency requirements. This policy is evaluated at resource creation time and applies to all projects under the organization, providing a hard enforcement boundary.

Exam trap

The GCDL exam often tests the distinction between network-level controls (like Cloud Armor) and data residency controls (like org policies), leading candidates to mistakenly choose a security tool that blocks traffic rather than a policy that restricts resource location.

How to eliminate wrong answers

Option B is wrong because Cloud Armor is a web application firewall that filters HTTP/S traffic based on IP addresses or geo-location, but it does not prevent data from being stored or processed outside the EU; it only controls incoming network requests, not where data resides. Option C is wrong because HTTPS encrypts data in transit, but encryption does not control the geographic location of data at rest or processing; data can still leave the EU while encrypted, violating residency requirements. Option D is wrong because Google Workspace's regional storage settings apply only to Workspace data (e.g., Gmail, Drive), not to the customer's own applications or data stored in Google Cloud services like Compute Engine or Cloud Storage, and the question is about a regulated financial services firm using Google Cloud, not Workspace.

784
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.

785
MCQeasy

A company wants to enforce the principle of least privilege by granting a service account only the permissions necessary to publish messages to a specific Pub/Sub topic. Which IAM approach should they use?

A.Grant the roles/editor role to the service account at the project level
B.Grant the roles/pubsub.subscriber role to the service account at the topic level
C.Grant the roles/pubsub.publisher role to the service account at the topic level
D.Grant the roles/pubsub.publisher role to the service account at the project level
AnswerC

The roles/pubsub.publisher role contains exactly the pubsub.topics.publish permission required to send messages to a topic. Attaching this role as a binding on the specific topic resource restricts the grant to that single topic, so the service account cannot publish to any other topics in the project. This is the least-privilege approach because it grants the minimal permission on the narrowest resource scope that still fulfills the requirement.

Why this answer

To enforce least privilege for a service account that only needs to publish to a specific Pub/Sub topic, you should grant the roles/pubsub.publisher role at the topic level. This scopes the permission to that single topic, preventing the service account from publishing to other topics or accessing other resources. This is the most granular and least-privilege approach.

Exam trap

The trap is choosing project-level grants or basic roles for convenience; candidates must recognize that least privilege requires the narrowest scope, which is the topic level for Pub/Sub publishing.

How to eliminate wrong answers

Option A is wrong because roles/editor is a basic role that grants broad permissions across the project, violating least privilege. Option B is wrong because roles/pubsub.subscriber grants permission to consume messages, not publish, so it does not meet the requirement. Option D is wrong because granting roles/pubsub.publisher at the project level allows publishing to all topics in the project, which is broader than necessary and violates least privilege.

786
MCQhard

A data engineering team is building a streaming pipeline that ingests clickstream events from a website, processes them in real-time (e.g., aggregations, filtering), and loads the results into BigQuery for analysis. They also need the ability to replay events in case of failures. Which combination of services is MOST appropriate for the streaming ingestion and processing?

A.Cloud Storage and Cloud Functions
B.Pub/Sub and Cloud Dataflow
C.Pub/Sub and Cloud Functions
D.Apache Kafka on Compute Engine
AnswerB

Pub/Sub provides a fully managed, asynchronous messaging service with durable message retention, at-least-once delivery, and replay support, enabling reliable, scalable stream ingestion with no operators. Cloud Dataflow, built on Apache Beam, processes streams in real time and supports event-time processing, watermarks, windowing, and exactly-once semantics, making it suitable for complex transformations, aggregations, and stateful analytics. As a fully managed service, it also autoscales and seamlessly integrates with GCP and open-source ecosystems, so this combination is the intended architecture for real-time stream processing on GCP.

Why this answer

Pub/Sub for ingestion allows event replay (by setting a subscription's retention), and Dataflow for stream processing handles real-time transformations and writes to BigQuery.

787
MCQmedium

A company wants to enforce a policy that prevents all projects in the organization from enabling certain Google Cloud APIs. Where should the policy be applied to ensure it is inherited by all projects, including future ones?

A.On the organization node
B.On the billing account
C.On each individual project
D.On the folder containing the projects
AnswerA

The organization node is the root of the Google Cloud resource hierarchy. Organization policies set at this level are inherited by every folder and project beneath it, including future projects that are created later. This is the only placement that guarantees the policy is enforced uniformly across all projects in the organization without any per-project or per-folder exceptions.

Why this answer

Organization policies applied at the organization node are inherited by all folders and projects under it. This is the most efficient way to enforce a blanket restriction across the entire resource hierarchy.

788
MCQmedium

An engineer needs to store database passwords and API keys securely. The secrets must be encrypted at rest with a customer-managed key and automatically rotated every 90 days. Which service should they use?

A.Cloud Secret Manager
B.Cloud KMS
C.Datastore
D.Cloud Storage with encryption
AnswerA

Cloud Secret Manager is the native Google Cloud service designed specifically to store and manage API keys, passwords, and other sensitive strings. It provides centralized IAM-based access control, automatic secret versioning, configurable rotation policies, and full audit logging via Cloud Audit Logs. Secrets can be encrypted with customer-managed keys (CMEK) using Cloud KMS, and the service integrates with Compute Engine and GKE for runtime secret injection. This combination of fine-grained access, lifecycle management, and integration makes it the correct and secure choice.

Why this answer

Cloud Secret Manager is purpose-built for storing, accessing, and rotating secrets such as database passwords and API keys, and it supports customer-managed encryption keys (CMEK) plus automatic rotation schedules. It provides versioning, audit logging, and fine-grained IAM access, which are exactly the requirements stated. Cloud KMS, by contrast, manages encryption keys themselves rather than the secrets they protect.

Exam trap

GCDL often tests the confusion between Cloud KMS (manages encryption keys) and Cloud Secret Manager (stores and rotates secrets), tricking candidates who see 'customer-managed key' and immediately pick KMS.

How to eliminate wrong answers

Option B is wrong because Cloud KMS is a key management service for creating and managing cryptographic keys; it does not store application secrets like passwords and API keys, nor does it provide secret versioning or rotation of the secret value itself. Option C is wrong because Datastore is a NoSQL document database for application data, not a secrets vault, and it lacks native secret rotation and CMEK-based secret management semantics. Option D is wrong because Cloud Storage with encryption stores objects and encrypts them at rest, but it does not provide secret versioning, automatic rotation, or the access patterns and audit controls expected of a secrets manager.

789
MCQmedium

According to the NIST definition of cloud computing, which characteristic allows users to unilaterally provision computing resources such as server time and network storage without requiring human interaction with the service provider?

A.Broad network access
B.On-demand self-service
C.Resource pooling
D.Measured service
AnswerB

On-demand self-service is the NIST cloud characteristic that lets a consumer unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with each service provider. This is the precise capability described in the question: the user accesses a portal or API and immediately spins up resources, eliminating manual procurement or IT ticket workflows. It is the defining user-facing attribute of cloud computing that differentiates it from traditional IT, where a human administrator must manually allocate capacity — and it directly matches the scenario's requirement for automatic provisioning.

Why this answer

On-demand self-service is the NIST characteristic that allows a consumer to unilaterally provision computing capabilities, such as server time and network storage, automatically without requiring human interaction with each service provider. This is the defining trait that enables users to spin up resources via APIs or portals on demand.

Exam trap

GCDL often tests the precise NIST wording, trapping candidates who confuse on-demand self-service with rapid elasticity or resource pooling.

How to eliminate wrong answers

Option A is wrong because broad network access refers to capabilities being available over the network through standard mechanisms, not to self-provisioning. Option C is wrong because resource pooling describes the provider's multi-tenant model where resources are dynamically assigned to multiple consumers. Option D is wrong because measured service refers to the metering and billing of resource usage, not the ability to provision without human interaction.

790
Multi-Selecteasy

A company wants to implement a CI/CD pipeline for their Cloud Run services. Which THREE Google Cloud services should they use? (Choose 3)

Select 3 answers
A.Cloud Operations Suite
B.Cloud Build
C.Cloud Deploy
D.Cloud Deployment Manager
E.Container Registry (or Artifact Registry)
AnswersB, C, E

Cloud Build is GCP's fully managed CI/CD platform that executes builds in steps defined in a cloudbuild.yaml file. It can run unit and integration tests, compile source code, and produce container images or other artifacts. As the core CI engine, it is the required service that transforms source commits into testable, deployable artifacts.

Why this answer

Cloud Build (B) is correct because it is Google Cloud's managed CI service that executes build steps defined in cloudbuild.yaml, compiles the container image, and can trigger builds from Cloud Source Repositories, GitHub, or Bitbucket on commit. Container Registry or Artifact Registry (E) is correct because the container image produced by Cloud Build must be stored in a registry; Artifact Registry is the recommended successor to Container Registry for storing and versioning Docker images that Cloud Run will pull. Cloud Deploy (C) is correct because it is the managed CD service that takes the built image and orchestrates progressive delivery to Cloud Run targets (dev/staging/prod) with approval gates and rollout strategies.

Cloud Operations Suite (A) is monitoring, logging, and tracing—useful for observability but not a CI/CD pipeline component. Cloud Deployment Manager (D) is an infrastructure-as-code tool for provisioning Google Cloud resources via YAML/Jinja templates, not for building or delivering application containers.

Exam trap

The trap is that candidates may assume Cloud Build alone is sufficient for CI/CD because it can also deploy directly to Cloud Run, but Cloud Deploy provides separate continuous delivery capabilities with advanced rollout strategies. Additionally, candidates may confuse Cloud Deploy with Cloud Deployment Manager, which is used for provisioning infrastructure, not CI/CD.

791
MCQmedium

An organization needs to protect a web application hosted on Google Cloud from DDoS attacks and SQL injection attempts. They want a managed security service that integrates with Cloud Load Balancing. Which service should they use?

A.Cloud IDS
B.reCAPTCHA Enterprise
C.Cloud Armor
D.VPC firewall rules
AnswerC

Cloud Armor is the correct choice because it combines distributed denial-of-service (DDoS) protection with a web application firewall (WAF) at the Google Cloud edge. It offers preconfigured rules for the OWASP Top 10, including SQL injection (SQLi) and cross-site scripting (XSS), and can enforce these rules inline as traffic passes through Cloud Load Balancing. Cloud Armor also provides adaptive protection, rate limiting, and edge security policies to mitigate volumetric DDoS attacks. This dual capability directly addresses both the DDoS and SQL injection threats described in the scenario.

Why this answer

Cloud Armor is Google's managed DDoS protection and Web Application Firewall (WAF) service. It integrates with Cloud Load Balancing to filter traffic based on IP, geo, and HTTP headers, and includes preconfigured rules (e.g., OWASP) to block SQL injection. Cloud IDS is for network intrusion detection. reCAPTCHA Enterprise is for bot detection.

VPC firewall rules are for network-level access control.

792
MCQeasy

Which principle states that a user should be granted only the permissions necessary to perform their job functions?

A.Principle of least privilege
B.Defence in depth
C.Separation of duties
D.Zero trust
AnswerA

Principle of least privilege is the security doctrine mandating that any user, process, or system component be granted only the minimum permissions essential to perform its prescribed functions. By restricting privileges to the exact scope of job duties, it minimizes the attack surface and contains the blast radius of a compromised credential, preventing lateral movement or unauthorized data access. This principle is foundational to access control and directly answers the question about how much permission a user should receive.

Why this answer

The principle of least privilege is the security concept of granting minimal required permissions. Separation of duties divides tasks among multiple people. Zero trust is a broader security model.

Defence in depth is layered security.

793
MCQmedium

An organization needs to store archival data that must be retained for 10 years and is accessed less than once a year. Which Cloud Storage class offers the lowest storage cost?

A.Archive
B.Standard
C.Coldline
D.Nearline
AnswerA

Archive is the correct storage class because it is the lowest-cost option for long-term retention, designed specifically for data accessed less than once per year. It enforces a 365-day minimum storage duration, which aligns with archival retention needs where retrieval is rare and latency is acceptable. Its pricing model minimizes storage cost at the expense of higher retrieval fees, making it the most economical choice for compliance or forensic archives.

Why this answer

Archive is the lowest-cost storage class in Google Cloud Storage, designed for data accessed less than once a year and retained for long periods (minimum 365 days). It offers the cheapest storage price per GB, making it ideal for 10-year archival data with rare access.

Exam trap

GCDL often tests the confusion between Coldline and Archive, as both are for infrequent access; candidates may incorrectly choose Coldline thinking it's the cheapest, but Archive is specifically the lowest-cost option for data accessed less than once a year.

How to eliminate wrong answers

Option B is wrong because Standard is the most expensive storage class, optimized for frequently accessed data with no minimum storage duration. Option C is wrong because Coldline is more expensive than Archive and is intended for data accessed less than once a year but with a 90-day minimum; it does not offer the absolute lowest cost. Option D is wrong because Nearline is for data accessed less than once a month, with a 30-day minimum, and is significantly more expensive than Archive.

794
MCQmedium

Refer to the exhibit. A DevOps engineer wants to create a chart showing the rate of items sold per second over time. What is a limitation of this metric for that purpose?

A.The metric kind is GAUGE, so it cannot be used to calculate rate
B.The interval should include a startTime
C.The metric has no labels to filter
D.The value should be DOUBLE instead of INT64
AnswerA

GAUGE metrics capture a value at a single point in time, like a snapshot, so there is no temporal difference to divide by an elapsed interval. Cloud Monitoring's rate aligner (ALIGN_RATE) or the 'rate' transform requires DELTA or CUMULATIVE metrics to compute per-second change. Because the metric is GAUGE, it is structurally impossible to calculate a rate, regardless of the interval or value type.

Why this answer

A GAUGE metric type represents a point-in-time value (e.g., current number of items), not a cumulative counter. To calculate a rate (items per second), you need a CUMULATIVE counter metric that monotonically increases, allowing Cloud Monitoring to compute the derivative over time. GAUGE metrics lack the necessary monotonicity and cumulative semantics, so they cannot be used to derive a meaningful rate of change.

Exam trap

Google Cloud often tests the misconception that any numeric metric can be used to compute a rate, when in fact only CUMULATIVE counters support rate-of-change calculations in Cloud Monitoring.

How to eliminate wrong answers

Option B is wrong because including a startTime in the interval is not a limitation of the metric itself; it is a standard parameter for time-series queries and does not prevent rate calculation. Option C is wrong because the absence of labels does not prevent rate calculation; labels are for filtering and aggregation, not for the fundamental ability to compute a rate. Option D is wrong because the data type (INT64 vs DOUBLE) does not affect the ability to calculate a rate; Cloud Monitoring can compute rates on integer values, and the limitation is the metric kind (GAUGE vs CUMULATIVE), not the value type.

795
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.

796
MCQmedium

A company's cloud operations team is implementing a tagging strategy for cost allocation. They want to ensure that the 'cost-center' label is present on every Compute Engine VM and Cloud Storage bucket created in their Google Cloud organization. Currently, some resources are created without this label. Which combination of controls best enforces and remediates this requirement?

A.Organization Policy custom constraint to prevent creation of resources without the 'cost-center' label (preventive), plus Cloud Asset Inventory to identify existing unlabeled resources for remediation (detective)
B.Only organization policy — once new resources are blocked, existing unlabeled resources don't matter
C.Only Cloud Asset Inventory monitoring — alerting on unlabeled resources is sufficient without preventing their creation
D.Grant all engineers the 'Labels Admin' role to encourage them to add labels voluntarily
AnswerA

This is the complete two-layer approach: prevention (org policy blocks future non-compliant resources at creation time) and detection/remediation (Cloud Asset Inventory finds existing unlabeled resources so they can be labeled retroactively). Together they address both the future and existing state.

Why this answer

A preventive control (org policy custom constraint requiring the label) stops future non-compliant resources. A detective/corrective control (Cloud Asset Inventory + Cloud Functions or Security Command Center) finds and remediates existing unlabeled resources. Both are needed for comprehensive enforcement.

797
MCQeasy

What is the primary purpose of Google Cloud Armor?

A.To accelerate content delivery globally
B.To protect applications from DDoS attacks and application-level threats
C.To provide outbound internet connectivity to private instances
D.To manage virtual private cloud networking
AnswerB

Cloud Armor provides built-in protections against volumetric DDoS attacks and a web application firewall (WAF) to block OWASP Top 10 threats like SQL injection and cross-site scripting. It uses preconfigured rules and adaptive protection to filter malicious traffic at the edge, only forwarding legitimate requests to backend services. This makes it the primary DDoS and application-layer security service for applications fronted by Cloud Load Balancing.

Why this answer

Google Cloud Armor is a security service that provides DDoS protection and WAF capabilities for applications behind Google Cloud load balancers. It filters malicious traffic at the edge, protecting against Layer 3/4 DDoS and Layer 7 application attacks like SQL injection and XSS. It is the primary tool for edge security in GCP.

Exam trap

GCDL often tests the confusion between Cloud Armor (security/DDoS) and Cloud CDN (performance) or Cloud NAT (outbound connectivity), tricking candidates who associate 'edge' services with content delivery rather than protection.

How to eliminate wrong answers

Option A is wrong because accelerating content delivery globally is the role of Cloud CDN, not Cloud Armor — Cloud Armor focuses on security, not performance. Option C is wrong because providing outbound internet connectivity to private instances is handled by Cloud NAT, which allows instances without public IPs to reach the internet. Option D is wrong because managing VPC networking is the function of VPC, subnets, firewalls, and Cloud Router — Cloud Armor is a security policy layer, not a networking management service.

798
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.

799
Multi-Selecthard

A global e-commerce company is moving its user-facing application to Google Cloud to improve performance for customers worldwide. They need low-latency content delivery and fast DNS resolution. Which TWO Google Cloud services should they use? (Choose 2)

Select 2 answers
A.Cloud CDN
B.Cloud DNS
C.Cloud Interconnect
D.Cloud Armor
E.Cloud Load Balancing
AnswersA, B

Cloud CDN caches static and dynamic content at Google's global edge points of presence, so users retrieve data from a location geographically close to them. This reduces round-trip time, decreases latency, and unloads the origin server, directly improving the performance of a global e-commerce application's page loads and media delivery.

Why this answer

Cloud CDN (A) is correct because it caches the application's static and dynamic content at Google's globally distributed edge points of presence, serving users from the location closest to them and thereby reducing latency for worldwide customers. Cloud DNS (B) is correct because it is Google's highly available, low-latency authoritative DNS service running on the same global anycast network, which delivers fast DNS resolution for the user-facing domain. Cloud Interconnect (C) is not correct here because it provides dedicated private connectivity between an on-premises network and Google Cloud, not edge content delivery or public DNS resolution.

Cloud Armor (D) is a WAF/DDoS protection service for filtering malicious traffic, which addresses security rather than latency. Cloud Load Balancing (E) distributes traffic across backends and can complement CDN, but it is not the service that provides edge caching or fast DNS resolution as requested.

Exam trap

GCDL often tests the confusion between network connectivity services (Interconnect, Load Balancing) and edge acceleration services (CDN, DNS); candidates pick Interconnect or Load Balancing thinking 'global' means connectivity rather than edge caching and resolution.

800
MCQhard

A financial services company is designing a multi-cloud architecture with Google Cloud and AWS. They need to encrypt data at rest in Google Cloud using a key stored in their on-premises Hardware Security Module (HSM). What is the best approach?

A.Use default encryption
B.Use Cloud External Key Manager (Cloud EKM)
C.Use Cloud HSM
D.Use Cloud Key Management Service (Cloud KMS) with CMEK
AnswerB

Cloud EKM integrates the Cloud KMS API with an external key management system or on-premises HSM, allowing Google Cloud services to encrypt and decrypt data at rest using keys that never leave the external HSM in plaintext. This preserves customer control and satisfies the requirement for keys to be stored outside the cloud provider's environment.

Why this answer

Cloud External Key Manager (Cloud EKM) is the correct approach because it allows you to manage encryption keys in an external key management system, such as an on-premises HSM, while using those keys to encrypt data at rest in Google Cloud. This meets the requirement of storing the key in the on-premises HSM, as Cloud EKM integrates with supported external key management partners or directly with your HSM via a key management proxy, ensuring that Google Cloud never has direct access to the raw key material.

Exam trap

The trap here is that candidates often confuse Cloud HSM (which provides hardware-backed keys but within Google's infrastructure) with the ability to use an external on-premises HSM, leading them to select Cloud HSM instead of Cloud EKM.

How to eliminate wrong answers

Option A is wrong because default encryption uses Google-managed keys, which do not allow you to control or store the key in your on-premises HSM. Option C is wrong because Cloud HSM is a Google Cloud service that provides hardware-backed key storage within Google's infrastructure, not in your on-premises HSM, so it does not satisfy the requirement of using a key stored on-premises. Option D is wrong because Cloud KMS with CMEK allows you to manage your own keys, but those keys are stored in Google Cloud (either in Cloud KMS software or Cloud HSM), not in an external on-premises HSM, and CMEK does not support direct integration with external key stores.

801
Drag & Dropmedium

Drag and drop the steps to configure a load balancer for an HTTP application on Compute Engine into the correct order.

Drag or tap steps into the slots.

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

Why this order

The correct order is: instance group, health check, backend service, URL map, then target proxy and forwarding rule.

802
MCQhard

An organization runs a multi-region web application behind a global external HTTP(S) load balancer. They want to protect against DDoS attacks and filter traffic based on IP reputation and request headers. Which service should they integrate with the load balancer?

A.Cloud Armor
B.Cloud CDN
C.VPC firewall rules
D.Cloud NAT
AnswerA

Cloud Armor is the correct choice because it provides web application firewall (WAF) capabilities, DDoS protection, and IP reputation filtering at the global edge, directly integrated with Cloud Load Balancing. It can inspect HTTP(S) traffic, block malicious requests based on Layer 7 attributes like headers and body, and enforce allow/deny lists based on IP addresses and geolocation. This gives the organization precise, policy-based control over incoming traffic before it reaches backend instances.

Why this answer

Cloud Armor is Google Cloud's edge security service that attaches to global external HTTP(S) load balancers and provides WAF rules, IP reputation/denylists, geo-blocking, and header-based filtering. It's the native integration point for DDoS and Layer 7 filtering at the load balancer.

Exam trap

GCDL often tests whether candidates confuse Cloud CDN (caching) with Cloud Armor (security) — both sit at the edge but only Cloud Armor filters traffic.

How to eliminate wrong answers

Option B is wrong because Cloud CDN caches content at the edge — it improves latency and offloads origin traffic but does not filter based on IP reputation or headers. Option C is wrong because VPC firewall rules operate at the network/VPC layer (L3/L4) and cannot inspect HTTP headers or apply IP-reputation logic at the global edge. Option D is wrong because Cloud NAT provides outbound internet access for private instances; it has no inbound filtering role.

803
MCQhard

A data analytics team needs to run a one-time transformation on 10 TB of data stored in Cloud Storage, then load the results into BigQuery. The transformation is a custom Java application that reads files, processes them, and writes to a new location. Which service should they use to minimize operational overhead?

A.Cloud Dataflow with Apache Beam Java SDK
B.Google Kubernetes Engine (GKE) with a custom container
C.Dataproc Serverless with Spark job
D.Cloud Functions triggered by Cloud Storage events
AnswerA

Cloud Dataflow with Apache Beam is designed for building robust, scalable, and often continuous data processing pipelines, not primarily for executing a standalone, one-time custom Java application directly. While it supports Java and handles large datasets, adapting a custom Java application to the Apache Beam model for a single execution introduces unnecessary development and conceptual overhead. It would be the correct choice if the transformation was a complex, recurring, or streaming job requiring a unified programming model and managed orchestration for high scalability and fault tolerance.

Why this answer

Cloud Dataflow with Apache Beam Java SDK is the appropriate service for running custom Java transformations on large datasets in a fully managed, serverless manner. It reads from Cloud Storage, processes data, and can load results to BigQuery without provisioning clusters. Other options like Cloud Functions have execution limits, GKE requires cluster management, and Dataproc Serverless is intended for Spark jobs, not arbitrary custom Java applications.

Exam trap

The trap is to choose Cloud Functions due to its serverless nature, but it cannot handle 10 TB in a single invocation. Another trap is confusing Dataproc Serverless (which is for Spark jobs) with Dataflow (which is for Beam pipelines in Java).

How to eliminate wrong answers

Option A is wrong because Cloud Dataflow with Apache Beam Java SDK is optimized for stream and batch processing with a unified programming model, but it introduces additional complexity in defining pipelines and managing state, which is unnecessary for a simple one-time transformation; Dataflow also requires more setup for custom Java code compared to Spark on Dataproc Serverless. Option B is wrong because Google Kubernetes Engine (GKE) with a custom container requires manual cluster management, scaling, and orchestration, which increases operational overhead for a one-time job; it is not serverless and demands ongoing maintenance of infrastructure. Option D is wrong because Cloud Functions triggered by Cloud Storage events are designed for lightweight, event-driven processing with limited execution time (9 minutes max) and memory (8 GB max), making them unsuitable for processing 10 TB of data in a single transformation.

804
MCQhard

A security team wants to be alerted when Google Cloud personnel access their customer data. They need logs that show the reason for access and what data was accessed. Which service provides this?

A.Cloud Audit Logs
B.Access Transparency
C.Security Command Center
D.Cloud Logging
AnswerB

Access Transparency is the correct service because it provides logs of actions taken by Google personnel (e.g., Cloud Support or Site Reliability Engineers) on the content of your data and the metadata of your resources. It uses the same audit log framework but specifically surfaces events where Google staff access customer data, and it distinguishes these from customer-initiated API calls. Administrators can route these logs to Cloud Logging or Pub/Sub to set up alerts, giving the security team the exact visibility they need into human access by Google employees.

Why this answer

Access Transparency logs provide detailed records of Google personnel access to customer data, including reason and scope.

805
MCQeasy

A company's security team wants to be alerted when someone with administrative permissions changes an IAM policy in their Google Cloud organization. Which Google Cloud capability enables this detection?

A.Data Access audit logs, which record when data is read from Cloud Storage buckets
B.Admin Activity audit logs combined with Cloud Monitoring log-based alerting, which records and alerts on IAM policy modifications by any principal
C.Cloud Armor, which blocks unauthorized IAM policy changes at the network layer
D.VPC flow logs, which capture all network traffic including IAM API calls
AnswerB

Admin Activity audit logs record all IAM policy changes (SetIamPolicy calls) automatically and cannot be disabled. A log-based metric in Cloud Monitoring can count these events, and an alerting policy triggers a notification whenever an IAM change is detected. This is the standard approach for IAM change monitoring.

Why this answer

Admin Activity audit logs record all changes to IAM policies and other configuration changes in Google Cloud. By combining these logs with Cloud Monitoring log-based alerting, the security team can create a specific alert that triggers whenever an IAM policy is modified by a principal with administrative permissions, enabling real-time detection of unauthorized changes.

Exam trap

The GCDL exam often tests the distinction between audit log types (Admin Activity vs. Data Access) and the specific services that handle control-plane vs. data-plane operations, leading candidates to mistakenly choose Data Access logs or VPC flow logs for IAM policy changes.

How to eliminate wrong answers

Option A is wrong because Data Access audit logs record read/write operations on user-provided data (e.g., Cloud Storage objects), not IAM policy modifications, which are configuration changes. Option C is wrong because Cloud Armor is a web application firewall that protects against network-layer attacks like DDoS and SQL injection; it does not monitor or block IAM policy changes, which are control-plane operations. Option D is wrong because VPC flow logs capture metadata about network traffic (e.g., source/destination IP, ports, protocols) but do not log IAM API calls, which are control-plane operations logged separately in Admin Activity audit logs.

806
MCQmedium

After a major production outage, the engineering team conducts a review of what happened, why it happened, and how to prevent it in the future. This document is shared with all engineering teams. What is this practice called, and why does Google's SRE culture emphasize it?

A.Performance review — identifying which engineers caused the outage for disciplinary action.
B.Blameless postmortem — documenting the incident, root causes, and preventive actions to drive systemic learning without individual blame.
C.Capacity planning review — ensuring enough servers are provisioned to prevent future outages.
D.Change advisory board (CAB) review — approving that the outage fix is safe to deploy.
AnswerB

A blameless postmortem is a retrospective, collaborative analysis of an incident that produces a written record containing a detailed timeline, impact assessment, root cause analysis (often using techniques such as '5 Whys' or cause-effect diagrams), and concrete preventive actions. The 'blameless' attribute ensures the investigation concentrates on systemic contributions — like incomplete monitoring, ambiguous runbooks, or brittle configurations — rather than punishing the operator who triggered the failure. This approach builds psychological safety, enabling honest reporting of contributing factors, and turns failures into opportunities for continuous improvement, which is a fundamental pillar of reliability engineering.

Why this answer

A blameless postmortem is a core SRE practice that focuses on documenting incidents, root causes, and preventive actions without assigning individual blame. Google's SRE culture emphasizes this to foster psychological safety, enabling teams to openly share failures and drive systemic improvements, which is essential for maintaining high reliability in large-scale distributed systems.

Exam trap

The trap here is that candidates may confuse a blameless postmortem with a performance review or a change management process, failing to recognize that the key differentiator is the absence of blame and the focus on systemic learning rather than individual accountability.

How to eliminate wrong answers

Option A is wrong because a performance review is an HR process for evaluating employee contributions, not a post-incident analysis; blaming individuals contradicts the blameless culture that encourages honest incident reporting. Option C is wrong because capacity planning review is a proactive process to ensure sufficient resources (e.g., servers, network bandwidth) are provisioned to meet demand, not a reactive review of a specific outage's causes and fixes. Option D is wrong because a change advisory board (CAB) review is an ITIL process for approving changes before deployment, not a retrospective analysis of an incident that has already occurred.

807
Multi-Selectmedium

Which TWO of the following are key characteristics of cloud computing as defined by NIST? (Choose 2)

Select 2 answers
A.Virtualization
B.Multi-tenancy
C.Measured service
D.Serverless computing
E.Rapid elasticity
AnswersC, E

Measured service is one of NIST's five essential characteristics of cloud computing, requiring that cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the service type (e.g., storage, processing, bandwidth, or active user accounts). This metering provides transparency for both the provider and consumer, enabling pay-per-use billing, capacity planning, and monitoring of usage against service-level agreements. It fundamentally differentiates cloud computing from traditional IT by transforming fixed infrastructure costs into variable costs tied directly to consumption.

Why this answer

Measured service is a key characteristic of cloud computing as defined by NIST (SP 800-145). It means that cloud systems automatically control and optimize resource usage by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). This allows both the provider and consumer to monitor, control, and report usage, providing transparency for billing and chargeback.

Exam trap

Google Cloud often tests the distinction between enabling technologies (like virtualization) and the official NIST essential characteristics, so candidates mistakenly select virtualization or multi-tenancy because they are commonly associated with cloud computing but are not explicitly listed in the NIST definition.

808
MCQeasy

A startup wants to deploy a web application with minimal operational overhead. They want to focus only on writing code and not managing servers, containers, or runtimes. Which Google Cloud service is designed for this purpose?

A.Cloud Run
B.Google Kubernetes Engine (GKE)
C.App Engine
D.Compute Engine
AnswerC

App Engine is a fully managed platform-as-a-service that accepts your source code and runtime configuration directly, without requiring you to build or manage containers. It automatically provisions underlying compute resources, performs health checks, balances load across instances, and scales from zero to many based on traffic. Patches and infrastructure maintenance are handled by Google, making it the most operationally lightweight choice for deploying a web application.

Why this answer

App Engine is a fully managed PaaS that abstracts the underlying infrastructure, allowing developers to focus solely on code. Cloud Run requires container images, Compute Engine requires full OS management, and GKE requires cluster management.

809
MCQhard

A retail company stores petabytes of customer transaction data for compliance reasons. They access data less than once a year but must retain it for 10 years. They want the lowest-cost storage. Which storage class should they choose?

A.Archive storage class
B.Coldline storage class
C.Standard storage class
D.Nearline storage class
AnswerA

Archive storage class provides the lowest per-gigabyte storage cost in Cloud Storage and is explicitly designed for data accessed less than once a year. With a 180-day minimum retention period and default millisecond access latency, it aligns perfectly with a 10-year retention strategy for petabytes of transaction data. The rare access pattern means retrieval fees stay negligible, and the 180-day constraint is easily satisfied by the long retention, making Archive the most economical and technically appropriate choice.

Why this answer

Archive storage class is the correct choice because it is designed for data accessed less than once a year, with the lowest storage cost among Google Cloud storage classes. The customer's requirement of retaining data for 10 years with infrequent access aligns perfectly with Archive's 365-day minimum storage duration and retrieval costs that are higher but acceptable given the rare access pattern.

Exam trap

Google Cloud often tests the misconception that 'Coldline' is the lowest-cost option because of its name, but Archive is actually cheaper for data accessed less than once a year, and candidates overlook the access frequency and minimum storage duration requirements.

How to eliminate wrong answers

Option B (Coldline storage class) is wrong because it is optimized for data accessed less than once every 90 days, not less than once a year, and has higher storage costs than Archive. Option C (Standard storage class) is wrong because it is designed for frequently accessed data with no minimum storage duration and has the highest storage cost, making it unsuitable for long-term, rarely accessed compliance data. Option D (Nearline storage class) is wrong because it targets data accessed less than once every 30 days, with storage costs higher than Archive and a 30-day minimum storage duration, which does not match the yearly access pattern.

810
MCQmedium

A company has a batch processing job that runs once per day and can be interrupted without significant impact. They want to reduce costs by using Google Cloud infrastructure. Which compute option should they choose?

A.Standard persistent disk
B.Preemptible VMs
C.Sustained use discounts
D.Custom machine types
AnswerB

Preemptible VMs are instances that run on Google Cloud's surplus capacity at a fraction of the normal cost, often up to 80% cheaper. They can be terminated abruptly by Google Cloud, but a batch job that runs only once per day and can tolerate interruptions is an ideal candidate. By designing the job to restart or resume from checkpoints, the company can achieve substantial cost savings while maintaining reliability.

Why this answer

Preemptible VMs offer significant cost savings (up to 60-91% discount) but can be terminated at any time by Google. They are ideal for fault-tolerant batch jobs. Spot VMs are similar but with a newer pricing model (no maximum runtime).

Both are good, but Preemptible is the classic answer. Custom machine types are not cost-saving by themselves; standard VMs are more expensive.

811
MCQmedium

A company is planning a cloud architecture and needs to decide between a monolithic application design and a microservices architecture. What is the most significant operational trade-off between these two approaches in a cloud environment?

A.Monoliths can only run on-premises, while microservices were designed specifically for cloud environments
B.Microservices enable independent deployment and scaling per component but introduce distributed systems complexity (network overhead, distributed tracing, service discovery, consistency challenges); monoliths are simpler to operate but scale and deploy as a unit
C.Microservices are always cheaper to operate in the cloud because each service uses fewer resources than a monolith
D.Monolithic applications cannot be scaled horizontally in cloud environments
AnswerB

This accurately captures the key trade-off. Microservices' benefits (independent scale, isolated failures, technology diversity) come with real operational costs: inter-service communication adds latency and failure modes, distributed tracing replaces simple stack traces, and data consistency across services requires careful design.

Why this answer

The most significant operational trade-off is that microservices enable independent deployment and scaling per component but introduce distributed systems complexity such as network overhead, distributed tracing, service discovery, and consistency challenges. Monoliths are simpler to operate but must be scaled and deployed as a single unit. This accurately captures the core operational difference in cloud environments.

Exam trap

The trap here is the misconception that monoliths cannot run in the cloud or cannot scale horizontally, or that microservices are always cheaper, leading candidates to select an incorrect absolute statement.

How to eliminate wrong answers

Option A is wrong because monoliths can run in the cloud; they are not limited to on-premises. Option C is wrong because microservices are not always cheaper; they can incur higher operational costs due to increased complexity and resource overhead. Option D is wrong because monolithic applications can be scaled horizontally in cloud environments, though typically as a whole rather than per component.

812
MCQhard

A company wants to implement SLOs for their API service. They need to measure the proportion of successful requests over a 30-day window. Which metric should they use?

A.availability (uptime)
B.latency at 99th percentile
C.requests/success
D.SLI = good events / total events
AnswerD

An SLI defined as good events divided by total events is the canonical, user-centric approach for an API service, as it directly measures the proportion of requests that meet predefined success criteria. For example, a request may be considered 'good' if it returns an HTTP 2xx status and has a latency below a threshold, while 'total events' counts every request received. This ratio yields a percentage that aligns with the actual user experience and forms the basis for setting an SLO and calculating an error budget, following standard SRE practices.

Why this answer

An SLI (Service Level Indicator) is defined as the ratio of good events to total events, which directly measures the proportion of successful requests over a 30-day window. This aligns with the requirement to track request success rate, not just system uptime. In Google Cloud operations, SLOs are built on SLIs that count discrete events like HTTP 200 responses versus all requests.

Exam trap

The trap here is that candidates confuse availability (uptime) with request success rate, not realizing that a service can be 'up' 100% of the time yet fail a large proportion of requests due to application errors.

How to eliminate wrong answers

Option A is wrong because availability (uptime) measures the percentage of time the service is reachable, not the proportion of individual request successes; a service can be up but still return errors for many requests. Option B is wrong because latency at the 99th percentile measures response time distribution, not success rate; it addresses performance, not correctness or error rate. Option C is wrong because requests/success is an inverted ratio that would decrease as success increases, and it is not a standard SLI formula; the correct SLI is good events divided by total events.

813
MCQmedium

A company wants to replace its VPN-based remote access with a zero-trust solution that verifies user identity and device health before granting access to internal applications. Which Google Cloud service should they use?

A.BeyondCorp Enterprise
B.Identity-Aware Proxy (IAP)
C.Cloud VPN
D.Cloud Identity
AnswerA

BeyondCorp Enterprise is Google Cloud's complete zero-trust access solution, designed to replace a traditional VPN. It enforces access decisions based on user identity, device security posture, and context, rather than granting broad network-level entry. By combining Identity-Aware Proxy, endpoint verification, and adaptive policies into a single platform, it protects applications without exposing the entire network, which is why it is the correct replacement for VPN-based remote access.

Why this answer

BeyondCorp Enterprise is Google Cloud's zero-trust solution that provides identity and context-aware access to internal applications. It verifies user identity and device health before granting access, aligning with zero-trust principles. It includes IAP but offers broader capabilities like device trust and continuous validation.

Exam trap

The exam often tests the difference between IAP and BeyondCorp Enterprise: IAP is a component, but BeyondCorp Enterprise is the comprehensive zero-trust solution that includes device trust.

How to eliminate wrong answers

Option B is wrong because Identity-Aware Proxy (IAP) is a component of BeyondCorp Enterprise that provides identity-based access, but it does not by itself verify device health; BeyondCorp Enterprise encompasses device trust. Option C is wrong because Cloud VPN is a traditional VPN solution, not zero-trust. Option D is wrong because Cloud Identity is an identity management service, not a zero-trust access solution.

814
MCQeasy

A traditional retailer currently maintains its own data centers, purchasing servers every 3–5 years and paying for facilities, power, and staff regardless of demand. When it migrates its workloads to the public cloud, which change in cost model does it experience?

A.From operational expenditure (OpEx) to capital expenditure (CapEx)
B.From capital expenditure (CapEx) to operational expenditure (OpEx)
C.From variable costs to fixed monthly costs
D.From consumption-based billing to annual depreciation cycles
AnswerB

This correctly captures the core cost-model shift of cloud adoption. In an on-premises model, you must buy and capitalize expensive hardware, software licenses, and data-center infrastructure upfront, and then depreciate those assets over their useful life. Cloud providers own the infrastructure and charge variable usage fees, so customers avoid large capital outlays and instead book monthly cloud bills as operating expenses. This improves cash flow and aligns costs with actual business consumption, which is exactly the CapEx-to-OpEx transition.

Why this answer

When a retailer migrates from owning and maintaining its own data centers to using a public cloud, it shifts from a capital expenditure (CapEx) model—where it buys servers and pays for facilities upfront—to an operational expenditure (OpEx) model, where it pays for cloud services as a recurring, usage-based cost. This change eliminates large upfront hardware investments and replaces them with predictable monthly or consumption-based billing, aligning costs directly with actual demand.

Exam trap

The GCDL exam often tests the misconception that moving to the cloud simply changes cost from variable to fixed, when in fact the fundamental shift is from CapEx (capital expenditure) to OpEx (operational expenditure), with variable costs replacing fixed, upfront investments.

How to eliminate wrong answers

Option A is wrong because it reverses the actual shift: moving from on-premises data centers to the public cloud changes spending from CapEx (buying servers, facilities) to OpEx (pay-as-you-go), not the other way around. Option C is wrong because the cloud model typically converts fixed, upfront costs into variable, consumption-based costs, not from variable to fixed monthly costs; fixed monthly costs are more characteristic of reserved instances or committed use contracts, but the core shift is from CapEx to OpEx. Option D is wrong because consumption-based billing is the new model in the cloud, not the old one; annual depreciation cycles are associated with CapEx for owned hardware, not with cloud billing.

815
MCQeasy

A small startup is migrating its web application to Google Cloud. The security lead wants to understand how Google protects the underlying infrastructure, including physical data centers, hardware, and the network, while the startup remains responsible for securing its own application code and data. Which security model describes this division of responsibilities?

A.Least privilege model
B.Defense in depth model
C.Shared responsibility model
D.Zero Trust security model
AnswerC

In the shared responsibility model, Google secures the infrastructure—physical data centers, hardware, networking, and the hypervisor—while the customer secures what they put in the cloud, such as application code, data, and access management. This exactly matches the startup's need to understand which layers Google handles and which remain their own responsibility.

Why this answer

Google Cloud operates on a shared responsibility model: Google is responsible for the security of the cloud, including physical facilities, hardware, and the network, while customers are responsible for security in the cloud, such as their data, applications, and identity configuration. This framework clarifies that the startup must secure its own code and access controls even though Google protects the underlying platform.

Exam trap

The trap here is confusing Zero Trust, a security design philosophy, with the shared responsibility model, which defines the provider-customer security boundary.

816
Multi-Selectmedium

Which TWO statements about committed use discounts (CUDs) are true? (Choose two.)

Select 2 answers
A.CUDs provide a discount for sustained usage without any upfront commitment.
B.CUDs can be purchased for specific resources such as vCPUs and memory.
C.CUDs can be applied to any Google Cloud service automatically.
D.CUDs are applied automatically without any action from the user.
E.CUDs require a 1-year or 3-year commitment.
AnswersB, E

CUDs are purchased at the resource level, meaning you commit to a specific quantity of a particular resource type, such as virtual CPUs (vCPUs), memory (GB), or GPUs, within a given region or machine family. This allows you to receive a discounted rate for all matching usage that falls within the committed amount. For example, you might commit to 100 vCPUs in us-central1 for 3 years and pay a reduced hourly rate for those vCPUs, regardless of which compatible VM uses them.

Why this answer

Option B is correct because Google Cloud committed use discounts are purchased against specific resource types, such as vCPUs and memory, for example in Compute Engine, where you commit to a certain amount of vCPU and RAM usage in a region. Option E is correct because CUDs are commitment-based discounts that require either a 1-year or 3-year term, in exchange for lower prices on eligible usage. Option A is incorrect because sustained use discounts, not CUDs, are the automatic discounts for sustained usage without any upfront commitment.

Option C is incorrect because CUDs do not apply to any Google Cloud service automatically; they are limited to specific eligible services and resources, such as Compute Engine and some other services with their own commitment models. Option D is incorrect because CUDs are not applied automatically without user action; the user must purchase or sign up for the commitment, unlike sustained use discounts.

Exam trap

GCDL often tests the confusion between committed use discounts (CUDs) and sustained use discounts (SUDs), causing candidates to incorrectly attribute automatic application or lack of commitment to CUDs.

817
Multi-Selecthard

Which THREE practices are recommended for securing a Kubernetes cluster in Google Kubernetes Engine (GKE)?

Select 3 answers
A.Use Binary Authorization to ensure only trusted container images are deployed
B.Enable node auto-repair to automatically fix security vulnerabilities in nodes
C.Enable GKE Sandbox for untrusted workloads to provide an additional layer of isolation
D.Expose the cluster control plane via a public endpoint to allow monitoring
E.Enable Workload Identity to manage access to Google Cloud APIs
AnswersA, C, E

Binary Authorization is a supply-chain security control that requires all container images to be signed by an approved authority before admission to the cluster. It integrates with Artifact Analysis and your CI/CD pipeline, using attestors to verify signatures and enforce policies like 'only images signed for production' at deployment time. This blocks unverified or tampered images from running, directly closing a key attack vector.

Why this answer

Binary Authorization is correct because it enforces deployment-time policy validation, ensuring that only container images signed by trusted authorities (e.g., via KMS) are allowed to run in GKE. This prevents the deployment of untrusted or tampered images, directly addressing supply chain security.

Exam trap

Google Cloud often tests the distinction between operational features (like node auto-repair) and security features, so candidates mistakenly assume auto-repair patches vulnerabilities when it only restores node health, not applies security updates.

818
MCQmedium

An organization wants to reduce its carbon footprint by using Google Cloud. Which of the following statements about Google Cloud's sustainability efforts is correct?

A.Google Cloud uses nuclear energy as its primary power source.
B.Google Cloud data centers are powered by 100% carbon-free energy since 2020.
C.Google Cloud matches 100% of its global electricity consumption with renewable energy.
D.Google Cloud purchases carbon offsets to neutralize all emissions.
AnswerC

Since 2017, Google has matched 100% of the electricity its global operations (including Cloud regions) consume with an equivalent amount of renewable energy. This is achieved by entering into long-term PPAs (e.g., wind and solar) that add new renewable capacity to the grid, and by using market-based instruments without double-counting. This claim is verified annually through third-party audits under the Greenhouse Gas Protocol scope 2 accounting.

Why this answer

Google Cloud matches 100% of its global electricity consumption with renewable energy and aims for 24/7 carbon-free energy by 2030.

819
MCQmedium

A financial services company must run a legacy Windows application that requires a specific version of IIS and custom Windows patches. The company wants to minimize operational overhead but needs full control over the OS. Which Google Cloud service is most appropriate?

A.Google Kubernetes Engine
B.App Engine Flexible Environment
C.Compute Engine
D.Cloud Run
AnswerC

Compute Engine is a true Infrastructure-as-a-Service offering, giving you full administrative control over a Windows Server VM. You can install custom patches, enable and configure IIS, alter registry settings, and manage the OS exactly as required by your legacy application. This is the only option that provides direct OS-level access, making it the correct choice for a lift-and-shift migration of a Windows workload that cannot be refactored.

Why this answer

Compute Engine provides full control over the operating system, including the ability to install custom Windows patches and specific IIS versions, while remaining a managed IaaS offering that minimizes operational overhead compared to on-premises. It is the only option that gives the customer OS-level access required for a legacy Windows application with custom patch dependencies.

Exam trap

The trap here is assuming that a more 'modern' managed service like App Engine or Cloud Run is always preferable, when the requirement for OS-level control and custom Windows patches forces an IaaS choice.

How to eliminate wrong answers

Option A is wrong because GKE abstracts the node OS and is designed for containerized workloads, not legacy Windows apps requiring specific IIS builds and custom patches. Option B is wrong because App Engine Flexible runs in a managed container sandbox where you cannot apply arbitrary Windows patches or pin IIS versions. Option D is wrong because Cloud Run is a fully managed serverless container platform with no OS access at all and does not support Windows containers.

820
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.

821
MCQmedium

A mid-size company runs a batch processing application on a single on-premises server. The processing time varies; during month-end, the workload spikes and the server becomes overloaded, causing delays. The company wants a solution that automatically scales resources for peak times and only pays for extra capacity when used. They are considering migrating to Google Cloud. Which approach meets their needs?

A.Migrate the server to a single, larger Compute Engine instance with a static IP
B.Deploy the application on a managed instance group in Compute Engine with autoscaling
C.Rewrite the batch processing application as a Cloud Function
D.Use Cloud SQL for the database and a single Compute Engine instance for processing
AnswerB

A managed instance group with autoscaling adds and removes Compute Engine instances automatically as load rises during month-end peaks, and you pay only for instances actually running. This satisfies both the automatic scaling and pay-for-use constraints.

Why this answer

Option B is correct because a managed instance group (MIG) with autoscaling automatically adds or removes Compute Engine VM instances based on load, so the batch application can scale out during month-end peaks and scale back afterward, and you pay only for the instances actually running. This directly matches the requirement for automatic scaling and pay-for-use extra capacity. Option A uses a single larger instance, which is fixed capacity and cannot scale automatically, so it still risks overload and charges continuously for the larger size.

Option C would require rewriting the application as a Cloud Function, which is not a drop-in fit for a batch processing server and may hit execution time and runtime limits. Option D changes the database and keeps a single Compute Engine instance for processing, so it still lacks automatic scaling for the workload.

822
MCQhard

A multinational corporation operates a hybrid cloud environment with on-premises data centers connected to Google Cloud via Dedicated Interconnect. The company uses Cloud Storage to store sensitive financial data and has enabled Cloud Audit Logs for admin activities. Recently, the security team noticed that an unknown actor accessed a bucket containing customer personally identifiable information (PII). The access occurred from an IP address outside the corporate network. The security team suspects that an employee's Google Cloud credentials were compromised. They need to investigate the incident thoroughly and determine the extent of the breach. The company has enabled VPC Flow Logs, but they are not sure how to correlate the audit logs with network flows. They also want to ensure that similar incidents are prevented in the future. What should the security team do first to investigate the incident?

A.Immediately revoke all service account keys and reissue them, then reset all user passwords.
B.Enable Cloud IDS to detect similar attacks and block the malicious IP address.
C.Use Cloud Logging to analyze Cloud Audit Logs and identify the user who accessed the bucket and the associated context.
D.Export VPC Flow Logs to BigQuery and analyze for the attacker's IP address.
AnswerC

Cloud Audit Logs record the authenticated identity, timestamp, source IP and method for each bucket access, so analysing them in Cloud Logging identifies the compromised user and the breach scope. This directly satisfies the requirement to determine who accessed the PII bucket.

Why this answer

The correct first step is option C: use Cloud Logging to analyze Cloud Audit Logs and identify the user who accessed the bucket and the associated context. Cloud Audit Logs record Admin Activity and Data Access events for Cloud Storage, including the principal (user or service account), the bucket/object accessed, the source IP address, and timestamps, which directly supports determining who did what and the extent of the breach. Options A and B are remediation or prevention actions, not investigation steps, and revoking all keys/passwords before scoping the incident could disrupt operations and destroy evidence.

Option D focuses on VPC Flow Logs, which show network-level metadata for traffic within VPCs but do not identify the authenticated Cloud Storage principal or the API action taken, so it cannot by itself establish the identity and scope of the bucket access.

823
MCQhard

An operations team tracks the following metrics for their customer portal: request latency p99, error rate, and requests per second. In Site Reliability Engineering terminology, what are these metrics called, and what do they collectively define?

A.Key Performance Indicators (KPIs) that define the overall health of the business
B.Service Level Agreements (SLAs), defining the contractual commitments made to customers
C.Service Level Indicators (SLIs), which measure specific dimensions of service behavior from the user's perspective and collectively define how reliability is quantified
D.Operational metrics that are only relevant to the infrastructure team and not to business stakeholders
AnswerC

SLIs are the specific measurable quantities that capture how users experience the service. Latency (is it fast enough?), error rate (is it working?), and throughput (is it keeping up?) are the canonical SLI types. Together they provide a quantitative picture of reliability that can be used to set SLO targets.

Why this answer

In Site Reliability Engineering (SRE), the metrics p99 latency, error rate, and requests per second are classified as Service Level Indicators (SLIs). SLIs are carefully chosen quantitative measures of specific aspects of the service's behavior, such as availability, latency, or throughput, as experienced by the end user. Collectively, these SLIs define how reliability is quantified and are used to set and monitor Service Level Objectives (SLOs).

Exam trap

The trap here is that candidates confuse SLIs with SLAs or KPIs, not realizing that SLIs are the raw measurements that feed into SLOs, which then underpin SLAs, and that they are specifically defined from the user's perspective to quantify reliability.

How to eliminate wrong answers

Option A is wrong because while these metrics can be part of business KPIs, the SRE terminology specifically calls them Service Level Indicators (SLIs), not generic KPIs, and they define reliability quantification, not overall business health. Option B is wrong because SLAs are contractual commitments based on SLOs, which are in turn derived from SLIs; the metrics themselves are not the agreements. Option D is wrong because SLIs are explicitly defined from the user's perspective and are critical for business stakeholders to understand service reliability, not just for the infrastructure team.

824
MCQeasy

Which Google Cloud service provides a fully managed, scalable data warehouse for running SQL queries on petabyte-scale data and supports BI tools like Looker?

A.BigQuery
B.Cloud SQL
C.Cloud Storage
D.Dataflow
AnswerA

BigQuery is Google Cloud's serverless, fully managed data warehouse built on a columnar storage format and the Dremel massively parallel query engine, letting you run SQL over petabytes without provisioning. Its compute and storage are decoupled, so it scales elastically and you pay only for queries and stored data; native Looker integration and BI Engine in-memory acceleration directly support analytical workloads. That combination of serverless scalability, ANSI SQL, and built-in BI connectivity is what makes it the correct answer.

Why this answer

BigQuery is a serverless data warehouse that scales to petabytes and uses SQL for analytics. Cloud SQL is for OLTP, Cloud Storage is object storage, and Dataflow is for data processing pipelines.

825
MCQeasy

A company's production database is running on a Compute Engine VM with a 500 GB Persistent Disk. The operations team wants to create a backup they can restore from in case of data corruption or accidental deletion. Which Google Cloud capability provides point-in-time backup for Persistent Disks?

A.Cloud Storage bucket replication, by continuously copying the database files to a storage bucket
B.Persistent Disk Snapshots, which capture the disk state at a point in time and enable restoration or creation of new disks from that snapshot
C.Cloud SQL automated backups, which protect databases running on Compute Engine VMs
D.VM live migration, which moves the running VM between physical hosts, automatically creating a backup in the process
AnswerB

Persistent Disk Snapshots are the correct mechanism. They capture a consistent point-in-time image of the disk (application-consistent when used with snapshot agent or after flushing I/O). Snapshots are stored in Cloud Storage, incremental after the first snapshot, and can be used to create a new disk or restore data.

Why this answer

Persistent Disk Snapshots are the correct Google Cloud feature for creating point-in-time backups of Persistent Disks. They capture the disk's data and configuration at a specific moment, allowing you to restore the disk or create new disks from that snapshot. This is the native, recommended method for backup and disaster recovery of Compute Engine VM disks.

Exam trap

The trap here is that candidates confuse Cloud SQL backups (which are for managed databases) with the need to back up a database running on a Compute Engine VM, leading them to select option C instead of the correct Persistent Disk Snapshots.

How to eliminate wrong answers

Option A is wrong because Cloud Storage bucket replication is a feature for objects in buckets, not for Persistent Disks; continuously copying database files to a bucket would require custom scripting and does not provide crash-consistent point-in-time backups of the entire disk. Option C is wrong because Cloud SQL automated backups protect Cloud SQL managed databases, not databases running on Compute Engine VMs; Cloud SQL is a separate managed service, not a feature for Compute Engine disks. Option D is wrong because VM live migration moves a running VM between physical hosts for maintenance without downtime, but it does not create a backup or capture a point-in-time state of the disk.

Page 10

Page 11 of 12

Page 12