Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Cloud Digital Leader practice bank has an additional 3,070 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
A global e-commerce retailer is migrating its customer-facing web application to Google Cloud. During seasonal sales and promotional events, the application experiences massive spikes in traffic from shoppers worldwide, followed by extended periods of low activity. The company wants to achieve the following business and technical goals:
How do Google Cloud's global infrastructure and elasticity capabilities work together to meet these requirements?
Resource quotas are administrative limits applied to a Google Cloud project or region that restrict the maximum quantity of cloud resources—such as compute cores, storage capacity, or API requests—that can be provisioned. A production code freeze is an operational practice where engineering teams temporarily halt software updates and configuration changes during critical business periods to reduce the risk of change-related outages.
This approach would be appropriate if the organization needed to enforce strict budget ceilings on third-party software licenses by limiting total CPU cores, and wanted to prevent deployment-related outages caused by buggy software releases during a critical business window.
While capacity planning requires reviewing regional resource quotas ahead of time to ensure they are high enough to accommodate peak autoscaling targets, quotas themselves act as protective guardrails rather than elastic scaling mechanisms.
Infrastructure as Code (IaC) is the practice of managing and provisioning cloud infrastructure through machine-readable configuration files stored in version control, using tools such as Infrastructure Manager, Config Connector, or Terraform. Immutable infrastructure builds on IaC by mandating that deployed resources are never modified in place; instead, updates are made to the source configuration and the resources are completely re-created.
This strategy would be suitable if the organization wanted to eliminate configuration drift and human error during environment provisioning for an application with a high latency tolerance that did not require multi-region availability or dynamic autoscaling.
In modern cloud architectures, IaC and elasticity work together at different stages: teams use IaC pipelines to deploy Compute Engine managed instance groups (MIGs) or Cloud Run services, and then rely on built-in autoscalers to dynamically adjust the active instance count based on live traffic metrics.
Elasticity is the ability of a cloud system to dynamically adjust compute, storage, and networking resources based on changing workload requirements. Global infrastructure refers to deploying applications across multiple geographic regions and zones connected by Google's high-speed global network and fronted by Cloud Load Balancing and Cloud CDN.
Combining multi-region distribution with elastic autoscaling directly resolves the tension between global performance and variable demand. Rather than paying continuously for peak hardware capacity that sits idle most of the year, the retailer maintains a fast, responsive user experience worldwide while optimizing operational spending.
Code profiling and database optimization (such as indexing and query optimization) are application-level performance-tuning techniques. Code profiling analyzes software during execution to identify functions that consume excessive CPU or memory, while database indexing structures data to accelerate query execution and reduce response times.
This approach would be appropriate if the goal were to resolve software-level bottlenecks and slow database queries for a workload that experiences constant, predictable, 24/7 utilization where dynamic infrastructure scaling is unnecessary.
While software optimization techniques like code profiling, database indexing, and in-memory caching are essential best practices in CloudOps, they must be paired with elastic autoscaling so that the underlying compute infrastructure grows and shrinks alongside fluctuating customer demand.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated