Courseiva

CCNA Fundamental Cloud Concepts Questions

60 questions · Fundamental Cloud Concepts · All types, answers revealed

1
MCQeasy

A data scientist wants to train a machine learning model using a managed service that supports custom TensorFlow code and provides GPU/TPU hardware acceleration. They prefer not to manage the underlying infrastructure. Which Google Cloud service should they use?

A.Compute Engine with pre-installed TensorFlow
B.AI Platform Training (Vertex AI Training)
C.Cloud Functions
D.Google Kubernetes Engine with GPU nodes
AnswerB

Vertex AI Training is a fully managed service designed specifically for custom ML training, handling infrastructure provisioning, job scheduling, and scaling automatically. It supports hardware accelerators like GPUs and TPUs, and provides pre-built containers for TensorFlow, PyTorch, and scikit-learn. This lets the data scientist focus on model code rather than cluster management, making it the correct choice.

Why this answer

AI Platform Training (now Vertex AI Training) is a managed service that allows you to run custom TensorFlow/PyTorch training jobs on pre-configured VM instances with GPUs/TPUs, without managing the cluster.

2
Multi-Selectmedium

An e-commerce platform uses Compute Engine to serve its website. During a flash sale, traffic spikes and some instances become unhealthy. The team wants to automatically replace unhealthy instances and maintain a minimum number of running instances. Which TWO features should they configure? (Choose 2)

Select 2 answers
A.Regional load balancer
B.Managed instance group (MIG)
C.Autohealing (health checks)
D.Cloud CDN
E.Cloud NAT
AnswersB, C

A managed instance group (MIG) is a Google Compute Engine resource that manages a collection of VM instances created from an instance template. It supports autoscaling to add or remove instances based on load, but more importantly it supports autohealing: when you configure a health check, the MIG continuously monitors each instance and automatically deletes and recreates any instance that fails that health check. This makes the MIG the correct enabling service because it provides the instance-management layer that can actually replace unhealthy VMs, keeping the e-commerce site resilient without manual intervention.

Why this answer

Managed instance groups (MIGs) provide autoscaling and autohealing. Autoscaling adjusts the number of instances based on load, and autohealing replaces unhealthy instances automatically.

3
MCQmedium

A startup uses Google Workspace for email and collaboration. They want to add a custom domain to their Gmail accounts. Which service model does Google Workspace represent?

A.PaaS
B.FaaS
C.IaaS
D.SaaS
AnswerD

SaaS (Software-as-a-Service) is a software distribution model where applications are hosted and managed by a vendor, delivered over the internet, typically with a subscription fee, and require no local installation or infrastructure management. Google Workspace epitomizes SaaS: Google provides Gmail, Google Docs, Drive, and Meet as consistent, always-current services with high availability, data redundancy, and centralized admin controls, while subscribers use them directly. The user is not responsible for servers, operating systems, or application upkeep—exactly the SaaS value proposition.

Why this answer

Google Workspace is a SaaS offering where Google manages all infrastructure, including the application, runtime, OS, and hardware.

4
MCQeasy

A developer wants a fully managed environment to deploy containerized applications without managing the underlying infrastructure. They need auto-scaling, load balancing, and a serverless experience. Which Google Cloud service should they choose?

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

Cloud Run is a fully managed serverless container platform that automatically scales instances from zero, handles load balancing and security, and requires no cluster or node management. Developers can deploy any stateless container and pay only for the CPU and memory used during requests, making it the best fit for a fully managed deployment without infrastructure operations.

Why this answer

Cloud Run is a fully managed, serverless container platform that auto-scales, handles load balancing, and charges only for resources used. It abstracts all infrastructure management.

5
MCQmedium

A multinational corporation needs to deploy a global web application that serves users from multiple continents. They want to minimize latency for end users by serving content from the nearest location. Which combination of Google Cloud services should they use?

A.Compute Engine with regional load balancers
B.Cloud Run with Cloud NAT
C.Cloud Load Balancing (global) with Cloud CDN
D.Cloud DNS with Traffic Director
AnswerC

Cloud Load Balancing uses a single anycast IPv4/IPv6 address to route traffic via Google's global network to the closest region with available backend capacity, enabling global load distribution. Cloud CDN then caches static and dynamic content at over 100 edge locations worldwide, drastically reducing latency and offloading requests from the origin. The global external HTTP(S) load balancer automatically handles failover across regions, scales to millions of QPS, and integrates with CDN for cacheable content — making this the correct choice for a global web app.

Why this answer

Cloud Load Balancing (global) with Cloud CDN (Option C) is the correct combination because a global external HTTP(S) load balancer provides a single anycast IP address that routes users to the nearest Google edge location, and Cloud CDN caches content at those edge locations to reduce latency. This architecture ensures that users on different continents are served from the closest point of presence, minimizing round-trip time and improving performance.

Exam trap

The trap here is confusing regional load balancing with global load balancing, or assuming that Cloud DNS or Traffic Director alone can provide CDN-like latency reduction.

How to eliminate wrong answers

Option A is wrong because Compute Engine with regional load balancers only distributes traffic within a single region; it does not provide global load balancing or edge caching, so users in other continents would still experience high latency. Option B is wrong because Cloud Run with Cloud NAT is a serverless compute and network address translation solution; Cloud NAT is for outbound internet access from private instances, not for global traffic distribution or content caching. Option D is wrong because Cloud DNS with Traffic Director is primarily for service discovery and traffic management within a service mesh or for global load balancing of internal services, but it does not include CDN capabilities for caching static content at the edge.

6
MCQmedium

A company needs to run a legacy application that requires full control over the operating system, including custom kernel modules. They want to minimize management overhead for the underlying hardware. Which cloud service model should they use?

A.PaaS
B.FaaS
C.SaaS
D.IaaS
AnswerD

IaaS provides virtualized compute resources (e.g., Compute Engine) where the customer selects the OS image, manages OS patches, and has full administrative control, including kernel tuning. This allows the legacy application to run with its required OS version and dependencies. Google only manages the physical hardware and hypervisor, not the guest OS. Thus IaaS is the right choice.

Why this answer

IaaS provides virtualized computing resources where the customer manages the OS and above, while the cloud provider manages the hardware and hypervisor.

7
Multi-Selecteasy

Which TWO of the following are NIST-defined characteristics of cloud computing?

Select 2 answers
A.High availability
B.Resource pooling
C.Pay-as-you-go pricing
D.Virtualization
E.Measured service
AnswersB, E

Resource pooling is one of the five essential characteristics in NIST SP 800-145. It means the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where physical and virtual resources are dynamically assigned and reassigned according to consumer demand. A critical aspect is location independence: consumers generally have no control or knowledge over the exact resource location, but they may be able to specify at a higher level of abstraction, such as country, state, or datacenter. This pooling enables economies of scale and is foundational to cloud's flexibility.

Why this answer

Option B, resource pooling, is correct because NIST SP 800-145 lists resource pooling as one of the five essential characteristics of cloud computing, describing how provider resources are pooled to serve multiple consumers using a multi-tenant model with dynamically assigned and reassigned physical and virtual resources. Option E, measured service, is also correct because NIST defines measured service as the characteristic whereby cloud systems automatically control and optimize resource use via metering capabilities appropriate to the service type, providing transparency to both provider and consumer. The other options are not among NIST's five essential characteristics: high availability (A) is a common cloud benefit but not a NIST-defined essential characteristic, pay-as-you-go pricing (C) is a billing model rather than one of the five characteristics, and virtualization (D) is an enabling technology frequently used in cloud implementations but is not itself listed as a NIST essential characteristic.

Exam trap

The trap is selecting commonly associated cloud benefits like high availability, virtualization, or pay-as-you-go pricing instead of the exact NIST-defined characteristics; candidates must memorize the five from SP 800-145.

8
Multi-Selectmedium

A company is migrating a legacy monolithic application to Google Cloud. The application has variable traffic and requires a relational database. They want to minimize operational overhead. Which TWO Google Cloud services should they choose? (Choose TWO.)

Select 2 answers
A.Cloud Run
B.Cloud SQL
C.Compute Engine
D.Google Kubernetes Engine
E.BigQuery
AnswersA, B

Cloud Run is a fully managed serverless platform that executes stateless containers and automatically scales from zero to handle each incoming request. For a legacy monolith, you can package it as a container and deploy without managing servers, with built-in request-driven autoscaling and pay-per-use billing. It supports any language and integrates with Cloud SQL for your persistent data, making it the lowest-operational-overhead option for a migrate-to-containers strategy.

Why this answer

Cloud Run (A) is correct because it is a fully managed serverless compute platform that automatically scales containerized workloads up and down based on traffic, which directly addresses the variable traffic requirement while minimizing operational overhead since Google manages the underlying infrastructure. Cloud SQL (B) is correct because it is a fully managed relational database service supporting MySQL, PostgreSQL, and SQL Server, satisfying the relational database requirement without the operational burden of self-managing database instances. Together, Cloud Run and Cloud SQL form a low-overhead, autoscaling stack suited to a migrated monolithic application with fluctuating demand.

Compute Engine (C) is not ideal because it provides raw VMs that the customer must patch, scale, and manage, increasing operational overhead. Google Kubernetes Engine (D) is not chosen because managing clusters adds operational complexity compared to serverless Cloud Run. BigQuery (E) is a serverless analytics data warehouse, not a relational OLTP database, so it does not fit the transactional relational requirement.

