CCNA Pca Design Planning Questions

40 of 115 questions · Page 2/2 · Pca Design Planning topic · Answers revealed

76
Multi-Selectmedium

A company wants to connect their on-premises network to Google Cloud with high availability and bandwidth up to 10 Gbps. They need a dedicated connection with a Service Level Agreement (SLA). Which TWO options should they consider? (Choose TWO.)

Select 2 answers
A.Cloud Dedicated Interconnect
B.Classic VPN
C.Cloud CDN
D.Cloud Partner Interconnect
E.HA VPN
AnswersA, D

Dedicated Interconnect provides direct physical connection with up to 10 Gbps per circuit and SLA.

Why this answer

Cloud Interconnect provides dedicated connections with an SLA. Dedicated Interconnect offers 10 Gbps or more and is a physical connection. Partner Interconnect also provides dedicated bandwidth through a partner, but Classic VPN and HA VPN are over the internet and do not have a bandwidth SLA or dedicated connection.

77
Multi-Selecthard

A company runs a batch analytics job every hour on BigQuery. The job processes terabytes of data and the results are stored in Cloud Storage. The job must complete within 30 minutes. Which TWO actions can reduce query execution time? (Choose 2)

Select 2 answers
A.Use cached results from the previous run
B.Use a partitioned table based on the timestamp column
C.Convert the query to use legacy SQL
D.Export the data to Cloud Storage and query with an external table
E.Increase the number of BigQuery slots assigned to the project
AnswersB, E

Partition pruning limits the amount of data scanned, reducing query time.

Why this answer

Using partitioned tables allows BigQuery to scan only relevant partitions, reducing data scanned and improving speed. Increasing slot capacity provides more compute resources for the query. Partition elimination reduces data scanned; using clustering can also help but is not listed.

Caching results only helps if the query is repeated; the job runs hourly with new data. Using legacy SQL does not improve performance.

78
MCQmedium

A financial services company is migrating a monolithic Java application to Google Cloud. They want to minimize changes to the application code but take advantage of managed services. They plan to run the application on a VM with a specific OS configuration that is not supported by App Engine. Which migration strategy should they use?

A.Re-architect the application as microservices on GKE
B.Re-platform to App Engine Flexible Environment
C.Re-platform to Cloud Run
D.Lift-and-shift to Compute Engine with Cloud SQL for the database
AnswerD

This minimizes code changes (lift-and-shift) and uses managed Cloud SQL to offload database management.

Why this answer

Lift-and-shift is appropriate when minimal code changes are desired and the application can run on VMs. Re-platform would involve moving to a managed service like Cloud SQL but still typically requires some changes. Re-architect is a full rewrite.

Since they need a custom OS, App Engine is not an option.

79
MCQhard

A company requires a globally distributed relational database with strong consistency across regions and automatic replication. They need to support SQL queries and have a write throughput of 100,000 writes per second. Which Google Cloud database meets these requirements?

A.Cloud Spanner
B.Cloud Bigtable
C.BigQuery
D.Cloud SQL with cross-region replication
AnswerA

Cloud Spanner is designed for global distribution, strong consistency, high write throughput, and SQL.

Why this answer

Cloud Spanner is a globally distributed, strongly consistent relational database that supports SQL and can scale to millions of writes per second. Cloud SQL is regional, Bigtable is NoSQL and not relational, BigQuery is an analytics warehouse.

80
MCQmedium

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

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

Bigtable is the correct choice: wide-column NoSQL, designed for time-series and IoT workloads, single-digit ms latency, and scales to millions of QPS with additional nodes.

Why this answer

Cloud Bigtable is designed for exactly this use case — petabyte-scale, low-latency (single-digit ms), high-throughput NoSQL storage for time-series, IoT, and financial data. It scales horizontally by adding nodes. BigQuery is optimised for analytics (seconds-to-minutes latency), Cloud SQL is for OLTP (limited to tens of thousands of QPS), and Firestore is for document data with hierarchical structure.

