Courseiva

CCNA Fundamental Cloud Concepts Questions

65 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 CDN uses Google's globally distributed edge caches to deliver content close to users, reducing latency. A load balancer with global routing distributes traffic across regional backends and directs users to the nearest healthy backend.

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-Selecthard

An organization needs to allow a third-party auditor to review their Google Cloud resource configurations for compliance (read-only access). The auditor should not be able to modify resources or view data. Which THREE IAM roles or techniques should they use?

Select 3 answers
A.Grant the Organization Policy Administrator role
B.Grant the Viewer role at the project level
C.Grant the Cloud Debugger role
D.Grant the Security Reviewer role
E.Enable Access Transparency logs for the project
AnswersB, D, E

The Viewer role at the project level is a predefined IAM role that grants read-only access to all resources and configurations within that project, including metadata, permissions, and runtime states, while preventing any modification or deletion. This makes it the ideal choice for a third-party auditor because it provides comprehensive visibility with zero write capability, adhering to the principle of least privilege. It is the correct answer because it fully satisfies the review requirement without exposing any administrative control.

Why this answer

Viewer gives read-only access to all resources (except data). Organization Policy Administrator is for setting policies, not reading configurations. Security Reviewer specifically allows reading security settings.

Access Transparency logs help auditors see Google's access. Cloud Debugger is for debugging code, not compliance.

8
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

The NIST definition includes: on-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service. Virtualization is an enabling technology but not a characteristic. High availability is a benefit but not a NIST characteristic.

9
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 is a serverless container platform that minimizes operational overhead by automatically scaling. Cloud SQL is a fully managed relational database service, reducing database management tasks.

10
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

To test DR without impacting production, you can create a clone of the production Spanner instance (which creates a point-in-time copy) and perform testing on the clone. Alternatively, you can set up a separate test environment with its own Spanner instance. Restoring a backup to a new instance is also valid.

However, the question asks for TWO actions. Modifying production IAM roles could affect access; failing over a regional Spanner instance would cause downtime.

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

12
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

Cloud CDN caches static content at edge locations (PoPs) for low-latency delivery. Cloud Load Balancing distributes traffic across backend instances in multiple regions, and the backend can be deployed on Compute Engine or GKE. Cloud Storage alone cannot serve dynamic content; Cloud Functions is serverless but not ideal for full web serving; Cloud Armor is a security service.

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

14
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 enables users to provision resources automatically as needed, without requiring human interaction with the provider.

15
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) sets standards for protecting PHI. Customers must sign a Business Associate Agreement (BAA) with Google to use GCP for HIPAA-covered data. The other certifications address different data types.

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

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

18
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

Google is responsible for the security of the cloud infrastructure, while customers are responsible for security within the cloud, including data, access, and configurations.

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

20
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

Deploying in multiple regions reduces latency for users in different geographies and provides disaster recovery. Replicating data across zones within a single region does not protect against regional failures.

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

22
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

Cloud Functions (1st gen) have a maximum timeout of 9 minutes (540 seconds). For longer timeouts, they would need to use Cloud Functions (2nd gen) which supports up to 60 minutes, or use Cloud Run.

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

24
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 abstracts away the underlying OS and runtime, so developers only manage their code. IaaS requires managing OS, patches, and middleware. PaaS also typically includes built-in scaling and load balancing.

25
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 a managed Spark and Hadoop service. With Dataproc, you can create clusters quickly, but the fully managed serverless option is Dataproc Serverless, which runs Spark jobs without cluster management.

26
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

Multi-region deployment ensures availability if one region fails.

Why this answer

Multi-region deployment across at least two regions provides region-level failure protection. To minimize data loss, synchronous replication (e.g., using Cloud Spanner or multi-region Cloud Storage) ensures data consistency across regions.

27
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

Measured service is one of the five essential characteristics of cloud computing as defined by NIST.

28
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

Customers are responsible for securing their data, applications, and identity (IAM). Google is responsible for physical infrastructure, networks, and hypervisor security.

29
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 is a serverless data warehouse with automatic scaling and pay-per-query pricing.

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.

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

31
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 content at edge locations for low-latency delivery.

Why this answer

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

32
Multi-Selectmedium