Exam trap

GCDL often tests the misconception that managed services like GKE or Compute Engine minimize operational overhead, when in fact they still require significant management compared to serverless options like Cloud Run and fully managed databases like Cloud SQL.

9
Multi-Selecthard

A company runs a critical application on Compute Engine that must always be available, even if an entire zone fails. The application stores state in a Cloud Spanner instance. The operations team wants to test disaster recovery procedures without affecting production. Which TWO actions should they take? (Select two.)

Select 2 answers
A.Use the same Spanner instance but with a different database
B.Perform a manual failover of the production Spanner instance to another region
C.Modify IAM roles to grant testers read-only access to production
D.Create a Cloud Spanner clone from the production instance for testing
E.Restore a backup to a new Cloud Spanner instance
AnswersD, E

Creating a Cloud Spanner clone from the production instance uses storage-level snapshot technology to produce an independent copy of the database in a separate instance, allowing tests to run against near-current data without consuming production resources. This is the recommended approach for development and integration testing because it takes only minutes even for large databases, and the clone is fully isolated with its own compute and storage allocation.

Why this answer

Option D is correct because Cloud Spanner clones create an independent, cost-efficient copy of the production instance (including its databases and data) that can be used for disaster recovery testing without touching production. Option E is correct because restoring a backup to a new Cloud Spanner instance produces a separate instance that is fully isolated from production, so testers can validate recovery procedures safely. Option A is wrong because using a different database on the same production instance still shares the instance's resources and risks impacting production.

Option B is wrong because a manual failover of the production Spanner instance would disrupt the live production system, which the team explicitly wants to avoid. Option C is wrong because read-only IAM access to production does not provide an isolated environment for testing disaster recovery procedures.

Exam trap

The trap is assuming that any copy of production data (same instance, different DB, or read-only access) is safe for DR testing — but only clones and backup restores create truly isolated instances that can be failed over without impacting production.

10
MCQmedium

A data engineer needs to run a one-time complex data transformation job on a large dataset (10 TB) stored in Cloud Storage. The job will take approximately 8 hours and is not fault-tolerant. The engineer wants the cheapest possible compute option that can reliably complete the job. What should they use?

A.Preemptible VMs
B.Committed use discount VMs for 1 year
C.Dataflow with preemptible workers
D.Standard VMs (on-demand) and delete them after the job
AnswerD

Standard on-demand VMs provide guaranteed availability for as long as you need them, with no upfront commitment or termination risk. You can select an instance size matching your transformation's requirements, run the job, and then delete the VM immediately afterward, paying only for the precise compute time consumed. This approach offers direct control over the environment, simplifies debugging, and is cost-effective for a one-time workload because there are no hidden service fees or prolonged obligations. For a job that must complete reliably once, a standard VM that is deleted after use is the most straightforward and dependable choice.

Why this answer

Preemptible VMs can be terminated at any time, so they are not reliable for a non-fault-tolerant job. Standard VMs are reliable and can be stopped after the job to save costs. Committed use discounts require long-term commitment.

Dataflow is a fully managed service but may have a minimum cost; however, the question asks for the cheapest compute option, and standard VMs (with proper sizing) can be cheaper than Dataflow for a one-time job.

11
MCQmedium

A global e-commerce company wants to serve its website from Google Cloud with low latency to users worldwide. The website consists of static content (images, CSS) and dynamic content served by a backend application. Which combination of services should they use?

A.Cloud Storage with Cloud CDN for static content, and Compute Engine instances behind Cloud Load Balancing for dynamic content
B.Compute Engine with Cloud Armor
C.Cloud Functions for all content
D.Cloud Storage only
AnswerA

Cloud Storage buckets serve immutable static assets (HTML, CSS, images) with native HTTP(S) support, and Cloud CDN caches those objects at Google's edge points of presence, minimizing latency and origin load for global users. Dynamic or personalized content—shopping carts, product recommendations, checkout logic—is handled by managed Compute Engine instance groups deployed across regions, fronted by HTTP(S) Load Balancing, which provides a global anycast IP, health checking, and autoscaling. This separation lets each layer scale independently: static delivery is cheap and cacheable, while dynamic backends only process uncached requests.

Why this answer

Serving a global website with both static and dynamic content is best done by offloading static assets to Cloud Storage fronted by Cloud CDN for edge caching, while running the dynamic backend on Compute Engine instances behind Cloud Load Balancing for global anycast routing and health-checked distribution. This combination minimizes latency and scales each tier independently.

Exam trap

GCDL often tests whether candidates recognize that static and dynamic content require different GCP services, so they pick a single-service answer that cannot handle both.

How to eliminate wrong answers

Option B is wrong because Compute Engine with Cloud Armor provides DDoS/WAF protection but does not by itself deliver global low-latency static content caching. Option C is wrong because Cloud Functions is not suited for serving all content types at global scale, especially large static assets and long-running dynamic workloads. Option D is wrong because Cloud Storage alone cannot serve dynamic backend content.

12
MCQmedium

A company wants to run a batch job that processes data every night. They need to provision a VM for this task but want to minimize costs. The job can tolerate interruptions and can be resumed. Which Compute Engine VM option should they use?

A.VM with committed use discount
B.Preemptible VM
C.Sole-tenant node
D.Standard VM
AnswerB

Preemptible VMs are Compute Engine instances that are computationally identical to standard VMs but are offered at a significantly lower price (typically up to 60-80% cheaper) because Google can terminate them at any time should it need the capacity for other workloads. They are ideal for batch processing jobs that can be restarted or that use checkpointing, because a termination simply means the job can be resumed from the last saved state. For a nightly data processing job that is inherently fault-tolerant and can tolerate occasional interruptions, preemptible VMs provide the most cost-effective solution without sacrificing correctness if designed with retry logic.

Why this answer

Preemptible VMs are short-lived, cost-effective instances that can be terminated at any time but are ideal for batch jobs that can handle interruptions.

13
MCQeasy

Which of the following is a key characteristic of cloud computing as defined by NIST that allows users to automatically provision computing resources without requiring human interaction with each service provider?

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

On-demand self-service is the essential characteristic where a consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service provider. This capability is the key differentiator because it directly enables the agility, elasticity, and perception of unlimited resources that organizations expect from cloud computing. It shifts control to the consumer, making it the defining trait in NIST's cloud model.

Why this answer

On-demand self-service is the NIST characteristic that allows consumers to unilaterally provision computing capabilities (e.g., server time, storage) automatically without requiring human interaction with each service provider. This is exactly what the question describes — automatic provisioning without provider interaction. It is one of the five essential characteristics of cloud computing defined in NIST SP 800-145.

Exam trap

GCDL often tests the five NIST characteristics by mixing them up — candidates confuse on-demand self-service with measured service or resource pooling, so memorizing the exact definition of each is essential.

How to eliminate wrong answers

Option A is wrong because measured service refers to automatic monitoring, control, and reporting of resource usage for billing and metering, not self-provisioning. Option B is wrong because resource pooling describes the provider's multi-tenant model where resources are pooled to serve multiple consumers, not the consumer's ability to self-provision. Option D is wrong because broad network access means capabilities are available over the network via standard mechanisms, not that users can provision without human interaction.

14
MCQeasy

An organization needs to store confidential healthcare data in Google Cloud. Which compliance certification ensures that Google Cloud infrastructure meets the required security controls for protected health information (PHI)?

A.ISO 27001
B.SOC 2
C.HIPAA
D.PCI DSS
AnswerC

HIPAA is a U.S. federal law, not merely a standard, that directly governs the use, disclosure, and storage of protected health information (PHI) by covered entities (e.g., healthcare providers, health plans, clearinghouses) and their business associates. It mandates administrative, physical, and technical safeguards, privacy rule requirements, breach notification protocols, and the use of business associate agreements, making it the definitive regulatory framework for confidential healthcare data in the United States. Choosing HIPAA ensures the storage solution aligns with legal obligations for PHI.

Why this answer

HIPAA (Health Insurance Portability and Accountability Act) is the U.S. regulation that governs the protection of protected health information (PHI). Google Cloud offers a HIPAA Business Associate Agreement (BAA) and compliance certification for its infrastructure, ensuring the required security controls for storing PHI are met. This is the specific compliance framework for healthcare data.

Exam trap

GCDL often tests whether candidates confuse general security certifications (ISO 27001, SOC 2) with healthcare-specific compliance (HIPAA) — the trap is selecting a broadly recognized standard instead of the regulation that specifically governs PHI.

How to eliminate wrong answers

Option A is wrong because ISO 27001 is a general information security management standard, not specific to healthcare or PHI — it does not address HIPAA's privacy and security rules for protected health information. Option B is wrong because SOC 2 is an auditing standard for service organizations covering security, availability, and confidentiality, but it is not healthcare-specific and does not certify HIPAA compliance for PHI. Option D is wrong because PCI DSS applies to payment card data, not healthcare data — it governs credit card information security, which is irrelevant to PHI.

15
MCQmedium

A development team is building a microservices-based application and wants to use a service mesh to secure and observe inter-service communication. They are using Google Kubernetes Engine (GKE). Which Google Cloud service should they integrate with GKE to provide service mesh capabilities?