81
MCQhard

An organization wants to deploy a containerized microservices architecture on Google Kubernetes Engine (GKE) and minimize operational overhead. They do not need to manage the node infrastructure and are willing to accept some limitations on node configuration. Which GKE mode should they choose?

A.GKE Standard mode with zonal cluster
B.Compute Engine with container-optimized OS and instance groups
C.Cloud Run for Anthos
D.GKE Autopilot mode
AnswerD

Autopilot is fully managed; Google handles nodes, scaling, and upgrades.

Why this answer

GKE Autopilot is a fully managed mode where Google manages the entire cluster infrastructure, including nodes. It abstracts away node management and automatically provisions, scales, and upgrades nodes. Standard mode requires manual node pool management.

Cloud Run is serverless but not Kubernetes. Compute Engine is not container orchestration.

82
MCQmedium

A team is migrating a stateful application to GKE. The application requires persistent storage with ReadWriteMany (RWX) access across multiple pods. Which Kubernetes volume type should they use to meet this requirement on GKE?

A.Persistent Disk (Compute Engine persistent disks)
B.Cloud Storage FUSE
C.Filestore
D.ConfigMap
AnswerC

Filestore provides NFS shares that can be mounted as RWX volumes in GKE.

Why this answer

Filestore provides a managed NFS file share that supports RWX access. GKE can mount Filestore volumes via CSI driver. Persistent Disk supports only ReadWriteOnce (RWO).

Cloud Storage FUSE is not a standard Kubernetes volume and does not provide POSIX file system semantics. ConfigMap is for configuration data.

83
MCQeasy

A startup wants to deploy a containerized web application with zero server management and automatic scaling based on HTTP requests. They expect very low traffic initially but want to scale to thousands of requests per second without configuration changes. Which compute service is most appropriate?

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

Serverless, auto-scales based on HTTP traffic, scales to zero, no infrastructure management.

Why this answer

Cloud Run is a fully managed serverless container platform that automatically scales to zero when not in use and scales up to handle traffic spikes, ideal for containerized apps with variable traffic.

84
MCQeasy

A startup is building a mobile app backend that requires real-time data synchronization across multiple users. They need a fully managed, serverless NoSQL database that scales automatically and supports offline persistence. Which database should they choose?

A.Cloud Spanner
B.Cloud Bigtable
C.Cloud SQL
D.Cloud Firestore
AnswerD

Firestore provides real-time updates, offline persistence, and automatic scaling, making it ideal for mobile app backends.

Why this answer

Firestore is a serverless NoSQL document database designed for mobile apps with real-time sync, offline support, and automatic scaling. Cloud Bigtable is for high-throughput time-series data, not mobile. Cloud SQL is relational and not serverless.

Cloud Spanner is globally distributed relational, overkill for a mobile app backend.

85
MCQhard

A company wants to deploy a microservices architecture on Google Cloud. They need a service mesh to manage traffic, security, and observability across services. They also want to run workloads on both GKE and Compute Engine. Which solution should they use?

A.Cloud Service Mesh (Anthos Service Mesh)
B.Cloud Run for Anthos
C.Istio open-source installation on GKE
D.Traffic Director
AnswerA

It provides a fully managed service mesh across GKE and Compute Engine with Istio compatibility.

Why this answer

Anthos Service Mesh (based on Istio) provides traffic management, security, and observability for microservices across GKE, Compute Engine, and on-premises. Cloud Service Mesh is the same. Istio alone is open-source but not fully managed.

Cloud Run for Anthos is for serverless. Traffic Director is for VM-based load balancing but not a full service mesh.

86
MCQmedium

A developer needs to build a serverless event-driven application that responds to Cloud Storage object uploads by processing the file and storing results in Firestore. Which compute service is the best fit?