A data engineer needs to process a large dataset stored in Cloud Storage using Apache Spark. They want to minimize cluster management overhead. Which TWO Google Cloud services can be used together to achieve this? (Choose 2.)

Select 2 answers
A.Cloud SQL
B.BigQuery
C.Dataflow
D.Dataproc
E.Cloud Storage
AnswersD, E

Dataproc is the managed Spark service.

Why this answer

Dataproc is the managed Spark service. Cloud Storage can be used as a data source. Dataproc can read directly from Cloud Storage without needing HDFS.

33
Multi-Selectmedium

A company wants to deploy a multi-tier web application on Google Cloud that requires high availability across zones. The application consists of a stateless web frontend and a stateful database backend. Which TWO actions should the company take to meet the high availability requirement? (Select two.)

Select 2 answers
A.Place all resources in the same zone to simplify management
B.Use a regional managed instance group for the web frontend
C.Use a Cloud SQL for PostgreSQL instance with cross-zone replication
D.Configure the database as a single large instance with automatic backups
E.Deploy the web frontend in a single zone to reduce network latency
AnswersB, C

A regional managed instance group (MIG) automatically distributes your frontend VM instances across multiple zones within a region, providing zone-level fault tolerance for the stateless web tier. It integrates with regional external load balancing to route traffic away from failed instances and can autoscale based on load. If an entire zone goes down, the MIG continues serving requests from healthy instances in other zones, ensuring high availability without manual intervention.

Why this answer

To achieve high availability across zones, the frontend should be deployed in multiple zones behind a load balancer, and the database should be configured with replication across zones. Using a single large instance for the database creates a single point of failure. Regional managed instance groups distribute instances across zones.

34
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 located in Belgium, Europe, providing low latency for European users.

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

36
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

Cloud SQL read replicas are read-only copies of the primary instance that can serve read traffic, reducing load on the primary and improving query performance.

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

38
Multi-Selectmedium

A company is migrating a legacy monolithic application to Google Cloud. They want to break it into microservices without managing underlying servers or container orchestration. Which TWO Google Cloud services allow them to deploy containerized applications serverlessly?

Select 2 answers
A.Cloud Run
B.Cloud Functions
C.Compute Engine
D.App Engine flexible environment
E.Google Kubernetes Engine (GKE)
AnswersA, D

Cloud Run runs stateless containers in a fully managed, serverless environment, automatically scaling instances from zero to thousands based on incoming request traffic. It abstracts away infrastructure, patching, and capacity planning, letting you deploy a containerized monolith with just an image and a port. Per-request billing and scale-to-zero capability make it a cost-effective choice for intermittent or variable workloads that still need to run a complete application.

Why this answer

Cloud Run and App Engine flexible environment are serverless compute platforms that support containerized applications. Compute Engine and GKE require server/container management. Cloud Functions is serverless but for event-driven functions, not containers.

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

40
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

Using preemptible VMs for both steps can significantly reduce costs, especially for large batches. However, GPU preemptible pricing is also lower. The workload is batch and fault-tolerant if checkpointing is implemented.

Committed use discounts require 1-year commitment; sole-tenant nodes are for isolation; independent scaling of CPU and GPU is not directly available without separate instance groups.

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

42
MCQmedium

A company has deployed a web application on Compute Engine in us-central1-a. Users in Europe report high latency. The company wants to reduce latency by serving traffic from a location closer to European users. However, they currently use a zonal managed instance group. What is the MOST cost-effective and operationally simple approach to reduce latency for European users?

A.Create a new zonal instance group in europe-west1-a and use a round-robin DNS
B.Keep the instance group in us-central1 but enable Cloud CDN
C.Change the managed instance group to regional, and use an HTTP(S) load balancer with the backend in europe-west1
D.Move the application to Cloud Run and deploy in europe-west1
AnswerC

A regional managed instance group automatically distributes instances across zones within europe-west1, protecting against a single-zone failure and enabling managed instance group health checking and autohealing. The external HTTP(S) load balancer uses Google's global anycast IP to terminate the user's connection at the closest Google edge PoP, then forwards the request over Google's backbone to a healthy backend in europe-west1. This combination minimizes user latency for European traffic while maintaining the existing single global endpoint for DNS.

Why this answer