A.Apigee
B.Cloud Traffic Director
C.Cloud Service Mesh (Anthos Service Mesh)
D.Cloud Endpoints
AnswerC

Cloud Service Mesh (Anthos Service Mesh) is the recommended service mesh for GKE, built on Istio and offered as a fully managed service with a Google-managed control plane. It provides end-to-end mTLS, fine-grained traffic management, policy enforcement, and telemetry via Cloud Monitoring and Logging. This makes it the ideal choice for microservices communication, as it directly addresses service-to-service security, reliability, and observability within the cluster without requiring you to manage the control plane infrastructure.

Why this answer

Anthos Service Mesh (ASM) is a fully managed service mesh that provides traffic management, security (mTLS), and observability for microservices running on GKE and other environments.

16
MCQmedium

A global e-commerce platform runs on Compute Engine instances in multiple regions. Users report high latency when accessing the website from South America. The company wants to improve performance by delivering static content (images, CSS, JS) from the nearest edge location. Which Google Cloud service should they implement?

A.Cloud CDN
B.Cloud DNS
C.Cloud Load Balancing
D.Cloud Armor
AnswerA

Cloud CDN uses Google's globally distributed edge points of presence to cache static and dynamic content close to users. It intercepts HTTP(S) requests via the load balancing infrastructure and serves cached responses when possible, which reduces latency and cuts compute engine instance load. For a global e-commerce platform, caching product catalogs and media dramatically accelerates page rendering and improves customer experience.

Why this answer

Cloud CDN uses Google's global edge network (Points of Presence) to cache static content closer to users, reducing latency. Cloud Load Balancing distributes traffic but doesn't cache content. Cloud Armor provides security.

Cloud DNS resolves domain names.

17
MCQeasy

Which statement best describes the shared responsibility model in Google Cloud?

A.Google is responsible for security of the infrastructure; customers are responsible for their data and configurations.
B.Google is responsible for all security aspects, including customer data.
C.Customers are responsible for physical security of data centers.
D.Security is entirely the customer's responsibility in IaaS.
AnswerA

In the shared responsibility model, Google Cloud operates and secures the physical infrastructure layer, including data centers, servers, storage, networking hardware, and the hypervisor. The customer retains responsibility for what they control: their data, identity and access management (IAM) policies, and configuration of services such as encryption, firewalls, and OS-level hardening. This split ensures that each party focuses on the components it is best positioned to protect.

Why this answer

The Google Cloud shared responsibility model divides security duties: Google secures the underlying infrastructure (physical data centers, hardware, network, hypervisor), while customers are responsible for securing what they put in the cloud — their data, configurations, access controls, and application-level security. Option A accurately captures this division.

Exam trap

GCDL often tests the misconception that Google secures everything in the cloud — candidates must remember that data, configurations, and access controls are always the customer's responsibility.

How to eliminate wrong answers

Option B is wrong because Google does not secure customer data or configurations; that responsibility always remains with the customer. Option C is wrong because physical security of data centers is Google's responsibility, not the customer's. Option D is wrong because even in IaaS, Google still secures the physical and foundational layers — security is never entirely the customer's responsibility.

18
MCQhard

An engineer is deploying a global application that requires low latency for users in North America, Europe, and Asia. They plan to use Compute Engine instances in multiple regions. Which Google Cloud resource is essential to distribute traffic and provide a single anycast IP address?

A.Global external HTTP(S) load balancer
B.Cloud CDN
C.Traffic Director
D.Cloud NAT
AnswerA

The Global external HTTP(S) load balancer is correct because it provides a single global anycast IP address, leveraging Google's global network and advanced routing to direct each request to the closest region with available capacity. It supports HTTP(S) traffic, can be integrated with Cloud CDN, and routes to backend services across multiple regions, making it ideal for a global application requiring low latency and one entry point.

Why this answer

Global external HTTP(S) load balancer provides a single anycast IP and distributes traffic across regions, enabling low-latency access worldwide.

19
Multi-Selecteasy

A retail company wants to reduce latency for customers in Europe and Asia by hosting their application closer to users. They also need high availability in case of a regional outage. Which TWO actions should they take?

Select 2 answers
A.Deploy the application in multiple regions
B.Use a single region with multiple zones
C.Enable Cloud CDN on the application
D.Configure a global load balancer
E.Increase machine size in a single zone
AnswersA, D

Running the application in multiple GCP regions, such as europe-west1 and europe-west4, places compute capacity near EU users, cutting round-trip time. It also enables active-active or active-passive failover, so if one region fails traffic can be served from another, improving availability.

Why this answer

Option A (Deploy the application in multiple regions) is correct because placing application instances in multiple geographic regions is the only way to actually host the application closer to users in both Europe and Asia, directly reducing latency for each user population. Option D (Configure a global load balancer) is correct because a global load balancer (such as a Google Cloud global external HTTP(S) load balancer with a single anycast IP) routes each user to the nearest healthy regional backend and automatically fails over to another region during a regional outage, satisfying the high-availability requirement. Option B (single region with multiple zones) does not belong because multiple zones protect only against zonal failures within one region, not a full regional outage, and it cannot bring the application closer to both Europe and Asia.

Option C (Cloud CDN) does not belong because caching static content reduces latency for cacheable assets but does not by itself provide multi-region application hosting or regional failover for dynamic workloads. Option E (increase machine size in a single zone) does not belong because vertical scaling in one zone neither reduces geographic latency nor provides resilience against a regional outage.

Exam trap

GCDL often tests the misconception that a single region with multiple zones or a CDN alone can provide both low latency for global users and high availability against regional outages, when in fact multiple regions and a global load balancer are required.

20
MCQmedium

A startup wants to deploy a containerized web application without managing servers or clusters. They need automatic scaling, a managed runtime, and pay only for resources used. Which Google Cloud service should they choose?

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

Cloud Run runs stateless containers on a fully managed serverless platform, automatically scaling from zero based on incoming requests and charging only for CPU and memory used during request processing. Since you simply provide a container image that implements an HTTP server, a containerized web app can be deployed with zero infrastructure provisioning, making it the lowest-friction, pay-per-use option for a startup.

Why this answer

Cloud Run is a fully managed serverless platform for containers that automatically scales and charges only for resources used. It fits the requirements perfectly.

21
MCQhard

A DevOps engineer notices that a Cloud Function is timing out after 9 minutes. The function performs a long-running data transformation. They need to increase the timeout. What is the maximum timeout they can set for a Cloud Function (1st gen)?

A.15 minutes
B.9 minutes
C.30 minutes
D.60 minutes
AnswerB

9 minutes (540 seconds) is the correct maximum timeout for 1st gen Cloud Functions. This is a platform-enforced hard limit; you can configure the timeout field to any value between 1 and 540 seconds, but values above that are not accepted.

Why this answer

For Google Cloud Functions (1st gen), the maximum configurable timeout is 9 minutes (540 seconds). The question states the function is already timing out at 9 minutes, which is the ceiling — the engineer cannot increase it further in 1st gen. To exceed 9 minutes, they must migrate to Cloud Functions 2nd gen (which supports up to 60 minutes) or use Cloud Run.

Exam trap

GCDL often tests the exact numeric limits of Cloud Functions 1st gen vs 2nd gen, and candidates who remember '60 minutes' from Cloud Run or 2nd gen incorrectly pick it for a 1st gen question.

How to eliminate wrong answers

Option A is wrong because 15 minutes is not a valid 1st gen Cloud Functions timeout — 15 minutes is the maximum for Cloud Run jobs and some other compute services, but not 1st gen functions. Option C is wrong because 30 minutes is not a 1st gen limit; it is closer to Cloud Run's request timeout ceiling (60 minutes) and is a distractor. Option D is wrong because 60 minutes is the maximum timeout for Cloud Functions 2nd gen (and Cloud Run), not 1st gen — choosing this reflects confusion between generations.

22
MCQmedium

An e-commerce company is experiencing traffic spikes during flash sales. They need their application to automatically scale up and down based on CPU utilization, without manual intervention. Their application runs on a managed platform. Which feature should they enable?

A.Schedule regular snapshots
B.Set up VPC peering
C.Configure a load balancer
D.Enable autoscaling
AnswerD

Autoscaling automatically adjusts the number of VM instances in a managed instance group based on demand metrics such as CPU utilization, requests per second, or queue depth. When traffic spikes, autoscaling proactively or reactively provisions additional instances to maintain performance, then scales down during lulls to control cost. This makes it the correct mechanism for handling unpredictable e-commerce traffic spikes.

Why this answer

Autoscaling is the correct feature to automatically adjust the number of instances based on metrics like CPU utilization. Load balancing distributes traffic, snapshots are for backups, and VPC peering connects networks.

23
MCQeasy

What is a key benefit of using a Platform as a Service (PaaS) offering like App Engine compared to Infrastructure as a Service (IaaS) like Compute Engine?

A.Lower cost for always-on workloads
B.No need to manage the underlying OS or runtime environment
C.Full control over the operating system and hardware
D.Ability to install custom software on the server
AnswerB

The defining characteristic of PaaS is that the vendor owns and operates the entire stack below your application code, including the operating system, runtime interpreter, and middleware libraries. You are responsible only for uploading and deploying your application, while the provider handles patching, security, and infrastructure scaling. This abstraction eliminates the operational burden of OS administration, which is why this is considered a key benefit.