A.Cloud Functions
B.App Engine Flexible Environment
C.Cloud Run for Anthos
D.Compute Engine with startup scripts
AnswerA

Cloud Functions can be triggered by Cloud Storage events, scales automatically, and charges only for execution time.

Why this answer

Cloud Functions is a serverless event-driven compute service that can be triggered directly by Cloud Storage events, ideal for simple processing tasks.

87
MCQmedium

A company needs to connect their on-premises data center to Google Cloud with a dedicated, low-latency connection that provides a Service Level Agreement (SLA) of 99.99% uptime. They anticipate high bandwidth usage (10 Gbps). Which connectivity option should they choose?

A.Cloud VPN with static routing
B.Cloud CDN
C.Partner Interconnect
D.Dedicated Interconnect
AnswerD

Direct private connection, up to 10 Gbps, 99.99% SLA with redundancy.

Why this answer

Dedicated Interconnect provides a direct physical connection between on-premises and GCP, offers up to 10 Gbps per circuit, and comes with a 99.99% SLA when configured with redundant connections.

88
MCQhard

A company needs to store archival data that is accessed less than once a year, with retrieval times of up to 12 hours acceptable. The data must be kept for 10 years for compliance. What is the most cost-effective Cloud Storage solution?

A.Cloud Storage Coldline class with a retention policy
B.Cloud Storage Nearline class
C.Cloud Storage Archive class with a lifecycle policy that deletes objects after 10 years
D.Cloud Storage Standard class with object versioning
AnswerC

Archive class is cheapest for infrequently accessed data; lifecycle deletion meets compliance requirements.

Why this answer

Cloud Storage Archive class is designed for long-term preservation with the lowest storage cost, and retrieval times of minutes to hours are acceptable.

89
Multi-Selecthard

A company is designing a disaster recovery plan for a critical application running on Compute Engine with data in Cloud SQL. They require a Recovery Time Objective (RTO) of 1 hour and a Recovery Point Objective (RPO) of 5 minutes. Which THREE actions should they take? (Choose THREE.)

Select 3 answers
A.Configure a Cloud SQL cross-region replica in the DR region
B.Enable Cloud SQL automatic storage increase
C.Set up Cloud DNS failover with weighted routing
D.Create a managed instance group in the DR region
E.Use Cloud CDN to cache static content globally
AnswersA, C, D

Provides near real-time replication meeting RPO of 5 minutes.

Why this answer

Cloud SQL replica in another region provides cross-region replication with RPO of seconds to minutes. Managed instance group in the DR region allows quick failover of compute. Cloud DNS with weighted routing can direct traffic to the DR region upon failover, meeting RTO within 1 hour.

90
MCQhard

A company is running a stateful application on Compute Engine with local SSDs for low-latency writes. They want to perform a rolling update without losing data stored on the local SSDs. Which strategy is MOST appropriate?

A.Perform a rolling update using a managed instance group with a canary target; data on local SSDs will be preserved because the instance is only updated.
B.Use a stateful managed instance group with preserved local SSDs.
C.Snapshot the local SSDs before the update and restore after each instance update.
D.Migrate the application to use persistent disks for data storage, then perform rolling updates.
AnswerD

Persistent disks survive instance termination, enabling rolling updates without data loss.

Why this answer

Local SSDs are ephemeral; data is lost when the instance stops. To persist data, use persistent disks or migrate data to a persistent disk first. Rolling updates with local SSDs will lose data on terminated instances.

The best approach is to change the application to use persistent disks, which survive instance termination.

91
MCQmedium

A company needs to run a batch job that processes data stored in Cloud Storage. The job runs once per day and takes about 2 hours on 8 vCPUs. Cost is the primary concern, and the job can be interrupted. Which compute option is MOST cost-effective?

A.Standard VM (on-demand)
B.Spot VM
C.Preemptible VM
D.Sole-tenant node
AnswerC

Preemptible VMs offer the lowest cost for fault-tolerant batch jobs.