A regional managed instance group across multiple zones in a European region (e.g., europe-west1) with a global load balancer will route users to the nearest backend, reducing latency. Recreating in a different zone in the same region doesn't help. Moving to Cloud Run might help but requires containerising the app.

Using a single zone in Europe is not as resilient.

43
MCQhard

A financial services firm must store customer transaction logs for 7 years to comply with regulatory requirements. The data must be immutable after writing, and access should be restricted to authorized auditors only. Which storage solution and configuration should they use?

A.Cloud Storage with object versioning enabled
B.Cloud Storage with object lifecycle management to delete objects after 7 years
C.Cloud Storage with object holds placed on each object
D.Cloud Storage with a retention policy set to 7 years
AnswerD

Retention policy (Bucket Lock) makes objects immutable for the specified duration, satisfying compliance.

Why this answer

Cloud Storage with a retention policy (e.g., using Bucket Lock) makes objects immutable for a fixed period. Lifecycle management deletes objects, object versioning maintains versions, and object holds prevent deletion but allow overwrites.

44
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 Cloud Carbon Footprint tool provides visibility into the gross carbon emissions associated with a customer's Google Cloud usage.

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

46
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 PaaS offering that fully manages the runtime environment, allowing developers to deploy code without managing servers or containers. Cloud Run requires containerization, Compute Engine is IaaS (more overhead), and GKE requires managing Kubernetes clusters.

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

48
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

Compute Engine Preemptible VMs offer deep discounts (up to 60-90% off) and are suitable for fault-tolerant batch jobs. Preemptible VMs can be terminated at any time, but since the job can be restarted, it's cost-effective. Persistent disks are required for data.

Cloud Run has a timeout limit of 60 minutes. GKE with Spot VMs is also an option but adds overhead. Standard Compute Engine is more expensive.

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

50
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 allows resources to automatically scale up and down based on demand, optimizing cost and performance.

51
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

IAM configuration is the customer's responsibility.

Why this answer

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

52
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

Data residency constraints in Google Cloud allow organizations to specify where data is stored by using organization policies and choosing specific regions. This ensures data does not leave the EU.

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

54
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

HIPAA requires encryption at rest (Cloud KMS provides managed keys), audit logs (Cloud Audit Logs), and access control (IAM). Cloud NAT provides outbound internet access, VPC Flow Logs capture network metadata, not access logs.

55
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 ensure that VMs from that project are the only ones running on the underlying hardware, providing physical isolation and meeting compliance requirements for dedicated infrastructure.

56
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

To survive zone failures, deploy across multiple zones, use a regional load balancer to distribute traffic, and use a managed database service like Cloud SQL with high availability (which replicates across zones). A single zone cannot survive failure. Cloud CDN is for static content, not for zone failure resilience.

Preemptible VMs are not suitable for stateful applications.

57
Multi-Selecthard

A company wants to minimize its carbon footprint in the cloud. They are evaluating Google Cloud sustainability features. Which THREE practices help reduce environmental impact?

Select 3 answers
A.Use committed use discounts to reserve resources
B.Shift non-urgent compute loads to times when low-carbon energy is available
C.Choose regions with lower carbon intensity
D.Provision VMs with GPUs for general workloads
E.Use the Cloud Carbon Footprint tool to track emissions
AnswersB, C, E

Carbon-intelligent load shifting exploits the fact that the carbon intensity of grid electricity fluctuates throughout the day as renewable sources like wind and solar come online and offline. By scheduling batch jobs, data pipelines, or other latency-tolerant workloads during hours when the regional energy mix is cleanest, the same compute tasks produce significantly less CO2 without any efficiency changes. This is an operational, time-based strategy that directly targets the emissions-per-kilowatt-hour of the power consumed.

Why this answer

Using regional carbon-intelligent load shifting, Cloud Carbon Footprint for reporting, and choosing low-carbon regions align with Google's sustainability goals. VMs with GPUs increase energy use, and committed use discounts encourage resource usage but do not directly reduce carbon.

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

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

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

61
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 allows users to provision resources automatically, without needing manual approval or interaction with Google Cloud staff.

62
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

Dataflow is a fully managed, serverless service for stream and batch data processing, based on Apache Beam. It can handle real-time streaming data, perform windowed aggregations, and write to BigQuery.

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

64
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 IaaS, allowing full control over the OS and application stack, including custom patches and configurations.

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