Why this answer

PaaS platforms like App Engine abstract away the operating system, runtime patches, scaling, and infrastructure management, so developers only ship application code. IaaS like Compute Engine gives you a VM where you remain responsible for OS patching, runtime installation, and capacity planning. The core PaaS benefit is therefore the elimination of OS/runtime management overhead.

Exam trap

The trap here is conflating 'managed service' with 'cheaper' or 'more control' — GCDL frequently tests the direction of the abstraction trade-off: PaaS removes management burden but also removes control, while IaaS is the opposite.

How to eliminate wrong answers

Option A is wrong because PaaS is not inherently cheaper for always-on workloads — App Engine Standard's instance-hour pricing can exceed a committed-use Compute Engine VM for steady-state traffic, and cost depends heavily on scaling pattern. Option C is wrong because full control over the OS and hardware is a hallmark of IaaS (Compute Engine, bare metal), not PaaS; App Engine sandboxes the runtime and forbids OS-level access. Option D is wrong because installing arbitrary custom software on the server is only possible with IaaS VMs or containers you manage — App Engine restricts you to supported runtimes and libraries, which is precisely the trade-off PaaS makes.

24
MCQmedium

A data analytics team processes large datasets using Apache Spark. They want a fully managed service that allows them to run Spark jobs without provisioning clusters. Which Google Cloud service should they use?

A.BigQuery
B.Dataflow
C.Dataproc
D.Cloud Dataprep
AnswerC

Dataproc is Google Cloud's managed service for running Apache Spark and Hadoop clusters, providing native Spark support with custom cluster configurations, autoscaling, and integration with cloud storage. Dataproc Serverless further allows teams to run Spark jobs without provisioning or managing any cluster infrastructure at all. This makes Dataproc the straightforward choice for a team already using Spark.

Why this answer

Dataproc is Google Cloud's fully managed Apache Spark and Hadoop service, letting teams submit Spark jobs to ephemeral or long-running clusters without provisioning infrastructure themselves. It supports Spark, Spark SQL, PySpark, Hive, and Pig, and integrates with Cloud Storage and BigQuery as data sources. That matches the requirement exactly.

Exam trap

GCDL often tests the difference between 'managed Spark' (Dataproc) and 'managed Beam' (Dataflow) — candidates who see 'large datasets' and 'processing' often jump to Dataflow or BigQuery without noticing the explicit Apache Spark requirement.

How to eliminate wrong answers

Option A is wrong because BigQuery is a serverless data warehouse with its own SQL engine — it does not run arbitrary Apache Spark jobs, even though it can query external data and supports Spark via the BigQuery connector. Option B is wrong because Dataflow is a managed Apache Beam runner for stream and batch pipelines; it executes Beam pipelines, not native Spark jobs, and requires rewriting Spark code into Beam. Option D is wrong because Cloud Dataprep is a UI-driven data preparation tool (powered by Trifacta) for visual cleansing and transformation, not a Spark job execution platform.

25
Multi-Selectmedium

A company is designing a disaster recovery strategy for a critical application. They need to ensure that if an entire Google Cloud region becomes unavailable, the application can still serve traffic from another region with minimal data loss. Which TWO strategies should they implement? (Choose 2.)

Select 2 answers
A.Deploy the application in multiple regions
B.Use synchronous replication for the database
C.Deploy the application in multiple zones within a single region
D.Use asynchronous replication for the database
E.Use a single load balancer
AnswersA, B

Running workloads across multiple regions means a surviving region can absorb traffic when one fails, satisfying the requirement to keep serving requests during a full regional outage. Pairing this with data replication addresses the minimal-data-loss constraint, since regional failover alone does not protect stored data.

Why this answer

Option A is correct because deploying the application in multiple regions ensures that if an entire Google Cloud region becomes unavailable, the application can continue serving traffic from another region, directly addressing the requirement for regional failover. Option B is correct because synchronous replication writes data to the standby database in another region before acknowledging the write, which minimizes data loss (near-zero RPO) as required by the scenario. Option C is incorrect because multiple zones within a single region do not protect against a full regional outage.

Option D is incorrect because asynchronous replication can result in some data loss during failover, which conflicts with the minimal data loss requirement. Option E is incorrect because a single load balancer does not provide cross-region redundancy and could itself become a single point of failure.

Exam trap

The trap is confusing zone redundancy with region redundancy — candidates often select 'multiple zones' thinking it covers regional failure, and may also pick asynchronous replication because it sounds more scalable, missing the 'minimal data loss' requirement.

26
MCQeasy

Which of the following is a characteristic of the cloud according to the NIST definition?

A.Measured service
B.Manual scaling
C.Limited network access
D.Single tenancy
AnswerA

Measured service is the cloud attribute whereby the provider continuously meters, monitors, and controls resource usage (compute, storage, networking) to provide transparent, pay-per-use billing. This metering enables cost optimization by allowing customers to align spending with actual consumption, and it is a core NIST essential characteristic that distinguishes cloud from traditional IT.

Why this answer

The NIST SP 800-145 definition of cloud computing lists five essential characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. Measured service means cloud providers automatically monitor, control, and report resource usage (storage, processing, bandwidth, active user accounts) via metering capabilities, providing transparency to both provider and consumer. This pay-per-use metering model is a defining trait of cloud computing.

Exam trap

The trap here is confusing the five NIST essential characteristics with generic cloud benefits — candidates often pick 'manual scaling' or 'single tenancy' because they sound plausible but actually contradict elasticity and resource pooling.

How to eliminate wrong answers

Option B is wrong because manual scaling contradicts the NIST characteristic of rapid elasticity, where resources can scale automatically and elastically with demand. Option C is wrong because the NIST definition requires broad network access, meaning services are available over the network via standard mechanisms, not limited access. Option D is wrong because NIST specifies resource pooling with a multi-tenant model, where physical and virtual resources are pooled to serve multiple consumers — not single tenancy.

27
MCQeasy

According to the shared responsibility model, which of the following is the customer responsible for?

A.Physical security of data centers
B.Network infrastructure security
C.Data encryption and access control (IAM)
D.Hypervisor security
AnswerC

Customers retain responsibility for encrypting their data both at rest and in transit, as well as for defining and enforcing access control through IAM policies. This includes managing encryption keys (via Cloud KMS or customer-supplied keys), configuring identity and role-based access, and applying organizational policies. Since these are direct customer actions within the cloud console and APIs, this is the correct choice.

Why this answer

Under the shared responsibility model, customers are responsible for securing their data and controlling access to it. This includes encrypting data (at rest and in transit, where applicable) and managing identity and access with IAM policies. Google secures the physical and foundational infrastructure but does not manage customer IAM or data encryption choices.

Exam trap

GCDL often tests the misconception that Google handles encryption and access control by default — candidates must remember that IAM and data encryption configuration are customer responsibilities.

How to eliminate wrong answers

Option A is wrong because physical security of data centers is Google's responsibility, not the customer's. Option B is wrong because network infrastructure security (the underlying Google network) is managed by Google. Option D is wrong because hypervisor security is part of Google's managed infrastructure layer, not the customer's responsibility.

28
MCQmedium

A company is migrating its on-premises data warehouse to Google Cloud. The data warehouse contains structured relational data (sales transactions, customer records) and is queried using standard SQL. The company wants to separate compute and storage costs and automatically scale compute resources up and down based on query load. Which Google Cloud service is most appropriate?

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

BigQuery's separation of storage and compute lets slots scale independently of data at rest, satisfying the automatic scaling constraint. Its columnar, SQL-native engine handles structured relational sales and customer data without provisioning servers, unlike Cloud SQL or Dataproc, which couple compute to storage or require cluster management.

Why this answer

BigQuery is a serverless data warehouse that separates compute and storage, scales automatically, and supports standard SQL. Cloud SQL is for OLTP, not data warehousing. Spanner is globally distributed OLTP.

Dataproc is for Hadoop/Spark workloads, not directly for SQL warehousing.

29
MCQmedium

A company wants to use Google Cloud for a workload that requires compliance with PCI DSS. Which of the following is a Google responsibility under the shared model?

A.Configuring firewall rules to protect cardholder data
B.Managing access keys for cardholder data
C.Encrypting cardholder data at rest
D.Patching the hypervisor
AnswerD

Patching the hypervisor is a Google responsibility because the hypervisor is a core component of the infrastructure that hosts all customer virtual machines and is fully managed by Google. Google performs security patches and updates to the hypervisor without customer involvement, ensuring that vulnerabilities in the virtualization layer are addressed. This is a clear example of where the cloud provider, not the customer, maintains the security of the foundational compute environment.

Why this answer

Google is responsible for maintaining the security of the infrastructure, including the hypervisor, network, and physical security, which are part of PCI DSS compliance scope for the cloud provider.

30
MCQhard

A global gaming company needs to serve low-latency content to players worldwide. They want to cache static assets (images, videos) at edge locations closest to users. Which Google Cloud product should they use?

A.Cloud Storage
B.Cloud CDN
C.Compute Engine with global load balancer
D.Cloud Spanner
AnswerB

Cloud CDN caches static assets at Google's globally distributed edge points of presence, serving images and video from locations nearest each player. This reduces origin round trips and latency, meeting the worldwide low-latency caching requirement.

Why this answer