Why this answer

Preemptible VMs are significantly cheaper than regular VMs and can be interrupted, which is acceptable for this batch job. Spot VMs are similar but with dynamic pricing; however, preemptible VMs are the most cost-effective for short, fault-tolerant workloads. Standard VMs are more expensive.

Sole-tenant nodes are for isolation, not cost savings.

92
MCQmedium

A company wants to deploy a containerized microservices application on GCP with minimal operational overhead. They need automatic scaling, no node management, and pay only for requested resources. Which compute option is most appropriate?

A.GKE Standard with node auto-provisioning
B.Cloud Run
C.GKE Autopilot
D.App Engine Flexible Environment
AnswerB

Cloud Run is fully managed, no nodes to manage, scales to zero, and billing per request.

Why this answer

Cloud Run is a fully managed serverless container platform that scales automatically, requires no node management, and charges per request.

93
Multi-Selectmedium

A company is moving a legacy monolithic application to a microservices architecture on Google Cloud. They want to minimize operational overhead and automatically scale each service independently. Which TWO compute services should they consider? (Choose two.)

Select 2 answers
A.Cloud Run
B.Compute Engine with managed instance groups
C.Google Kubernetes Engine (GKE) Standard
D.Cloud Functions
E.Google Kubernetes Engine (GKE) Autopilot
AnswersA, E

Cloud Run automatically scales each container service independently with zero overhead.

Why this answer

Cloud Run and GKE Autopilot both offer automatic scaling and reduced operational overhead. Cloud Run is serverless for containers; GKE Autopilot manages the cluster infrastructure. Compute Engine requires manual scaling.

Cloud Functions is for functions, not full services. GKE Standard requires node management.

94
MCQhard

A company is designing a disaster recovery strategy for a critical application running on Compute Engine with a regional managed instance group (MIG) and an HTTP load balancer. They require an RTO of 10 minutes and RPO of 1 hour. The application state is stored in Cloud SQL for PostgreSQL. What is the most cost-effective approach?

A.Deploy an active-active configuration across two regions using Cloud Spanner
B.Configure a cold standby with a Cloud SQL backup and MIG template in another region
C.Take daily exports of Cloud SQL to Cloud Storage and restore in another region
D.Use Cloud SQL cross-region replica with a warm standby MIG in the secondary region
AnswerD

Cross-region replica keeps data within RPO; warm standby MIG can be promoted within RTO.

Why this answer

Cloud SQL for PostgreSQL supports cross-region replication with a default replication lag typically under 1 hour. For RPO of 1 hour, cross-region replica is sufficient. For RTO of 10 minutes, having a warm standby in another region with a MIG and load balancer configuration that can be promoted quickly meets the requirement.

Full active-active is more expensive; restoring from backups is slower; a cold standby may not meet RTO.

95
MCQhard

A company runs a batch processing workload on Compute Engine that executes nightly. The job is fault-tolerant and can withstand interruptions. The job uses 500 vCPUs and runs for 4 hours each night. Which compute option is MOST cost-effective?

A.On-demand Compute Engine VMs
B.Preemptible VMs
C.Spot VMs
D.Committed use discounts (1-year)
AnswerB

Preemptible VMs are 80% cheaper and ideal for fault-tolerant batch jobs that can be interrupted.

Why this answer

Preemptible VMs are up to 80% cheaper than regular VMs and are ideal for fault-tolerant, interruptible workloads. Committed use discounts require a 1- or 3-year commitment and are not cost-effective if the job runs only a few hours nightly. On-demand instances are the most expensive.

Spot VMs are similar to preemptible but with dynamic pricing; preemptible is simpler and offers fixed discount.

96
MCQhard

A company deploys a global application on Cloud Run and uses Cloud SQL for user data. They need sub-10ms read latency for frequently accessed user profiles across regions. Traffic is unpredictable but consistently high. The database must support strong consistency. Which approach meets these requirements?