Cloud CDN uses Google's global edge network Points of Presence (PoPs) to cache content, reducing latency for users worldwide.

31
MCQeasy

A small marketing agency currently runs its customer relationship management (CRM) application on a physical server in its office closet. The server is five years old, and the agency's IT consultant has warned that a disk failure could take the CRM offline for days. The agency wants to move the CRM to Google Cloud so that it can scale capacity up or down as campaign volumes change, without buying new hardware. Which cloud computing benefit does this scenario primarily illustrate?

A.Vendor lock-in, allowing the agency to depend on a single provider for all services
B.Elasticity, allowing resources to scale automatically with demand
C.Colocation, allowing the server to be housed in a third-party data center
D.High availability, guaranteeing the CRM will never experience an outage
AnswerB

Elasticity means the agency can provision more compute or storage during busy campaign periods and release it afterward, paying only for what it uses. This directly solves the problem of fixed physical hardware that cannot grow or shrink, and it eliminates the multi-day downtime risk tied to a single aging server in an office closet.

Why this answer

The agency's core problem is fixed on-premises capacity that cannot flex with campaign demand and depends on aging hardware. Elasticity lets compute and storage resources expand during peak periods and contract afterward, with consumption-based billing. This removes the need to purchase new servers and directly addresses the scaling requirement described in the scenario.

Exam trap

The trap here is assuming that any cloud benefit involving reliability or scaling automatically maps to high availability, when the scenario is really about matching capacity to fluctuating demand.

32
MCQeasy

An organization wants to reduce latency for users in Europe. They plan to deploy their application in a Google Cloud region located in Europe. Which region should they choose?

A.us-central1
B.asia-east1
C.australia-southeast1
D.europe-west1
AnswerD

europe-west1 is located in St. Ghislain, Belgium, placing it in close geographic proximity to major European population centers such as London, Paris, and Frankfurt. This region benefits from Google's low-latency European backbone and multiple availability zones, enabling round-trip times in the tens of milliseconds for users across Western Europe. Deploying workloads here minimizes network hops and intercontinental cable crossings, directly addressing the goal of reducing latency for users in Europe.

Why this answer

europe-west1 is a Google Cloud region physically located in Belgium, so deploying there places compute and storage close to European users, reducing network round-trip latency. The other options are regions on different continents, which would add transatlantic or transpacific latency for European users.

Exam trap

The trap is overthinking region selection — candidates may look for a specific city or assume a US region is a safe default, but the question simply tests whether you know which listed region is in Europe.

How to eliminate wrong answers

Option A is wrong because us-central1 is in Iowa, USA, so European users would incur transatlantic latency. Option B is wrong because asia-east1 is in Taiwan, which is even farther from Europe and would add significant latency. Option C is wrong because australia-southeast1 is in Sydney, Australia, which is on the opposite side of the globe from European users.

33
MCQmedium

A security administrator needs to grant a developer the minimum permissions to create and delete Cloud Storage buckets in a specific project, but NOT allow them to modify the contents of those buckets (e.g., upload or delete objects). Which IAM role should they assign?

A.Storage Admin (roles/storage.admin)
B.Storage Object Admin (roles/storage.objectAdmin)
C.Custom role with storage.buckets.* permissions
D.Project Editor (roles/editor)
AnswerC

A custom role with storage.buckets.* permissions is the correct choice because it allows you to define a precise set of bucket-level operations—such as storage.buckets.create, storage.buckets.get, storage.buckets.update, and storage.buckets.delete—while explicitly excluding all object-related permissions (e.g., storage.objects.*). This granularity enforces least privilege by ensuring the developer can manage the bucket lifecycle but cannot view, upload, or delete any objects stored within those buckets. Unlike predefined roles that couple bucket and object access, this custom role minimizes the attack surface and aligns with security best practices for infrastructure management.

Why this answer

Storage Admin (roles/storage.admin) grants full control over buckets and objects, which is too permissive. The correct approach is to create a custom role with only storage.buckets.* permissions, or use predefined roles like Storage Object Admin? Actually, Storage Object Admin allows object management. The question requires bucket management only.

A custom role with storage.buckets.create and storage.buckets.delete (and maybe storage.buckets.get) is necessary; predefined roles do not separate bucket and object permissions perfectly. But among standard roles, 'Storage Admin' is too broad; there is no predefined role that only allows bucket management without object access. So the answer must be a custom role.

34
MCQhard

A company is using Cloud SQL for MySQL and notices that read queries are becoming slow as the application scales. They want to offload read traffic from the primary instance to improve performance. Which Cloud SQL feature should they enable?

A.Automatic failover replicas
B.Connection pooling
C.Point-in-time recovery
D.Read replicas
AnswerD

Read replicas are asynchronous copies of the primary instance that support only read-only traffic. By routing SELECT queries to read replicas, you reduce the read load on the primary and increase overall scalability. This is the correct approach for offloading reads, though applications must be configured to use the replica endpoints, and data may experience a slight replication lag.

Why this answer

Read replicas in Cloud SQL for MySQL are designed specifically to offload read traffic from the primary instance by maintaining an asynchronous copy of the data that applications can query directly. By directing SELECT queries to one or more read replicas, the primary instance is freed up to handle write operations, improving overall throughput and reducing latency on the primary. This is the standard horizontal scaling pattern for read-heavy Cloud SQL workloads.

Exam trap

The trap here is confusing high-availability/failover replicas with read replicas — both are called 'replicas,' but only read replicas serve client read traffic, while failover replicas are passive standbys.

How to eliminate wrong answers

Option A is wrong because automatic failover replicas (high-availability configuration) exist to provide automatic failover of the primary instance in the event of a zone or instance failure, not to serve read traffic — they are a standby and do not accept client reads. Option B is wrong because connection pooling reduces the overhead of opening and closing database connections; it improves connection efficiency but does not distribute read queries away from the primary instance. Option C is wrong because point-in-time recovery is a backup/restore capability that lets you recover a database to a specific timestamp, and has nothing to do with scaling read throughput.

35
MCQeasy

A company wants to ensure that their customer data stored in BigQuery is encrypted at rest using customer-managed encryption keys (CMEK). Which Google Cloud service should they use to manage these keys?

A.Cloud HSM
B.Identity-Aware Proxy (IAP)
C.Cloud Key Management Service (Cloud KMS)
D.Secret Manager
AnswerC

Cloud Key Management Service (Cloud KMS) is the core service for customer-managed encryption keys (CMEK), allowing you to create, import, rotate, disable, and destroy keys that control the encryption of data in Google Cloud services like Cloud Storage, Compute Engine, and BigQuery. When you use CMEK, each service requests the key from Cloud KMS to perform envelope encryption, and Cloud KMS enforces IAM-based permissions and audit logging on every key operation. This gives customers the ability to manage the full key lifecycle, making Cloud KMS the correct choice for the stated requirement.

Why this answer

Cloud Key Management Service (Cloud KMS) allows customers to create, manage, and use encryption keys, including CMEK for BigQuery and other GCP services.

36
MCQmedium

A developer needs to deploy a containerized microservice that scales to zero when not in use and automatically scales up on incoming traffic. The microservice uses a custom container image that listens on port 8080. Which Google Cloud compute service is BEST suited for this requirement?

A.Cloud Functions
B.Cloud Run
C.Google Kubernetes Engine (GKE) with Horizontal Pod Autoscaler
D.App Engine standard environment
AnswerB

Cloud Run is a fully managed serverless compute platform that executes stateless HTTP-driven containers, automatically scaling to zero when idle and scaling up instantly to handle incoming requests. It supports any container image that listens on a port, making it an ideal fit for deploying a containerized microservice without managing infrastructure, and you pay only while the container is processing requests.

Why this answer

Cloud Run is a managed compute platform that runs stateless containers, automatically scales (including to zero), and charges only for resources used during request processing. It fits the requirement perfectly. GKE requires managing a cluster and doesn't scale to zero by default; App Engine standard environment has a sandbox that may not support custom containers; Cloud Functions is limited to specific runtimes.

37
MCQmedium

An organization wants to use Google Cloud to analyze large-scale genomic data. The data is stored in Cloud Storage in a compressed format. They need to run a custom Python pipeline that preprocesses the data and then uses a GPU-intensive algorithm for alignment. The preprocessing is CPU-bound and takes 30 minutes per sample, while the alignment takes 1 hour per sample on a GPU. They have thousands of samples. Which compute approach is MOST cost-effective?

A.Use committed use discounts for 1 year on GPU instances
B.Use regular VMs with both CPU and GPU on the same instance
C.Use preemptible VMs with CPU for preprocessing and preemptible VMs with GPU for alignment, with checkpointing
D.Use sole-tenant nodes for data isolation
AnswerC

Preemptible VMs cost up to 70-80% less than standard VMs and are killed by Google Compute Engine within 24 hours, making them ideal for fault-tolerant batch tasks. By splitting the pipeline into CPU-based preprocessing and GPU-based alignment on separate preemptible VM groups, you avoid mixing resource types and can automatically restart interrupted tasks from checkpointed state. This minimizes compute spend while still completing the analysis, and is the most cost-effective approach for a finite workload.

Why this answer

Preemptible VMs are significantly cheaper (up to 80% discount) than regular VMs, and the workload is fault-tolerant if checkpointing is used. The preprocessing is CPU-bound and the alignment is GPU-bound, so using preemptible CPU VMs for preprocessing and preemptible GPU VMs for alignment minimizes cost. Checkpointing allows the pipeline to resume after a preemption without losing all progress, making this the most cost-effective approach for thousands of samples.

Exam trap

The trap is assuming that committed use discounts or sole-tenant nodes are cost-effective for batch workloads; candidates often overlook preemptible VMs with checkpointing as the cheapest option for fault-tolerant, interruptible jobs.

How to eliminate wrong answers

Option A is wrong because committed use discounts require a 1-year commitment and still cost more than preemptible VMs for a batch workload that can tolerate interruptions; they are better for steady-state, long-running workloads. Option B is wrong because using regular VMs with both CPU and GPU on the same instance is more expensive than using separate preemptible instances tailored to each phase, and it does not leverage the cost savings of preemptible VMs. Option D is wrong because sole-tenant nodes are for physical isolation and compliance, not cost optimization; they are significantly more expensive and do not address the cost-effectiveness requirement.

38
MCQmedium

A company is migrating a legacy monolithic application to Google Cloud. The application currently runs on a single physical server with a custom Linux distribution. The team wants to minimize changes to the application while gaining the benefits of cloud infrastructure. Which migration strategy should they use?

A.Rehost the application on Compute Engine using a custom image of the current OS
B.Rebuild the application from scratch on Cloud Run
C.Re-platform the application to a supported OS version
D.Refactor the application into microservices and deploy on GKE
AnswerA

Rehosting on Compute Engine with a custom image of the current OS is a classic 'lift-and-shift' strategy that preserves the exact kernel, libraries, and configuration of the legacy environment. Because no code changes or architectural changes are required, this approach minimizes migration risk and time-to-completion, allowing the team to move the application as-is. The custom image ensures parity with the on-premises OS, avoiding issues with unsupported or altered system dependencies.

Why this answer

Lift and shift (rehosting) moves the application as-is to the cloud, often by creating a custom image to run on Compute Engine. This minimizes changes. Refactoring (rearchitecting) involves code changes; re-platforming modifies the OS/platform; rebuilding is a full rewrite.

39
MCQeasy

Which Google Cloud tool allows customers to measure the gross carbon emissions associated with their Google Cloud usage?

A.Google Cloud's Sustainability API
B.Carbon Footprint dashboard in the Google Cloud Console
C.Cloud Monitoring
D.Cloud Audit Logs
AnswerB

The Carbon Footprint dashboard in the Google Cloud Console is the correct tool. It provides a per-project and per-service breakdown of gross carbon emissions (in metric tons of CO2e) associated with your GCP resource usage. The dashboard uses Google's region-specific carbon intensity data and includes monthly trends, making it the primary interface for customers to measure their gross operational carbon footprint.

Why this answer

The Carbon Footprint dashboard in the Google Cloud Console is the built-in tool that reports gross carbon emissions attributable to a customer's Google Cloud project usage, broken down by service, region, and month. It uses the same billing data that powers cost reports and applies Google's regional grid carbon intensity factors to estimate emissions.

Exam trap

GCDL often tests whether candidates confuse operational monitoring tools (Cloud Monitoring, Audit Logs) with the dedicated sustainability reporting surface, and whether they invent non-existent APIs like a 'Sustainability API'.

How to eliminate wrong answers

Option A is wrong because there is no product called the 'Sustainability API' in Google Cloud — the sustainability features are surfaced through the Carbon Footprint dashboard and exported to BigQuery, not a dedicated API. Option C is wrong because Cloud Monitoring tracks operational metrics like CPU, latency, and uptime, not carbon emissions. Option D is wrong because Cloud Audit Logs record administrative and data-access activity for compliance, not environmental impact.

40
MCQmedium

A financial services company is required to keep all data within a specific geographic region for regulatory compliance. They plan to deploy a globally distributed application using Cloud Spanner. How should they configure Cloud Spanner to meet this compliance requirement?

A.Use a multi-region configuration with a write region in the required region
B.Use a multi-region configuration but restrict access to only one region
C.Use a single-region configuration in the required region
D.Use a dual-region configuration
AnswerC

A single-region configuration stores all data and all replicas within the chosen region, using zonal redundancy to protect against zone failures while keeping every copy inside the required geographic boundary. This satisfies data residency mandates because no data is replicated outside the specified region. It is the correct choice when the compliance requirement prohibits storing data in any other region.

Why this answer

Cloud Spanner allows you to choose specific regions for your instance, and replicas are placed only within that region. Multi-region configurations span multiple geographic areas and would violate the data residency requirement. Therefore, a single-region configuration is required.

41
MCQeasy

A startup needs to migrate an on-premises web application to the cloud with minimal operational overhead. The application runs on a custom runtime that is difficult to containerize. The team wants to focus only on code, not infrastructure management. Which Google Cloud service is MOST appropriate?

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

App Engine is a fully managed Platform-as-a-Service (PaaS) that abstracts away the underlying infrastructure and runtime. Developers simply upload their source code, and App Engine handles provisioning, load balancing, autoscaling, and health checks. It supports standard environments such as Python, Java, Node.js, Go, and PHP, making it the lowest-effort option for migrating an existing web application without requiring containerization or cluster management.

Why this answer

App Engine is a fully managed platform-as-a-service that lets teams deploy code without managing servers, and it supports custom runtimes via flexible environment. For a startup wanting minimal operational overhead and a custom runtime that is hard to containerize, App Engine's flexible environment is the most appropriate fit. It handles scaling, patching, and infrastructure while letting the team focus on code.

Exam trap

GCDL often tests the distinction between 'serverless containers' (Cloud Run) and 'fully managed PaaS with custom runtimes' (App Engine Flexible), causing candidates to pick Cloud Run even when containerization is explicitly difficult.

How to eliminate wrong answers

Option A is wrong because Compute Engine is IaaS — the team would still manage VMs, OS patching, and scaling, which contradicts the 'minimal operational overhead' requirement. Option B is wrong because GKE requires managing Kubernetes clusters and containerizing the app, which the team explicitly wants to avoid. Option D is wrong because Cloud Run requires the application to be packaged as a container, which is difficult for this custom runtime.

42
MCQhard

A company stores sensitive healthcare data in Google Cloud and must comply with HIPAA. They are using Cloud Storage and BigQuery. Which of the following is the customer responsible for under the shared responsibility model?

A.Physical security of data centers
B.Implementing IAM policies to restrict access to healthcare data
C.Hardware maintenance of storage servers
D.Network infrastructure security
AnswerB

Customers must implement Cloud IAM policies to enforce least privilege and restrict access to healthcare data to authorized users and services. This involves creating custom roles, binding roles to principals, and applying organizational policies to define who can view or modify sensitive datasets. In the shared responsibility model, data access governance is explicitly a customer obligation; Google only provides the underlying identity management infrastructure. For healthcare data, this is critical for HIPAA compliance and to meet data access audit requirements.

Why this answer

Under the shared responsibility model, the customer is responsible for access management (IAM), encryption of data at rest and in transit, and configuring firewall rules. Google is responsible for the physical security of data centers, hypervisor, and network infrastructure.

43
MCQmedium

A regional accounting firm is moving its document management system to Google Cloud. The firm's partners are concerned about where client financial records will physically reside and want assurance that the data stays within their country. They also want to understand who is responsible for securing the underlying physical data center versus the application configuration. Which statement accurately describes the Google Cloud shared responsibility model in this context?

A.The firm is responsible for physical data center security because it retains ownership of the data, while Google only manages software updates
B.Google is responsible for securing both the infrastructure and all customer data, so the firm does not need to configure access controls
C.Google is responsible for the security of the cloud, including physical data centers and hardware, while the firm is responsible for security in the cloud, including data and application configuration
D.Responsibility is split evenly, with Google and the firm jointly configuring the hypervisor and guest operating system for every workload
AnswerC

Under the shared responsibility model, Google secures the infrastructure that runs all services, such as data centers, networking, and hardware, while the customer secures what it puts in the cloud, including data, access policies, and application settings. This division lets the firm focus on its document system configuration while relying on Google for physical safeguards.

Why this answer

The shared responsibility model divides duties: Google handles security of the cloud, meaning the physical facilities, hardware, and core infrastructure, while the customer handles security in the cloud, meaning data, identities, and application configuration. The firm retains control over client records and access settings, while relying on Google for data center safeguards and residency through region selection.

Exam trap

The trap here is believing that moving to the cloud transfers all security duties to the provider, when customers always remain responsible for their data and configuration.

44
MCQmedium

A company wants to run a batch job that processes large files (up to 100 TB each) using a custom Linux executable. The job runs once a month and takes about 12 hours. They want to minimise cost. Which compute option should they choose?

A.Compute Engine with preemptible VMs
B.Compute Engine with standard VMs
C.Cloud Run
D.App Engine Flexible Environment
AnswerA

Preemptible VMs are a cost-effective choice for fault-tolerant batch jobs because they are priced up to 80% lower than standard VMs and can run for up to 24 hours, which fits the job's duration. The key requirement is that the batch job must handle preemption events gracefully—using checkpoints, retries, or restarting from the last saved state—which ensures uninterrupted processing of large files despite possible interruptions. Given the explicit tolerance for interruptions, preemptible VMs reduce cost without compromising completion, making them the optimal compute service for this use case.