A.Use Cloud Bigtable with replication across regions
B.Use Cloud Spanner with multi-region configuration
C.Use Cloud SQL with read replicas in each region and enable synchronous replication
D.Use Cloud SQL with cross-region replication and Memorystore cache in each region
AnswerB

Cloud Spanner offers global, strongly consistent reads and writes with low latency, suitable for unpredictable high traffic.

Why this answer

Cloud SQL does not support global scale with strong consistency across regions; cross-region replication is asynchronous. Cloud Spanner provides global, strongly consistent reads with low latency and can handle high unpredictable traffic. Memorystore would add caching but not strong consistency against the database itself.

Bigtable is not strongly consistent across regions.

97
Multi-Selecteasy

A company is building a web application on GKE. They want to automatically scale the number of pods based on HTTP request rate. Which TWO resources should they configure?

Select 2 answers
A.Cluster Autoscaler (Node Auto-scaling)
B.Custom Metrics API (e.g., Stackdriver Adapter)
C.GKE Ingress
D.Horizontal Pod Autoscaler (HPA)
E.Vertical Pod Autoscaler (VPA)
AnswersB, D

To scale on HTTP request rate, you need to expose that metric via the Custom Metrics API so HPA can use it.

Why this answer

Horizontal Pod Autoscaler (HPA) scales pods based on CPU/memory or custom metrics. To scale based on HTTP request rate, they need to expose custom metrics (e.g., from Stackdriver/Cloud Monitoring) via the Custom Metrics API. The Vertical Pod Autoscaler (VPA) adjusts resource requests, not pod count.

Node autoscaler scales nodes, not pods. Ingress is for traffic routing.

98
MCQeasy

A company wants to run a legacy application on Google Cloud that requires a specific operating system version and kernel tuning. The application is not containerised and cannot be easily modified. Which compute service should they use?

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

Full VM control, custom OS and kernel settings.

Why this answer

Compute Engine provides full control over the virtual machine, including the OS and kernel parameters, making it ideal for legacy applications that require custom configurations.

99
MCQmedium

An e-commerce company uses Cloud SQL for MySQL for their transactional database. During a recent load test, the database experienced high latency under write-heavy workloads. The team needs to improve write performance without changing the application. Which action is most effective?

A.Enable binary logging to improve write performance
B.Increase the machine type of the primary instance
C.Migrate to Cloud Spanner
D.Add multiple read replicas
AnswerB

Scaling up the primary instance provides more CPU and memory for write operations, directly improving write throughput.

Why this answer

Cloud SQL for MySQL supports read replicas for read scalability, but for write-heavy workloads you need a larger machine type (scale up) or use memory optimized. Adding read replicas does not help writes. Enabling binary logging adds overhead.

Vertically scaling (increasing vCPUs and RAM) directly improves write throughput. Using Cloud Spanner would require application changes.

100
MCQmedium

A company is running a containerized application on Cloud Run and needs to handle long-running requests that may exceed Cloud Run's default timeout. They also need to use WebSocket connections. What should they do?

A.Use Cloud Functions with a HTTP trigger and increase the timeout to 60 minutes.
B.Deploy the application on Google Kubernetes Engine (GKE) with a NodePort service to handle WebSocket natively.
C.Move WebSocket connections to Compute Engine and adjust Cloud Run timeout to 60 minutes for long requests.
D.Increase the Cloud Run container timeout to the maximum (60 minutes) and enable WebSocket support by setting an environment variable.
AnswerC

Cloud Run timeout can be set to up to 60 minutes; WebSocket is not supported, so use Compute Engine for WebSocket.

Why this answer

Cloud Run allows configuring request timeout up to 60 minutes. However, WebSocket support is limited; Cloud Run does not support WebSocket connections natively. For WebSocket, they should consider GKE or Compute Engine.

Thus, the correct answer is to adjust Cloud Run timeout max and move WebSocket to another service.