Why this answer

For a monthly batch job processing large files (up to 100 TB) with a custom Linux executable, preemptible VMs on Compute Engine offer the lowest cost. Preemptible VMs are significantly cheaper than standard VMs and are suitable for batch jobs that can tolerate interruptions, as the job can be restarted if preempted. Since the job runs once a month for about 12 hours, the cost savings outweigh the risk of preemption.

Exam trap

The trap is overlooking preemptible VMs because of the assumption that batch jobs require guaranteed availability, when in fact the cost savings and tolerance for interruption make them the best choice for this scenario.

How to eliminate wrong answers

Option B is wrong because standard VMs are more expensive than preemptible VMs and do not provide cost savings for a batch job that can tolerate interruptions. Option C is wrong because Cloud Run is a serverless platform for containerized applications, not suitable for running custom Linux executables on large files with 100 TB scale; it has time and resource limits. Option D is wrong because App Engine Flexible Environment is designed for web applications and services, not for batch processing of large files with custom executables.

45
Multi-Selectmedium

A company is deploying a microservices architecture on Google Cloud and wants to ensure secure communication between services. Which THREE measures should they implement? (Choose THREE.)

Select 3 answers
A.Configure firewall rules to allow only necessary traffic
B.Enable VPC Flow Logs to capture network metadata
C.Assign public IP addresses to all services
D.Use a service mesh with mutual TLS (mTLS) between services
E.Use the same service account for all services
AnswersA, B, D

VPC firewall rules act as the first line of defense by controlling ingress/egress traffic at the network layer. In GCP, every VM or GKE node's interface can be governed by hierarchical or tag-based rules, enabling segmentation between microservice tiers. Restricting traffic to only the required ports and source/destination CIDRs or service tags dramatically reduces the attack surface and limits lateral movement during a breach.

Why this answer

Using service mesh (e.g., Anthos Service Mesh) enables mTLS between services. Configuring firewall rules restricts network traffic. Enabling VPC Flow Logs helps monitor and audit traffic.

46
MCQmedium

An e-commerce company experiences unpredictable traffic spikes. They need to ensure their web application automatically scales out during high demand and scales in when demand drops, paying only for resources used. Which cloud benefit best describes this?

A.Economies of scale
B.Broad network access
C.Elasticity
D.Reliability
AnswerC

Elasticity is the cloud attribute that provisions and releases IT resources automatically to match current demand, often via auto-scaling policies or real-time monitoring. For an e-commerce site, this means adding virtual servers during a flash sale and removing them after the surge, preventing both over-provisioning and performance degradation. This dynamic, bidirectional scaling is exactly what addresses unpredictable traffic spikes.

Why this answer

Elasticity is the cloud characteristic that allows resources to automatically scale out during demand spikes and scale in when demand drops, so the company pays only for what it uses. This matches the e-commerce scenario of unpredictable traffic. It is a core benefit of cloud computing.

Exam trap

The trap is confusing elasticity with scalability or reliability; candidates may pick reliability because it sounds like a benefit, but the key phrase is 'automatically scales out and scales in' which defines elasticity.

How to eliminate wrong answers

Option A is wrong because economies of scale refer to cost advantages from large-scale purchasing, not automatic scaling. Option B is wrong because broad network access means services are available over the network from various devices, not scaling. Option D is wrong because reliability refers to fault tolerance and uptime, not dynamic scaling.

47
MCQmedium

An organization needs to comply with HIPAA for storing healthcare data in Google Cloud. Which of the following is a customer responsibility?

A.Implementing IAM policies to control access to PHI
B.Physical security of Google data centers
C.Patching the hypervisor
D.Obtaining SOC 2 certification for Google Cloud
AnswerA

Under the Google Cloud shared responsibility model, the customer always controls identity and access management. Configuring IAM policies to restrict who can reach protected health information is therefore the customer's duty, while Google secures the underlying infrastructure.

Why this answer

Under the shared responsibility model, the customer is responsible for configuring access controls (IAM) and encrypting PHI appropriately.

48
MCQhard

A multinational corporation must store and process data subject to GDPR. They need to ensure that personal data of EU residents remains within the EU. Which Google Cloud feature should they use?

A.Organization policies with location restrictions
B.Cloud Audit Logs
C.Cloud KMS
D.VPC Service Controls
AnswerA

Organization policies with location restrictions specifically enforce data residency by using constraints such as `gcp.resource-locations` to limit where cloud resources can be created. These policies are applied hierarchically at the organization, folder, or project level, and any resource creation request that specifies a region outside the allowed list is denied. This is a preventive control that stops non-compliant infrastructure from being provisioned in the first place, making it the correct mechanism for the company's data location requirements.

Why this answer

Organization policies with location restrictions in Google Cloud allow administrators to define constraints on where resources can be created and where data can be stored, ensuring that data remains within specific geographic regions like the EU. This directly addresses GDPR's data residency requirements by preventing resource creation outside allowed locations. It is the primary mechanism for enforcing location-based compliance at the organization, folder, or project level.

Exam trap

The trap is confusing data residency enforcement with auditing or encryption; candidates might pick VPC Service Controls because it sounds like it controls data flow, but it does not enforce location restrictions.

How to eliminate wrong answers

Option B is wrong because Cloud Audit Logs record API activity and access, but they do not enforce data residency; they are for auditing, not control. Option C is wrong because Cloud KMS manages encryption keys, which helps with data protection but does not restrict where data is stored. Option D is wrong because VPC Service Controls create security perimeters to mitigate data exfiltration, but they do not enforce data residency; they control access to services, not the physical location of data at rest.

49
MCQhard

A financial services company must store and process sensitive customer data that is subject to GDPR and PCI DSS. They need to ensure that data is encrypted at rest and in transit, and that encryption keys are managed by a hardware security module (HSM) that is FIPS 140-2 Level 3 certified. Which Google Cloud service should they use for key management?

A.Cloud Hardware Security Module (Cloud HSM)
B.Cloud External Key Manager (Cloud EKM)
C.Secret Manager
D.Cloud Key Management Service (Cloud KMS)
AnswerA

Cloud HSM provides a cloud-based hardware security module that holds your encryption keys in tamper-resistant hardware, validated to FIPS 140-2 Level 3. It integrates with Cloud KMS, so you can generate, store, and use keys inside the HSM while retaining customer-managed control. This dedicated HSM meets the strict hardware protection required for sensitive financial services data, making it the correct choice.

Why this answer

Cloud HSM provides dedicated HSM hardware, FIPS 140-2 Level 3 certification, and allows customers to manage their own keys. Cloud KMS is software-based and only offers Level 1 validation. Cloud EKM uses external key management but the question asks for a Google-managed HSM option.

Secret Manager is for storing secrets, not key management with HSM.

50
Multi-Selectmedium

A healthcare organization must store patient health records (PHI) in the cloud and comply with HIPAA. They need to ensure data is encrypted at rest by default, maintain access logs, and restrict access to authorized personnel. Which THREE Google Cloud features or services should they use?

Select 3 answers
A.Cloud Audit Logs
B.Identity and Access Management (IAM)
C.VPC Flow Logs
D.Cloud NAT
E.Cloud Key Management Service (Cloud KMS)
AnswersA, B, E

Cloud Audit Logs are the definitive record of 'who did what, where, and when' in Google Cloud. For HIPAA-covered entities, enabling Data Access audit logs is mandatory to capture every read, write, and deletion of patient records, providing the auditable trail required by the Security Rule. Admin Activity logs track configuration changes, and System Event logs record system-level actions, all of which support security monitoring and incident forensics.

Why this answer

Cloud Audit Logs (A) are correct because they record Admin Activity, Data Access, System Event, and Policy Denied audit logs for Google Cloud services, providing the access logging and monitoring evidence HIPAA requires for PHI. Identity and Access Management (B) is correct because IAM lets the organization enforce least-privilege access via roles, policies, and conditions so that only authorized personnel can reach the PHI resources. Cloud Key Management Service (E) is correct because Cloud KMS manages the encryption keys used for data at rest, including customer-managed encryption keys (CMEK) and key rotation, satisfying the requirement for default encryption at rest under organizational control.

VPC Flow Logs (C) is not correct because it captures network-level IP traffic metadata for subnets, not the resource access audit trail needed for PHI compliance. Cloud NAT (D) is not correct because it only provides outbound internet connectivity for private instances and has no role in encryption, access control, or audit logging.

Exam trap

GCDL often tests whether candidates can distinguish network-observability services (VPC Flow Logs, Cloud NAT) from the three pillars of PHI compliance — audit logging, identity/access control, and encryption key management — so avoid picking networking tools for a data-protection question.

51
MCQmedium

A financial institution is deploying a sensitive workload on Compute Engine and needs to meet PCI DSS compliance. The security team wants to ensure that the virtual machines run on dedicated, single-tenant hardware and that no other customer's VMs share the same host. Which Compute Engine feature should they enable?

A.Confidential VMs
B.Preemptible VMs
C.Sole-tenant nodes
D.Shielded VMs
AnswerC

By binding VMs to a dedicated physical server, sole-tenant nodes ensure that no other Google Cloud customer's VMs run on that hardware. This direct physical isolation meets PCI DSS's requirement for secure hosting and data segregation, simplifying audit evidence. The tenant gains exclusive control over server provisioning, maintenance, and placement, which is impossible with standard multi-tenant VMs.