101
MCQeasy

A startup wants to run a containerized web application that scales to zero when not in use and charges only for request processing time. Which compute service is most appropriate?

A.Google Kubernetes Engine (Autopilot)
B.Compute Engine with preemptible VMs
C.Cloud Run
D.App Engine Standard
AnswerC

Cloud Run is a serverless container platform that scales to zero when idle, charging only for request processing and compute time.

Why this answer

Cloud Run is a fully managed serverless container platform that scales down to zero and charges per request, making it ideal for variable workloads that need to minimize cost when idle.

102
MCQmedium

A company is building a microservices architecture on Google Kubernetes Engine (GKE) and needs to ensure each microservice can only access specific Cloud Storage buckets. IAM permissions should be assigned at the pod level, not at the node level. What is the recommended approach?

A.Store service account keys in Kubernetes secrets and mount them into each pod
B.Use a CSI driver to mount IAM credentials into pods
C.Use Workload Identity to bind a Kubernetes service account to a GCP service account
D.Assign a service account to each node pool and configure pod security policies
AnswerC

Workload Identity enables per-pod IAM permissions by mapping Kubernetes service accounts to GCP service accounts.

Why this answer

Workload Identity Federation allows you to assign a GCP service account to a Kubernetes service account, which is then bound to a pod. This enables fine-grained IAM permissions per pod. Node-level IAM would give all pods on the node the same permissions.

Service accounts cannot be assigned directly to pods via metadata, and CSI drivers are for storage, not IAM.

103
Multi-Selecteasy

A company needs to run batch processing jobs that can tolerate interruptions. They want to minimize costs. Which TWO compute options should they consider? (Choose TWO.)

Select 2 answers
A.Sole-tenant nodes
B.Committed use discounts
C.Preemptible VMs
D.Standard (on-demand) VMs
E.Spot VMs
AnswersC, E

Preemptible VMs are low-cost, can be terminated, suitable for batch jobs.

Why this answer

Preemptible VMs and Spot VMs are short-lived, low-cost instances that can be terminated at any time. They are ideal for fault-tolerant batch jobs. Committed use discounts are for predictable workloads, not for interruptible jobs.

Standard VMs and Sole-tenant nodes are more expensive and not intended for interruptible workloads.

104
MCQmedium

A financial services company wants to migrate a legacy monolithic Java application to Google Cloud with minimal changes to the code. They plan to containerise the application but want to avoid managing Kubernetes clusters. The application requires persistent storage and must be reachable via an internal IP address within the VPC. Which compute service should they use?

A.Compute Engine with Docker installed
B.Cloud Run (fully managed)
C.Google Kubernetes Engine (GKE) Autopilot
D.App Engine Flexible Environment
AnswerB

Serverless container platform; supports internal traffic via Serverless VPC Access and persistent storage via Cloud NFS.

Why this answer

Cloud Run (fully managed) supports containers, can be configured for internal traffic only, and provides persistent storage via Cloud NFS or other volume mounts. It abstracts away cluster management.

105
Multi-Selectmedium

A company is designing a disaster recovery strategy for a Cloud SQL for PostgreSQL database with a Recovery Point Objective (RPO) of 1 hour and a Recovery Time Objective (RTO) of 2 hours. They are using the Regional Cloud SQL tier. Which TWO actions should they take? (Choose TWO.)

Select 2 answers
A.Increase the number of CPUs on the primary instance.
B.Create a read replica in the same region.
C.Configure cross-region replication by creating a cross-region replica.
D.Enable deletion protection on the database.
E.Enable automated backups and point-in-time recovery.
AnswersC, E

Cross-region replica enables failover to another region, achieving RPO < 1 hour.

Why this answer

Cross-region replication (replica) provides failover to another region with an RPO < 1 hour. Automated backups with point-in-time recovery can restore within RTO if the replica is also used. Enabling deletion protection is a safety measure but not DR.

A read replica in the same region does not help cross-region. Scaling CPU does not affect DR.

106
MCQmedium

An e-commerce company uses Cloud SQL for MySQL for its transactional database. They need to run complex analytical queries on the same data without impacting OLTP performance. The analytical queries should be run on a read replica with minimal lag. Which solution is BEST?

A.Use Data Studio directly on Cloud SQL primary instance
B.Migrate to Cloud Spanner to handle both workloads
C.Create a Cloud SQL read replica and run analytical queries on it
D.Export the database to BigQuery and run queries there
AnswerC

Read replicas handle read traffic, preventing impact on the primary instance for OLTP.

Why this answer

Cloud SQL read replicas can offload read traffic, including analytical queries, without affecting the primary instance. However, for heavy analytics, BigQuery is better. Using a read replica allows near-real-time data.

Cloud Spanner is not needed. Data Studio is a visualization tool.

107
MCQmedium

A company wants to connect their on-premises network to Google Cloud with a dedicated, high-bandwidth, low-latency connection that has a Service Level Agreement (SLA) of 99.99% uptime. Which connectivity option should they choose?

A.High Availability VPN (HA VPN)
B.Partner Cloud Interconnect
C.Dedicated Cloud Interconnect
D.Classic VPN
AnswerC

Dedicated Interconnect provides direct physical connection, high bandwidth, low latency, and 99.99% SLA.

Why this answer

Dedicated Cloud Interconnect provides a direct physical connection with high bandwidth, low latency, and a 99.99% SLA. Partner Interconnect uses a third-party provider and has a lower SLA. HA VPN offers 99.99% SLA but lower bandwidth.

Classic VPN has no SLA.

108
MCQeasy

A company wants to run a containerized web application that experiences unpredictable traffic spikes. They want to pay only for resources used during request processing, with no idle cost. Which compute service should they choose?

A.Google Kubernetes Engine (GKE) Autopilot
B.Cloud Run
C.App Engine Standard
D.Compute Engine with managed instance groups
AnswerB

Cloud Run scales to zero and charges per request, ideal for unpredictable traffic with no idle cost.

Why this answer

Cloud Run is a serverless container platform that scales to zero when not in use and charges per request. It eliminates idle costs. GKE Autopilot has a per-pod billing model but still incurs some cost for the cluster control plane.

App Engine Standard supports scaling to zero but is limited to specific runtimes. Compute Engine VMs incur cost for running instances even if idle.

109
Multi-Selecteasy

A company needs to store and serve large media files (each up to 5 GB) to users globally. The files are accessed infrequently (once a quarter) but must be available with low latency. Which THREE Cloud Storage classes and features should they consider? (Choose three.)

Select 3 answers
A.Coldline storage class
B.Standard storage class
C.Cloud CDN
D.Object lifecycle management
E.Nearline storage class
AnswersC, D, E

Cloud CDN caches content at edge locations for low-latency global access.

Why this answer

Nearline is suitable for data accessed less than once a month. Cloud CDN caches content at edge locations for low latency. Object lifecycle management can transition objects to colder storage automatically.

Standard is for frequently accessed data. Coldline is for data accessed less than once a quarter. Archive is for data accessed less than once a year.

110
MCQeasy

A company needs to store archival data that is accessed less than once a year and must be retained for 10 years for compliance. The data retrieval time is not critical. Which Cloud Storage class is MOST cost-effective?

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

Archive is the lowest-cost class for long-term retention with rare access.

Why this answer

Archive storage is the cheapest class for long-term archival data accessed less than once a year. Coldline is for 90-day access, Nearline for 30-day, and Standard for frequent access. Archive has the lowest storage cost but higher retrieval costs and minimum storage duration of 365 days.

111
MCQmedium

A financial services company requires a globally distributed relational database with strong consistency and horizontal scalability to serve a multi-region banking application. Write conflicts are rare. Which database should they choose?

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