Why this answer

Sole-tenant nodes provide dedicated, single-tenant hardware for Compute Engine VMs, ensuring that no other customer's VMs share the same host. This meets the PCI DSS requirement for dedicated hardware.

Exam trap

GCDL often tests the confusion between data encryption (Confidential VMs) and physical isolation (Sole-tenant nodes), causing candidates to choose the wrong feature for compliance.

How to eliminate wrong answers

Option A is wrong because Confidential VMs encrypt data in use but do not guarantee dedicated hardware. Option B is wrong because Preemptible VMs are low-cost, short-lived instances that do not provide dedicated hardware. Option D is wrong because Shielded VMs provide verifiable integrity but do not ensure single-tenancy.

52
Multi-Selecthard

A company with a global user base wants to deploy a web application on Google Cloud that is highly available and resilient to zone failures. The application runs on Compute Engine and uses a stateful backend (e.g., a database). Which THREE design elements should they implement?

Select 3 answers
A.Use a managed database service with automatic failover across zones (e.g., Cloud SQL High Availability)
B.Use a single zone to keep data consistent
C.Use a global HTTP(S) load balancer with the backend configured as a regional (multi-zone) instance group
D.Use preemptible VMs to reduce costs
E.Deploy Compute Engine instances across multiple zones within a region
AnswersA, C, E

A managed database service like Cloud SQL High Availability writes data synchronously to a primary and standby instance in different zones within the same region. In the event of a zonal outage or instance failure, the service automatically promotes the standby to primary, preserving data durability and maintaining application availability without manual intervention.

Why this answer

Option A is correct because a managed database service such as Cloud SQL High Availability automatically maintains a standby replica in a different zone and performs failover if the primary zone fails, which directly addresses the stateful backend's resilience requirement. Option C is correct because a global HTTP(S) load balancer distributes traffic to a regional backend service, and configuring the backend as a regional (multi-zone) managed instance group ensures traffic is routed only to healthy instances across zones, providing high availability for the web tier. Option E is correct because deploying Compute Engine instances across multiple zones within a region protects the application from a single zone outage, which is the fundamental building block of zone-failure resilience on Google Cloud.

Option B is incorrect because confining resources to a single zone creates a single point of failure and directly contradicts the requirement to survive zone failures. Option D is incorrect because preemptible VMs can be terminated at any time by Compute Engine, making them unsuitable for a highly available production web application with a stateful backend.

Exam trap

GCDL often tests the misconception that simply deploying across multiple zones is sufficient, but without a load balancer and a highly available database, the application may still have single points of failure.

53
MCQeasy

A startup wants to run a containerized web application on Google Cloud without managing the underlying servers or Kubernetes clusters. They expect traffic to vary significantly, and they want to only pay for the resources consumed during request processing. Which Google Cloud compute option should they choose?

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

Cloud Run is a fully managed, serverless container platform that executes your container only when requests arrive, scaling up automatically to handle traffic and scaling down to zero when idle, so you are billed only for the time during which a request is being processed (measured to 100ms granularity). It leverages Knative on Google Kubernetes Engine under the hood but removes all cluster management from your purview, letting you deploy a container image directly to a URL. For a startup running a containerized web app, this delivers the lowest operational overhead and the most cost-efficient pay-per-request model while supporting any container runtime that listens on HTTP.

Why this answer

Cloud Run is a fully managed serverless platform that runs containers in response to events or HTTP requests, scales to zero, and charges only for resources used during request processing. It abstracts away all infrastructure management.

54
MCQeasy

Which characteristic of cloud computing allows a user to provision virtual machines without needing to interact with Google Cloud support or create a ticket?

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

On-demand self-service is the cloud characteristic that lets a user directly provision and configure computing resources—such as virtual machines, storage, and applications—through a web portal or API, without requiring manual approval or interaction with the provider's staff. This unmediated, automated provisioning is the fundamental enabler of the question's described action, as it gives the user immediate control over resource creation and scaling. It is the defining feature that differentiates cloud computing from traditional IT procurement, where human intervention and long lead times are common.

Why this answer

On-demand self-service means users can provision resources automatically without human interaction. The other options are also NIST characteristics but do not specifically address provisioning without manual intervention.

55
MCQmedium

A startup is deploying a containerised web application on Google Cloud. They want to minimise operational overhead and only pay for the resources consumed when requests are being processed. The application should automatically scale to zero when idle. Which compute service should they choose?

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

Cloud Run is a serverless container execution service that automatically scales to zero instances when no requests are in-flight. You are billed only for the exact time your container processes a request, down to 100-millisecond increments, with no cost for idle periods. Its HTTP-triggered, pull-based model makes it ideal for a containerized web application that experiences variable or low traffic.

Why this answer

Cloud Run is a fully managed serverless container platform that scales to zero when idle and charges only for request processing time. App Engine is also serverless but requires a runtime environment and does not scale to zero as gracefully. Compute Engine and GKE require provisioning instances even if idle.

56
MCQeasy

Which cloud computing characteristic is defined by the NIST as the ability for a consumer to provision computing capabilities automatically without requiring human interaction with each service provider?

A.Measured service
B.Resource pooling
C.Rapid elasticity
D.On-demand self-service
AnswerD

This is exactly the NIST characteristic in question: a consumer can unilaterally provision computing capabilities, such as server time and network storage, automatically without requiring human interaction with each service provider. This means the user accesses a self-service interface or API, supplies the configuration, and receives the resource immediately — no phone call, ticket, or manual approval needed. It is the defining trait that distinguishes cloud computing from traditional IT procurement and is the answer to the question.

Why this answer

On-demand self-service, as defined by NIST SP 800-145, is the capability for 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 characteristic that enables users to spin up resources via portals or APIs instantly.

Exam trap

The trap is confusing on-demand self-service with rapid elasticity, since both involve automatic provisioning; the key differentiator is 'without human interaction with the provider' versus 'scaling rapidly'.

How to eliminate wrong answers

Option A is wrong because measured service refers to automatic control and optimization of resource use via metering, providing transparency for both provider and consumer. Option B is wrong because resource pooling describes the provider's multi-tenant model where resources are pooled to serve multiple consumers dynamically. Option C is wrong because rapid elasticity refers to capabilities appearing unlimited and being scaled out/in rapidly, not the automatic provisioning without human interaction.

57
MCQmedium

A data analytics team needs to process streaming data from thousands of IoT devices in real time. They want to ingest the data, process it (e.g., windowed aggregations), and then load it into BigQuery for analysis. Which Google Cloud service should they use for the stream processing step?

A.BigQuery
B.Cloud Pub/Sub
C.Cloud Dataproc
D.Cloud Dataflow
AnswerD

Dataflow is Google's fully managed, unified programming model for batch and stream processing, built on Apache Beam. It provides exactly-once processing guarantees, intelligent watermarks, and automatic handling of out-of-order data, along with built-in windowing and triggering for time-based aggregations. Its native connectors to BigQuery and Pub/Sub allow the team to read streaming events, transform them in real time, and write results directly into BigQuery for analysis without managing any infrastructure.

Why this answer

Cloud Dataflow is Google Cloud's fully managed, serverless service for both batch and stream processing, built on Apache Beam. It natively supports windowed aggregations, exactly-once processing, and autoscaling, making it ideal for real-time IoT data pipelines. Dataflow can read from Pub/Sub, apply transformations (e.g., fixed/sliding windows), and write to BigQuery with built-in connectors.

Unlike Dataproc, it abstracts away cluster management, so the team can focus on pipeline logic rather than infrastructure.

Exam trap

GCDL often tests the confusion between ingestion (Pub/Sub), processing (Dataflow), and storage/analytics (BigQuery), so candidates may incorrectly select Pub/Sub for stream processing or Dataproc for serverless processing.

How to eliminate wrong answers

Option A is wrong because BigQuery is a data warehouse for analytics, not a stream processing engine; it can ingest streaming data via the Storage Write API or legacy streaming inserts, but it does not perform windowed aggregations or complex transformations in-flight. Option B is wrong because Cloud Pub/Sub is a messaging service for ingesting and distributing streams, not for processing them; it lacks built-in windowing, stateful transformations, or exactly-once processing semantics for aggregations. Option C is wrong because Cloud Dataproc is a managed Hadoop/Spark service that requires cluster provisioning and management, and while Spark Streaming can process data, it is not serverless and is less integrated with BigQuery for this use case compared to Dataflow.

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

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

60
MCQmedium

A company wants to run a stateful application that requires persistent, high-performance block storage attached to a single Compute Engine instance. The application needs consistent low latency. Which storage solution should they use?

A.Local SSD
B.Filestore
C.Cloud Storage
D.Persistent Disk
AnswerD

Persistent Disk is a network-attached block storage service that can be attached to a single VM as a raw device, providing durable and high-performance storage. It is independent of the VM lifecycle, so data persists even when the VM is stopped or terminated, and it supports snapshots and regional replication for added durability. This makes it the correct choice for a stateful application that needs reliable block storage while allowing the VM to be restarted or migrated.

Why this answer

Persistent Disk provides durable block storage with consistent performance attached to a single VM. Local SSDs are ephemeral and not suitable for stateful data.

Ready to test yourself?

Try a timed practice session using only Fundamental Cloud Concepts questions.