Spanner is a globally distributed, strongly consistent relational database designed for multi-region deployments.

Why this answer

Cloud Spanner is the only Google Cloud database that provides global distribution, strong consistency, and horizontal scalability for relational workloads. It uses true-time technology for external consistency. Bigtable is NoSQL; Firestore is eventually consistent; Cloud SQL is regional.

112
MCQhard

A company is migrating a legacy monolithic application to a microservices architecture on GKE. They want to gradually shift traffic from the monolith to the new services. They also need to route requests based on headers (e.g., for A/B testing). Which GKE feature should they use?

A.Anthos Service Mesh
B.GKE Ingress with multiple backend services
C.Node pools with different machine types
D.GKE Autopilot
AnswerA

Anthos Service Mesh (based on Istio) provides advanced traffic management including header-based routing, canary deployments, and traffic splitting.

Why this answer

GKE provides traffic management through Kubernetes Ingress with custom resource definitions like the Multi-Cluster Ingress or using Service Mesh. However, for traffic splitting based on headers, the GKE Ingress alone doesn't support it. GKE supports Service Mesh (Anthos Service Mesh) which uses Istio to provide advanced traffic routing, including header-based routing and canary deployments.

GKE Autopilot is a mode, not a traffic management feature. Node pools are for compute resources.

113
Multi-Selecthard

A company wants to implement a disaster recovery strategy for a critical application running on Compute Engine with state stored on persistent disks. They need an RTO of less than 15 minutes and an RPO of less than 1 hour. Which TWO steps should they take? (Choose two.)

Select 2 answers
A.Set up scheduled snapshots to a multi-regional Cloud Storage bucket
B.Use Cloud DNS with a failover policy
C.Use regional persistent disks for the application data
D.Create a managed instance group with health checks and auto-healing across multiple zones
E.Configure a global HTTP(S) load balancer in front of the application
AnswersC, D

Regional PDs synchronously replicate data across zones, enabling RPO under 1 hour.

Why this answer

Regional persistent disks replicate data synchronously across zones, providing low RPO. A managed instance group with a health check and auto-healing enables fast failover for low RTO. Snapshots have higher RPO.

Cloud DNS is for DNS failover, not for compute failover. Global load balancer is for traffic distribution, not stateful failover.

114
Multi-Selecthard

A global financial services company needs to store transaction data with strong consistency across multiple regions, low latency (single-digit milliseconds), and the ability to scale writes horizontally. They also require SQL query capabilities. Which TWO database services meet these requirements?

Select 1 answer
A.Firestore
B.Cloud Spanner
C.AlloyDB
D.Cloud Bigtable
E.Cloud SQL for PostgreSQL
AnswersB

Spanner is globally distributed, strongly consistent, horizontally scalable, with SQL support and low latency.

Why this answer

Cloud Spanner is the only Google Cloud database that provides globally distributed, strongly consistent, horizontally scalable SQL with single-digit millisecond latency. Cloud SQL is regional and cannot span multiple regions. Bigtable is eventually consistent and does not support SQL.

Firestore is a NoSQL document database with eventual consistency for multi-region. AlloyDB is regional, not global.

115
MCQeasy

A company wants to run a containerized application that scales down to zero when not in use and only incurs costs when requests are being processed. They do not want to manage infrastructure. Which compute service should they use?

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

Cloud Run is serverless, scales to zero, and charges only for request processing time.

Why this answer

Cloud Run is a fully managed serverless container platform that scales to zero and charges only for resources used during request processing. GKE Autopilot manages infrastructure but does not scale to zero (has a minimum node). Cloud Functions scales to zero but is for functions, not containers.

Compute Engine always has running VMs.

← PreviousPage 2 of 2 · 115 questions total

Ready to test yourself?

Try a timed practice session using only Pca Design Planning questions.

CCNA Pca Design Planning Questions — Page 2 of 2 | Courseiva