CCNA Pca Optimising Processes Questions

75 of 87 questions · Page 1/2 · Pca Optimising Processes topic · Answers revealed

1
MCQhard

A company uses BigQuery for large-scale analytics. They have a fixed monthly budget and want to ensure predictable costs for query processing, even when many users run concurrent queries. Which BigQuery pricing model should they use?

A.On-demand pricing with flat-rate discounts
B.Autoscaling slot reservations
C.Flat-rate pricing with slot reservations
D.On-demand pricing with committed use discounts
AnswerC

Slot reservations provide a fixed cost for a certain number of slots, making expenses predictable. Queries run within the reserved slots.

Why this answer

BigQuery slot reservations (fixed capacity) provide predictable pricing by purchasing a set number of slots. On-demand pricing charges per byte scanned, which can vary with usage. Flat-rate pricing via reservations is best for predictable costs.

Committed use discounts apply to slot reservations, but the core model is reservations.

2
MCQhard

A financial services firm runs batch risk calculations nightly using a large Compute Engine VM with a GPU. Jobs complete in 4 hours but are not time-sensitive. To reduce costs without sacrificing reliability, the firm enables preemptible VMs but finds that jobs are interrupted and restarting from scratch causes delays. What is the best approach to improve reliability while maintaining cost savings?

A.Request a committed use discount for the GPU and use a standard VM without preemptible.
B.Use a non-preemptible VM but downgrade the GPU type to reduce cost.
C.Use a spot VM with a high availability SLA, relying on low preemption rates.
D.Use a managed instance group with preemptible VMs and implement checkpointing to save progress periodically.
AnswerD

Checkpointing allows the job to resume after preemption, and preemptible VMs reduce cost.

Why this answer

Using managed instance groups with preemptible VMs and checkpointing allows the job to resume from the last checkpoint after preemption, maintaining reliability. Simply accepting preemptions or using non-preemptible VMs would not balance cost and reliability.

3
MCQmedium

A company wants to optimise costs for their BigQuery workloads. They have a predictable set of queries that run every hour, with occasional ad-hoc queries from analysts. They want to reduce the cost of the scheduled queries while keeping the ad-hoc queries cost-effective. Which pricing model should they choose?

A.Use Editions with a baseline of reserved slots for scheduled queries and allow autoscaling for ad-hoc
B.On-demand pricing
C.Use committed use discounts on slots
D.Flat-rate pricing (slot reservations) for all queries
AnswerA

Editions allow reserving slots for predictable workloads and autoscaling for spikes, optimising cost and performance.

Why this answer

BigQuery slot reservations (editions) allow allocating dedicated slots for predictable workloads, with separate pricing for ad-hoc queries (on-demand). Flat-rate pricing is cheaper for large steady-state usage but may waste slots during idle time. On-demand is pay-per-query; for predictable queries, it may be expensive.

The best approach is to use a hybrid: reserved slots for scheduled queries and on-demand for ad-hoc.

4
MCQhard

A company's BigQuery costs are higher than expected. They run many ad-hoc queries with filters on the 'transaction_date' column and 'customer_id' column. They also have a materialized view that is rarely used. Which combination of actions will MOST effectively reduce query costs?

A.Convert to a clustered table on transaction_date and disable caching
B.Use flat-rate pricing for all queries and cluster on transaction_date
C.Partition on customer_id and use materialized views for all queries
D.Partition on transaction_date, cluster on customer_id, and drop the unused materialized view
AnswerD

Partitioning and clustering reduce bytes scanned; dropping unused views cuts storage costs.

Why this answer

Partitioning by transaction_date reduces scanned data for date filters. Clustering by customer_id further reduces bytes billed for queries filtering on that column. Dropping unused materialized views avoids storage costs.

5
MCQeasy

A company wants to analyze their Google Cloud spending and receive recommendations for rightsizing resources. Which tool provides this functionality?

A.BigQuery Reservations
B.Active Assist
C.Google Cloud Pricing Calculator
D.Cloud Billing reports
AnswerB

Active Assist provides cost optimization recommendations, including rightsizing.

Why this answer

Active Assist includes recommendations for rightsizing Compute Engine VMs, Cloud SQL instances, and more. BigQuery Reservations is for slot management. Cloud Billing reports show costs but not recommendations.

Pricing Calculator estimates costs.

6
Multi-Selectmedium

A company wants to implement blameless postmortems as part of their SRE practices. Which THREE principles should they follow?

Select 3 answers
A.Only involve senior management in the review
B.Create actionable recommendations to prevent recurrence
C.Focus on identifying the root cause without blaming individuals
D.Assign responsibility to the team that caused the incident
E.Share findings with all relevant stakeholders
AnswersB, C, E

Postmortems should lead to improvements.

Why this answer

Blameless postmortems focus on learning from incidents without assigning blame. They should focus on system improvements, include everyone involved, and document findings. Assigning blame, only involving management, and ignoring fixes are contrary to blameless culture.

7
MCQmedium

A company runs a web application on Compute Engine behind a HTTP(S) Load Balancer. They want to reduce latency for users worldwide. Which Google Cloud service should they use?

A.Cloud CDN
B.Cloud Armor
C.Cloud NAT
D.Cloud VPN
AnswerA

Cloud CDN caches content at edge locations to reduce latency.

Why this answer

Cloud CDN caches content at Google's edge locations, reducing latency for global users. Cloud Armor is for security, Cloud NAT for outbound connectivity, and Cloud VPN for site-to-site VPN.

8
Multi-Selectmedium

A company wants to reduce costs for their BigQuery workloads. Which TWO actions will help achieve this?

Select 2 answers
A.Use clustered and partitioned tables to limit data scanned
B.Use flat-rate pricing with BigQuery slot reservations
C.Enable compression on exported data
D.Delete unnecessary datasets
E.Use materialized views to pre-compute results
AnswersA, B

Clustering and partitioning reduce the data processed, lowering costs.

Why this answer

Using flat-rate pricing with slot reservations provides predictable costs, and using clustered and partitioned tables reduces the amount of data scanned per query, lowering on-demand costs. Materialized views can reduce costs but are not always needed. Deleting datasets and compression are not relevant.

9
MCQeasy

A company wants to set a monthly spending limit for their Compute Engine usage and receive alerts when spending exceeds a threshold. Which tool should they use?

A.Cloud Monitoring
B.Cloud Budget alerts
C.Cloud Logging
D.Cloud Armor
AnswerB

Budget alerts send notifications when spending reaches a defined threshold.

Why this answer

Budget alerts in Cloud Billing allow you to set a spending budget and receive notifications when actual spending exceeds thresholds. They can be scoped to projects or services.

10
MCQeasy

A company is migrating 50 TB of on-premises file server data to Cloud Storage. The network bandwidth is limited to 100 Mbps. What is the most cost-effective and time-efficient migration method?

A.Use gsutil cp to copy files directly
B.Use gsutil rsync to synchronize
C.Use Transfer Appliance
D.Use Storage Transfer Service
AnswerC

Transfer Appliance is the fast, cost-effective option for large on-prem data migrations over slow networks.

Why this answer

Transfer Appliance is Google's physical device for transferring large amounts of data when network is slow or expensive. It avoids lengthy uploads over limited bandwidth. Storage Transfer Service is for cloud-to-cloud, not on-prem. gsutil cp and rsync over 100 Mbps would take weeks.

11
MCQmedium

A company runs batch analytics workloads on Compute Engine that can tolerate interruptions. They want to reduce compute costs by up to 60-90%. Which compute option is the most cost-effective?

A.On-demand VMs
B.Committed use discounts (1-year)
C.Preemptible VMs
D.Sustained use discounts
AnswerC

Preemptible VMs provide up to 90% discount and are suitable for batch workloads that can be interrupted.

Why this answer

Preemptible VMs offer significant discounts (60-90%) for interruptible workloads. Spot VMs are the newer equivalent with same discounts but no max runtime limit.

12
Multi-Selecthard

A company wants to migrate 200 TB of on-premises file shares to Cloud Storage. The network is slow (50 Mbps) and the project is time-sensitive. Which THREE services should they use? (Choose 3)

Select 3 answers
A.Transfer Appliance
B.gsutil
C.Database Migration Service
D.Migrate for Compute Engine
E.Storage Transfer Service
AnswersA, B, E

Physical device shipped to Google to upload data.

Why this answer

Transfer Appliance is for large data shipping. Storage Transfer Service can transfer from another cloud or on-prem (if intermediate). Migrate for Compute Engine is for VMs only.

Database Migration Service is for databases. gsutil is for direct upload but slow.

13
MCQhard

A company has a BigQuery dataset with a growing fact table (500 million rows, added daily). Queries that filter on a date column and group by a product ID are slow. The team wants to optimise query performance without increasing slot costs. Which two actions should they take? (Choose TWO.)

A.Cluster the table by the product ID column
B.Switch to BigQuery Editions with Autoscaling slots
C.Use SELECT * only when necessary
D.Create a materialised view that pre-aggregates the data
E.Partition the table by the date column
AnswerA, E

Clustering co-locates rows with similar product IDs, reducing the amount of data scanned for GROUP BY queries.

Why this answer

Partitioning by date and clustering by product ID can significantly improve query performance: partitioning prunes scans to relevant days, and clustering co-locates rows with similar product IDs. Materialised views pre-aggregate data but increase storage costs. SELECT * is inefficient and should be avoided.

Slots pricing does not help performance without changing configuration.

14
MCQhard

A startup is building a real-time multiplayer game with global players. They need a database that provides strong consistency across regions and can handle millions of concurrent users. They anticipate rapid growth and want to avoid downtime for scaling. Which database service meets these requirements?

A.Cloud SQL with cross-region replication
B.Cloud Spanner
C.Cloud Bigtable
D.Cloud Firestore
AnswerB

Spanner provides global strong consistency, automatic scaling, and is designed for high-throughput OLTP workloads. It fits the requirements perfectly.

Why this answer

Cloud Spanner is a globally distributed, strongly consistent relational database with automatic horizontal scaling. It provides strong consistency across regions and can handle millions of transactions per second. Firestore is eventually consistent (or strong within a region) and not designed for relational data.

Bigtable does not support strong consistency across regions. Cloud SQL is regional with limited scalability.

15
Multi-Selectmedium

A company is designing a disaster recovery plan for a critical application running on Compute Engine. The application requires a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of 4 hours. Which TWO strategies meet these requirements? (Choose 2)

Select 2 answers
A.Multi-region deployment with Cloud Load Balancing
B.Warm standby: run a scaled-down version of the environment in another region
C.Backup and restore: daily backups to Cloud Storage
D.Pilot light: replicate data to another region and have a minimal footprint ready
E.Cold standby: periodic snapshots to another region
AnswersB, D

Warm standby can achieve faster recovery than pilot light, still within 4 hours.

Why this answer

Pilot light involves replicating data and having a minimal environment ready to scale. Warm standby maintains a partially scaled environment. Both can achieve RPO of 15 minutes and RTO of 4 hours with proper setup.

Multi-region deployment and active-passive are not defined in terms of RPO/RTO.

16
MCQhard

A company needs to transfer 200 TB of data from on-premises to Cloud Storage within one week. The on-premises network upload speed is 100 Mbps. Which method should they use?

A.Order a Transfer Appliance
B.Use Storage Transfer Service
C.Use gsutil rsync to transfer the data
D.Use Velostrata (Migrate for Compute Engine)
AnswerA

Transfer Appliance can handle up to hundreds of TB via physical shipping, meeting the one-week timeline.

Why this answer

200 TB at 100 Mbps = 200 * 1024 * 8 / (100/8) seconds ≈ 1,620,000 seconds ≈ 19 days, which exceeds one week. So network transfer is too slow. Transfer Appliance is a physical device for fast offline transfer.

Storage Transfer Service is for cloud-to-cloud. gsutil rsync is an online tool. Velostrata is for VM migration.

17
MCQhard

A company uses Cloud CDN to serve static content from a Cloud Storage bucket. They update the content every 2 hours, but users sometimes see stale content for up to 24 hours. They need users to see the latest content within 5 minutes of an update. Which action should they take?

A.Use cache invalidation after each update
B.Use custom cache keys
C.Set a short max-age TTL (e.g., 5 minutes) on the objects
D.Change cache mode to CACHE_ALL_STATIC
AnswerC

Setting a short TTL tells CDN to cache for only 5 minutes, after which it re-fetches from origin. This ensures fresh content within 5 minutes.

Why this answer

To ensure content is served fresh, they should set a short max-age (cache TTL) on the object metadata or via the bucket's default object holding. Invalidating the cache is a reactive measure, but setting a short TTL ensures that cache entries expire quickly. Cache modes affect query string handling, not TTL.

Cache keys affect how content is cached but not the freshness duration.

18
MCQmedium

A company is migrating 50 on-premises VMs to Compute Engine. They need to minimise downtime and want an automated lift-and-shift migration that replicates disks incrementally. Which Google Cloud service should be used?

A.Database Migration Service
B.Migrate for Compute Engine
C.Storage Transfer Service
D.Transfer Appliance
AnswerB

This service provides agentless, incremental replication for VM migration to Compute Engine.

Why this answer

Migrate for Compute Engine (formerly Velostrata) performs agentless, incremental replication of VM disks to Compute Engine, enabling minimal downtime migrations.

19
MCQmedium

A company uses Cloud SQL for PostgreSQL and experiences connection spikes that cause connection limits to be exceeded. They need a solution to manage connection pooling. Which approach should they take?

A.Use ProxySQL to pool connections
B.Increase the number of vCPUs on the Cloud SQL instance
C.Use Cloud SQL Auth Proxy with connection pooling enabled
D.Configure PgBouncer on a separate Compute Engine instance to pool connections
AnswerD

PgBouncer is a PostgreSQL connection pooler that can be deployed alongside Cloud SQL.

Why this answer

Cloud SQL Auth Proxy handles authentication and encryption, but not pooling. PgBouncer is a lightweight connection pooler for PostgreSQL. Cloud SQL does not natively support ProxySQL for PostgreSQL.

Scaling up vCPUs increases connection limits but does not pool connections efficiently.

20
Multi-Selectmedium

An e-commerce platform uses Cloud SQL (MySQL) for its transactional database. They are experiencing performance degradation during peak hours due to high read traffic. They need to improve read throughput without modifying the application code. Which TWO actions should they take? (Choose 2)

Select 2 answers
A.Add a Cloud SQL Auth Proxy with connection pooling
B.Increase the number of vCPUs on the primary instance
C.Use Cloud Memorystore for caching session data
D.Enable query caching in Cloud SQL
E.Enable read replicas
AnswersA, E

Connection pooling reduces connection churn and improves performance.

Why this answer

Enabling read replicas offloads read queries from the primary instance. Adding a Cloud SQL Auth Proxy with connection pooling reduces connection overhead and improves efficiency. Increasing machine type is a valid option but not always necessary; enabling query caching is not directly available in Cloud SQL.

21
MCQmedium

A financial services company requires a storage solution for transaction logs that must be retained for 7 years due to regulatory compliance. After 90 days, the data is rarely accessed but must be retrievable within 1 hour. After 1 year, it must be archived with retrieval within 24 hours. Which Cloud Storage lifecycle policy should they implement?

A.Transition to Coldline after 90 days, then to Archive after 1 year
B.Transition to Nearline after 90 days, then to Archive after 1 year
C.Transition to Archive after 90 days
D.Transition to Standard after 90 days, then to Archive after 1 year
AnswerB

Nearline provides low-cost storage with ≤1 sec retrieval; Archive provides lowest cost with ≤15 min retrieval, meeting the 1-hour and 24-hour requirements.

Why this answer

Cloud Storage lifecycle policies can automatically transition objects between storage classes. Standard or Nearline (90 days), then Coldline (1 year), then Archive for remaining time. Retrieval times: Nearline ≤1 sec, Coldline ≤1 min, Archive ≤15 min (typically minutes to hours).

22
MCQhard

A team uses BigQuery for analytics. They notice that queries against a table with billions of rows are slow and expensive. The table is partitioned by ingestion time and has no clustering. Queries frequently filter on a 'customer_id' column. Which optimization would MOST reduce query cost and latency?

A.Use a materialized view pre-aggregated by customer_id
B.Switch to on-demand pricing
C.Add a clustered index on customer_id
D.Cluster the table on customer_id
AnswerD

Clustering on customer_id will group rows with the same customer_id together, reducing data scanned when filtering on that column.

Why this answer

Clustering on 'customer_id' will physically co-locate rows with the same customer_id within each partition. This allows BigQuery to prune blocks, reducing the amount of data scanned for queries that filter on customer_id. Partitioning alone is not enough; clustering on the filter column is key.

23
MCQeasy

A company wants to reduce costs for a batch analytics job that runs nightly for 4 hours on Compute Engine VMs. The job is fault-tolerant and can handle instance restarts. Which Compute Engine VM pricing model is MOST cost-effective?

A.3-year committed use discount (CUD)
B.1-year committed use discount (CUD)
C.Sustained use discounts
D.Preemptible VMs
AnswerD

Preemptible VMs offer the maximum discount (approx. 60-80%) and are designed for fault-tolerant, batch workloads that can be interrupted and restarted.

Why this answer

Preemptible VMs offer the lowest cost (up to 80% discount) and are ideal for fault-tolerant, short-lived batch workloads that can handle interruptions. Sustained use discounts apply automatically but require running a VM for at least 25% of a month. Committed use discounts require a 1- or 3-year commitment and are not as flexible for a short nightly job.

24
MCQhard

A company has a Bigtable instance handling time-series data. Write throughput is below expectations and latency is high. The row key format is `userid_timestamp`. Which row key design change would MOST improve performance?

A.Use `timestamp_userid` without reversal
B.Add more column families to store different metrics
C.Use a hash of the userid as the row key prefix
D.Reverse the timestamp and use `timestamp_userid`
AnswerC

Hashing distributes writes evenly across tablets.

Why this answer

Bigtable performance relies on distributing writes across tablets. A row key with a high-cardinality prefix (e.g., hashed userid) avoids hotspots. A timestamp prefix causes all writes to go to the last tablet (hotspot).

Reversing timestamp helps but still not as good as hashing. Adding column families does not affect row key distribution.

25
Multi-Selectmedium

A company wants to reduce costs for their steady-state Compute Engine workloads. They have 10 n1-standard-4 VMs running 24/7. Which TWO actions will reduce costs? (Choose 2)

Select 2 answers
A.Purchase committed use discounts (1-year) for the VMs
B.Use preemptible VMs
C.Migrate to sole-tenant nodes
D.Enable sustained use discounts
E.Apply right-sizing recommendations from Active Assist
AnswersA, E

Committed use discounts offer lower prices in exchange for a 1- or 3-year commitment.

Why this answer

Committed use discounts provide significant savings (up to 70%) for steady-state workloads. Right-sizing recommendations help identify if VMs are over-provisioned, allowing downsizing. Preemptible VMs are for interruptible workloads; sustained use is automatic but less savings.

26
MCQhard

A team uses BigQuery for real-time dashboarding. Queries on a large table take over 30 seconds. The table is date-partitioned and has high cardinality in the `user_id` column. Which optimization is MOST likely to reduce query latency?

A.Cluster the table on user_id
B.Use materialized views for all queries
C.Avoid using SELECT * in queries
D.Increase BigQuery slot reservations
AnswerA

Clustering on a high-cardinality column like user_id reduces the amount of data scanned for queries filtering on user_id.

Why this answer

Clustering sorts data within partitions based on the clustering columns, which significantly improves query performance for filter and aggregation on those columns. `user_id` is high cardinality, so clustering on it helps. Partitioning alone is already done. Avoiding `SELECT *` helps but is not the most impactful here.

Materialized views would help if the same aggregation is reused. Increasing slots costs money.

27
MCQmedium

A team uses Cloud CDN to cache static assets. They update assets by deploying new versions with new URLs. However, sometimes they need to invalidate the cache for a critical fix immediately without changing the URL. What should they do?

A.Increase the TTL to max
B.Change the URL to a new version
C.Use cache invalidation to remove the cached objects
D.Set a short TTL (e.g., 1 minute)
AnswerC

Cache invalidation is designed to immediately purge cached content.

Why this answer

Cloud CDN supports cache invalidation via gcloud CLI or API. Setting short TTL reduces cache duration but not immediate. Using cache-busting (changing URL) is the recommended approach but not feasible for this immediate fix.

Increasing TTL makes it worse.

28
MCQhard

A company has a Cloud Bigtable instance with 10 nodes. They notice read latency increases during peak hours. Monitoring shows CPU utilization at 70%. Which action will most effectively reduce read latency?

A.Switch from HDD to SSD
B.Redesign row keys to avoid hotspots
C.Increase the number of nodes
D.Split the tables into more tablets
AnswerC

Adding nodes reduces CPU load and read latency.

Why this answer

High CPU utilization (70%) indicates the cluster is stressed. Adding nodes increases throughput and reduces latency. SSDs are default, so not a factor.

Row key redesign would require application changes. Table splitting is automatic.

29
Multi-Selecthard

An organization runs a critical application on Compute Engine with a 99.99% SLO. They have set an error budget of 0.01% over a 30-day window. Recently, an unexpected traffic spike caused a 0.005% error rate for a few hours. Which THREE actions align with SRE best practices? (Choose 3)

Select 3 answers
A.Immediately rollback any recent changes to prevent further errors.
B.Disable monitoring alerts for the error rate to avoid false alarms.
C.Conduct a blameless postmortem to understand the root cause and prevent recurrence.
D.Accept the incident as within the error budget and focus on other improvements.
E.Increase capacity proactively for anticipated future spikes.
AnswersC, D, E

Blameless postmortems are key to learning and improving reliability.

Why this answer

SRE best practices include using error budgets to drive decisions, conducting blameless postmortems, and adjusting capacity based on usage. Relying on past data and ignoring the spike is not proactive.

30
MCQmedium

A team runs periodic BigQuery queries on a large dataset. They notice high costs due to full table scans. They want to reduce costs and improve query performance. Which two actions should they take? (Choose two options that best fit the scenario.)

A.Use SELECT * only when necessary
B.Partition the table by a date/timestamp column
C.Use materialized views to pre-aggregate data
D.Cluster the table on frequently filtered columns
AnswerB, D

Partitioning prunes scans to relevant partitions.

Why this answer

Partitioning and clustering in BigQuery limit the data scanned by queries, reducing cost and improving performance. Using materialized views can also pre-aggregate data. Avoiding SELECT * is a best practice.

The question asks for two actions; the best combination is partitioning by a time field and clustering on frequently filtered columns.

31
MCQmedium

A company needs to choose between Cloud Spanner and Firestore for a global inventory application that requires strong consistency and horizontal scaling. The application has a fixed schema with complex joins. Which database is most appropriate?

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

Spanner provides strong consistency, relational schema, joins, and horizontal scaling across regions.

Why this answer

Cloud Spanner is a globally distributed relational database with strong consistency and supports complex joins. Firestore is a NoSQL document database with eventual consistency (strong consistency only within a single document).

32
MCQmedium

A company is performing a TCO analysis to compare on-premises costs with Google Cloud. Which cost should they include as a hidden operational cost on-premises?

A.Compute Engine instance costs
B.Power, cooling, and physical security
C.Egress charges
D.Software license costs
AnswerB

These are often overlooked operational costs for on-premises.

Why this answer

On-premises hidden costs include facility costs (power, cooling, space), hardware maintenance, personnel for patching and upgrades. Egress costs are cloud costs, not on-prem. Compute Engine instance cost is a direct cloud cost.

Software licenses depend on licensing model.

33
MCQeasy

An organization wants to reduce costs for a batch data processing job that runs nightly and is resilient to interruptions. The job can be restarted from checkpoints. Which Compute Engine VM pricing model should be used?

A.On-demand VMs
B.Sustained use discounts
C.Committed use discounts (1-year)
D.Preemptible VMs
AnswerD

Preemptible VMs cost about 60-91% less than standard VMs and are suitable for fault-tolerant batch jobs that can handle interruptions. The job can checkpoint and resume.

Why this answer

Preemptible VMs and Spot VMs are significantly cheaper than standard VMs and can be terminated by Google Cloud at any time. Since the job is batch and can resume from checkpoints, interruptions are acceptable. Sustained use discounts apply automatically to standard VMs, but preemptible/spot VMs offer the lowest cost for fault-tolerant workloads.

34
MCQmedium

A company is migrating an on-premises PostgreSQL database (5 TB) to Cloud SQL. They need minimal downtime and automated schema conversion if needed. Which GCP service should they use?

A.Database Migration Service (DMS)
B.Datastream
C.Migrate for Compute Engine (formerly Velostrata)
D.Transfer Appliance
AnswerA

DMS provides near-zero downtime migration for PostgreSQL to Cloud SQL. It supports schema conversion and ongoing replication.

Why this answer

Database Migration Service (DMS) supports continuous migration with minimal downtime from on-premises PostgreSQL to Cloud SQL. It handles schema and data migration. Migrate for Compute Engine is for VM migration, Transfer Appliance is for bulk data transfer, and Datastream is for streaming replication to BigQuery.

35
MCQeasy

An engineer wants to migrate an on-premises MySQL database (5.6) to Cloud SQL for MySQL with minimal downtime. Which service should they use?

A.Migrate for Compute Engine (formerly Velostrata)
B.Storage Transfer Service
C.BigQuery Data Transfer Service
D.Database Migration Service
AnswerD

DMS provides one-click migration with continuous replication, minimizing downtime.

Why this answer

Database Migration Service (DMS) supports continuous replication from on-premises MySQL to Cloud SQL, enabling minimal downtime migration. Velostrata (Migrate for Compute Engine) is for VM migration. Storage Transfer Service is for file/object data.

BigQuery Data Transfer Service is for analytics data.

36
Multi-Selectmedium

A company wants to reduce Cloud Storage costs for archival data that is accessed less than once a year. They have data stored in Standard storage class. Which TWO actions should they take? (Choose TWO.)

Select 2 answers
A.Use a lifecycle rule to delete objects that are older than 365 days
B.Set a lifecycle rule to transition objects older than 90 days to Coldline storage class
C.Rename objects to start with 'archive/' to reduce costs
D.Set a lifecycle rule to transition objects older than 365 days to Archive storage class
E.Set a lifecycle rule to transition objects older than 30 days to Nearline storage class
AnswersA, D

If data is truly unneeded, deleting it eliminates storage costs entirely.

Why this answer

Using lifecycle policies to transition from Standard to Archive storage class reduces cost for rarely accessed data. Also, deleting unnecessary objects reduces storage. Coldline is for 90 days, Nearline for 30 days; Archive is for long-term archival.

Changing object names does not reduce cost.

37
MCQmedium

A company runs batch analytics workloads each night on Compute Engine VMs. The workloads are fault-tolerant and can be interrupted. The finance team wants to reduce compute costs. Which Compute Engine pricing model should they use?

A.Committed use discounts (1-year or 3-year)
B.Preemptible VMs
C.Sustained use discounts
D.Sole-tenant nodes
AnswerB

Preemptible VMs are ideal for fault-tolerant batch workloads because they cost much less and can be interrupted.

Why this answer

Preemptible VMs offer the deepest discount (up to 91% off regular pricing) and are perfect for batch, fault-tolerant workloads that can be interrupted. Committed use discounts are for long-term, steady-state usage; sustained use discounts are automatic but smaller; and sole-tenant nodes are for isolation, not cost savings.

38
MCQmedium

A media company stores video files in Cloud Storage for streaming. Infrequently accessed videos older than 90 days are currently in Standard storage. To reduce costs, they want to automatically move these files to a lower-cost storage class and delete them after 3 years. Which configuration should they use?

A.Configure a Pub/Sub notification on object changes and process via Dataflow.
B.Use gsutil rewrite command with -s option manually for each file.
C.Use a lifecycle rule with condition 'age > 90 days' to set storage class to Nearline, and another rule with 'age > 1095 days' to delete.
D.Create a Cloud Function that moves objects monthly using a cron job.
AnswerC

Lifecycle policies automate the transitions and deletion as per requirements.

Why this answer

Cloud Storage lifecycle policies can automatically transition objects between storage classes or delete them based on age. Setting conditions for transition to Nearline (or Coldline/Archive) after 90 days and deletion after 1095 days (3 years) is the correct approach.

39
MCQeasy

An organization is planning to move 500 TB of archival data from on-premises to Cloud Storage. The data is not frequently accessed, and the network bandwidth is limited to 100 Mbps. What is the most efficient migration approach?

A.Use Transfer Appliance
B.Use gsutil rsync with parallel composite uploads
C.Use Migrate for Compute Engine
D.Use Storage Transfer Service over the internet
AnswerA

Transfer Appliance is a physical device shipped to the data center, loaded, and returned — ideal for large, low-bandwidth migrations.

Why this answer

Transfer Appliance is a physical device for shipping large amounts of data when bandwidth is low. At 100 Mbps, 500 TB would take over 500 days; Transfer Appliance bypasses network constraints.

40
MCQeasy

A company has a Cloud SQL for PostgreSQL instance that experiences high connection overhead. Developers frequently open and close connections. Which solution reduces connection overhead without code changes?

A.Increase max_connections in Cloud SQL
B.Configure PgBouncer as a sidecar
C.Switch to Private IP
D.Use Cloud SQL Auth Proxy
AnswerB

PgBouncer is a lightweight connection pooler that reduces overhead by reusing connections.

Why this answer

Cloud SQL Auth Proxy provides secure connections but does not pool. PgBouncer is a connection pooler for PostgreSQL; it maintains a pool of connections and reuses them. Increasing max_connections doesn't reduce overhead.

Using private IP alone doesn't pool.

41
MCQmedium

A company wants to use BigQuery with a predictable monthly cost, regardless of query volume. They have a steady state of around 500 concurrent slots. Which pricing model should they choose?

A.Sustained use discounts
B.Committed use discounts for BigQuery
C.Slot reservations (flat-rate)
D.On-demand pricing
AnswerC

Reservations provide fixed cost based on number of slots, predictable for steady workloads.

Why this answer

BigQuery slot reservations (flat-rate) provide a fixed monthly cost based on reserved slots, suitable for predictable workloads. On-demand pricing charges per query and can vary.

42
MCQmedium

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

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

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.

43
MCQhard

A company running a globally distributed application uses Firestore in Native mode. They need strong consistency for reads and writes across multiple regions. Which deployment strategy should they use?

A.Use Bigtable with replication
B.Use Firestore in Datastore mode
C.Use Firestore in multi-region (nam5 or eur3)
D.Use Cloud Spanner
AnswerD

Cloud Spanner provides strong ACID transactions across regions, meeting the requirement for strong consistency.

Why this answer

Firestore supports multi-region replication but only provides eventual consistency across regions. Cloud Spanner offers strong consistency globally. Firestore in Datastore mode also offers eventual consistency.

Therefore, for strong consistency across regions, Cloud Spanner is required.

44
MCQeasy

A company wants to monitor the performance of their application against a Service Level Objective (SLO) of 99.9% availability over a 30-day rolling window. They plan to use Google Cloud's operations suite (formerly Stackdriver). Which metric should they use as the Service Level Indicator (SLI) for availability?

A.Successful request ratio
B.Error rate
C.Request latency
D.CPU utilization
AnswerA

Availability SLI is often the ratio of successful responses (e.g., HTTP 200-499) to total requests. This directly measures uptime.

Why this answer

Availability is typically measured as the fraction of successful requests (e.g., HTTP 200-499) vs total requests. The other options are valid SLIs for other aspects: latency, error rate, or saturation.

45
MCQhard

A company runs a global e-commerce platform on Google Kubernetes Engine (GKE) with a Cloud SQL for MySQL database. During promotions, traffic spikes cause database connection limits to be exceeded, leading to errors. The application uses the Cloud SQL Auth Proxy. What is the MOST scalable and cost-effective solution?

A.Configure the Cloud SQL Auth Proxy to use private IP and increase pool size
B.Upgrade the Cloud SQL instance to a higher tier with more connections
C.Increase the number of Cloud SQL Auth Proxy replicas
D.Use a connection pooler such as ProxySQL deployed in the GKE cluster
AnswerD

ProxySQL pools connections to the database, allowing many application connections to be multiplexed over fewer database connections, reducing load on the database and avoiding connection limits.

Why this answer

Connection pooling (e.g., using PgBouncer for PostgreSQL, but for MySQL, similar poolers like ProxySQL or built-in connection pooling) allows the application to reuse connections and handle many concurrent requests without hitting database connection limits. Increasing the database tier or proxy instances adds cost and may not address the underlying issue of connection churn.

46
MCQeasy

Which Google Cloud service automatically computes the optimal size or tier for underutilized Compute Engine instances and generates recommendations to reduce cost?

A.Cloud Monitoring
B.Cloud Profiler
C.Cost Management
D.Recommender (Active Assist)
AnswerD

The Recommender service includes rightsizing recommendations for underutilized VMs.

Why this answer

Active Assist includes rightsizing recommendations that analyze VM utilization and suggest appropriate machine types or tiers to reduce cost without sacrificing performance.

47
MCQhard

An engineer is designing a Bigtable schema for time-series data consisting of sensor readings. Each sensor emits a reading every second. The access pattern is to retrieve all readings for a specific sensor within a time range. Which row key design will provide the best performance?

A.Use row key: [sensor_id]#[reverse_timestamp]
B.Use a single row per sensor with column qualifiers as timestamps
C.Use timestamp as the row key and sensor ID as column qualifier
D.Use a random prefix to distribute writes evenly
AnswerA

This ensures all readings for a sensor are close together and sorted by timestamp, optimizing range scans.

Why this answer

Bigtable stores rows sorted by key. A row key structured as [sensor_id]#[reverse_timestamp] ensures that all data for a sensor is contiguous, and sorting by reverse timestamp allows recent data to be retrieved first. A single row key per sensor with column qualifiers would cause hotspots and limit scalability.

48
MCQmedium

A company runs a web application on Compute Engine behind a Global HTTPS Load Balancer. Users report slow page loads, especially for static assets. The development team wants to cache content closer to users without modifying code. Which GCP service should they enable?

A.Cloud CDN
B.Cloud NAT
C.Cloud Armor
D.Cloud DNS
AnswerA

Cloud CDN caches static and dynamic content at Google's edge locations, reducing latency by serving content from a PoP near the user.

Why this answer

Cloud CDN uses Google's global edge cache to deliver content close to users. It can be enabled on the load balancer backend buckets (for Cloud Storage) or backend services (for Compute Engine). Cloud Armor is for security, Cloud DNS for domain resolution, and Cloud NAT for outbound connectivity.

49
MCQmedium

A company stores infrequently accessed data in Cloud Storage Standard class. To reduce costs, they want to automatically move objects older than 90 days to a lower-cost storage class. Which approach should they use?

A.Configure a lifecycle policy to transition to Archive class
B.Use gsutil rewrite to manually change storage class
C.Set up Pub/Sub notifications for object changes
D.Enable object versioning
AnswerA

Lifecycle policies automatically move objects to lower-cost classes based on rules.

Why this answer

Cloud Storage lifecycle policies allow automatic transitions between storage classes based on conditions like age. Setting a rule to transition from Standard to Nearline, Coldline, or Archive after 90 days is the correct approach. Object versioning keeps multiple versions but doesn't change class.

Pub/Sub notifications notify events but don't act. gsutil rewrite can be scripted but is manual.

50
Multi-Selectmedium

A team is designing a disaster recovery plan for a critical application. They need to ensure RPO of less than 1 hour and RTO of less than 4 hours. The application runs on Compute Engine with persistent disks and uses Cloud SQL for MySQL. Which THREE actions should they take? (Choose 3.)

Select 3 answers
A.Deploy a Transfer Appliance to copy data to another region weekly
B.Use a regional managed instance group and rely on Google's automatic failover
C.Store application configuration and scripts in a multi-regional Cloud Storage bucket
D.Configure Cloud SQL cross-region replication to a replica in another region
E.Take regular snapshots of Compute Engine persistent disks and replicate them to another region using Cloud Storage
AnswersC, D, E

A multi-regional bucket ensures configuration is available globally and can be used to bootstrap instances in the DR region.

Why this answer

For Compute Engine, taking regular snapshots and creating instances from them in another region meets RPO/RTO. For Cloud SQL, enabling cross-region replication (asynchronous) provides failover capability. Using a single regional managed instance group does not provide DR across regions.

Transfer Appliance is for bulk data migration, not DR. A multi-region bucket is for storage but not directly for Compute Engine instances.

51
MCQhard

A team runs a Cloud Spanner instance with a regional configuration. They need to increase write throughput for a global user base but are concerned about cost. What should they do?

A.Add more nodes to the instance
B.Use global indexes
C.Migrate to Cloud Firestore in Datastore mode
D.Switch to a multi-region configuration
AnswerA

Adding nodes increases both read and write throughput linearly.

Why this answer

Adding nodes increases throughput and cost proportionally. Switching to multi-region increases latency for writes (due to synchronous replication) and cost. Using global indexes won't increase baseline write throughput.

Recommending to use Firestore is not correct for this scenario.

52
Multi-Selectmedium

A company is planning to migrate a large on-premises Oracle database (10 TB) to Cloud SQL for PostgreSQL. They need to minimise downtime and ensure data integrity. Which TWO services or tools should they use? (Choose TWO.)

Select 2 answers
A.Migrate for Compute Engine
B.Cloud Dataflow
C.Cloud Scheduler
D.Database Migration Service (DMS)
E.Cloud SQL Auth Proxy
AnswersD, E

DMS can perform continuous migration from Oracle to Cloud SQL for PostgreSQL with near-zero downtime.

Why this answer

Database Migration Service (DMS) supports ongoing replication from Oracle to Cloud SQL for PostgreSQL, minimising downtime. Cloud Scheduler is not relevant. Dataflow can be used for streaming but is not the primary tool for database migration.

Migrate for Compute Engine is for VM migration. Cloud SQL Auth Proxy is for secure connections, not migration.

53
MCQeasy

A company runs batch machine learning training jobs that can be interrupted. They want to reduce compute costs. Which Compute Engine VM pricing model is MOST cost-effective?

A.Preemptible VMs
B.Standard VMs
C.Sustained use discounts
D.Committed use discounts
AnswerA

Preemptible VMs are significantly cheaper and suitable for interruptible batch jobs.

Why this answer

Preemptible VMs offer up to 60-91% discount and can be terminated at any time, ideal for batch workloads that are fault-tolerant. Sustained use discounts are automatic but less aggressive. Committed use discounts require 1 or 3 year commitment.

Standard VMs are full price.

54
MCQmedium

An application uses Cloud Bigtable and experiences high latency for reads. The row key is a timestamp prefix followed by a random ID. Queries often scan a range of timestamps for a specific ID. What design change would MOST improve read performance?

A.Change the row key to start with the random ID followed by timestamp
B.Add more Bigtable nodes
C.Use a separate column family for the ID
D.Enable Bigtable replication
AnswerA

This ensures rows for the same ID are clustered together, making timestamp range scans for a specific ID fast.

Why this answer

For Bigtable, row key design is critical. Scanning a range of timestamps for a specific ID is inefficient if the key starts with timestamp (scans across all IDs). Prepending the ID ensures all data for that ID is contiguous, making range scans efficient.

Adding nodes increases throughput but doesn't fix the key design issue. Using a column family is about grouping columns, not performance.

55
Multi-Selectmedium

A company wants to reduce egress costs from Google Cloud when serving static content to users worldwide. They also need to ensure low latency for global users. Which TWO actions should they take? (Choose 2)

Select 2 answers
A.Enable VPC Flow Logs to monitor egress.
B.Use premium tier network for egress traffic.
C.Use a multi-regional Cloud Storage bucket to serve content.
D.Configure Cloud CDN in front of the origin.
E.Allow public access to the bucket and use signed URLs.
AnswersB, D

Premium tier uses Google's global network, which can improve performance and reduce bandwidth costs compared to standard internet.

Why this answer

Cloud CDN caches content at edge locations, reducing egress from the origin and providing low latency. Using a premium tier network improves performance and can reduce egress costs compared to standard tier. Allowing public access to the bucket is not directly related to egress cost reduction.

56
MCQhard

An application uses Cloud SQL (PostgreSQL) and experiences high connection overhead, often exhausting the max connections limit. The team wants to maintain a pool of persistent connections without modifying application code. Which solution should they implement?

A.Use Cloud Memorystore as a connection cache
B.Increase the max connections flag in Cloud SQL
C.Configure Cloud SQL Auth Proxy with max connections
D.Deploy PgBouncer on a Compute Engine instance
AnswerD

PgBouncer is a lightweight connection pooler for PostgreSQL that can be deployed to manage connections transparently.

Why this answer

PgBouncer is a connection pooler for PostgreSQL that manages a pool of connections, reducing overhead and preventing exhaustion. It can be deployed on Compute Engine or using Cloud SQL Auth Proxy with connection pooling.

57
MCQeasy

A data analytics team runs ad-hoc SQL queries on BigQuery to explore a 10 TB table. Queries are slow and expensive because they frequently scan the entire table. They want to reduce query costs and improve performance without changing the table schema. Which optimization should they apply first?

A.Create a materialized view of common aggregations.
B.Use clustering on the most-filtered column.
C.Partition the table by a date or timestamp column.
D.Switch to on-demand pricing from slot reservations.
AnswerC

Partitioning limits the data scanned per query, reducing cost and improving performance.

Why this answer

Partitioning the table by a time column (e.g., ingestion date) allows queries to filter on that column and scan only relevant partitions, reducing scanned data and cost. Clustering is also beneficial but partitioning is the first step for cost reduction.

58
MCQmedium

A company runs a web application behind a Cloud HTTP(S) Load Balancer. Static content (images, CSS, JS) is served from Cloud Storage. They want to reduce latency for users worldwide. Which action is MOST effective?

A.Enable Cloud CDN on the backend bucket
B.Increase the number of frontend instances
C.Use Cloud Armor to block high-latency requests
D.Use a multi-regional Cloud Storage bucket
AnswerA

Cloud CDN caches static content at edge locations worldwide, significantly reducing latency for users regardless of their location.

Why this answer

Cloud CDN caches content at global edge locations, reducing latency for users. Enabling Cloud CDN on the backend bucket serves static content from the edge. Using a multi-region bucket provides regional redundancy but does not reduce latency as effectively as CDN.

Increasing machine size does not help with static content serving.

59
MCQmedium

A company runs a global application that requires strong consistency across regions for financial transactions. Which database should they choose?

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

Spanner provides globally distributed strong consistency with ACID transactions.

Why this answer

Cloud Spanner provides global strong consistency and horizontal scaling. Bigtable offers eventual consistency. Firestore provides strong consistency within a region but not globally.

Cloud SQL is regional.

60
Multi-Selectmedium

A company is migrating 100 TB of on-premises file shares to Cloud Storage. The network bandwidth is limited to 100 Mbps and the migration must complete within 2 weeks. Which TWO services should they consider? (Choose 2)

Select 2 answers
A.Migrate for Compute Engine
B.Transfer Appliance
C.BigQuery Data Transfer Service
D.Storage Transfer Service
E.gsutil cp command with parallel processing
AnswersB, D

Offline transfer of large data sets when bandwidth is insufficient.

Why this answer

Transfer Appliance is ideal for large data volumes with limited bandwidth as it physically ships the data. Storage Transfer Service can handle the final synchronization from a temporary staging location. Migrate for Compute Engine is for VM migration, not file data.

61
MCQeasy

A team wants to automatically move data from Cloud Storage Standard class to Nearline class after 30 days, and to Archive class after 365 days. Which GCP feature should be used?

A.Cloud Storage Object Lifecycle Management (via gsutil lifecycle set)
B.Cloud Storage Transfer Service
C.Google Cloud Armor
D.Cloud Storage lifecycle management policies
AnswerD

Lifecycle policies can automatically transition objects from Standard to Nearline after 30 days and to Archive after 365 days.

Why this answer

Cloud Storage lifecycle management policies allow you to set rules to transition objects between storage classes based on age. Object Lifecycle Management is the correct feature. There is no 'Storage Tiering' service; it's part of Cloud Storage.

62
MCQmedium

An e-commerce platform uses Cloud SQL for PostgreSQL to serve product catalog data. As traffic grows, the database experiences high connection overhead and latency spikes. The team wants to reduce connection overhead and improve performance without changing application code. Which solution should they implement?

A.Use Memorystore (Redis) to cache database queries.
B.Migrate to Cloud Spanner for better scalability.
C.Use Cloud SQL Auth Proxy with connection pooling enabled.
D.Increase the maximum connections setting in Cloud SQL to handle more concurrent connections.
AnswerC

Auth Proxy manages connections and pools them, reducing overhead.

Why this answer

Cloud SQL Auth Proxy provides secure connections and connection pooling, reducing overhead. PgBouncer is a lightweight connection pooler that can be used alongside. Directly increasing connections or using Redis would not address connection overhead.

63
MCQeasy

A startup is migrating its on-premises MySQL database (5 TB) to Cloud SQL. The database is mission-critical and downtime must be minimized. Which migration service should they use to reduce downtime?

A.Transfer Appliance
B.gcloud sql import command
C.Storage Transfer Service
D.Database Migration Service (DMS)
AnswerD

DMS supports continuous replication for minimal downtime migration.

Why this answer

Database Migration Service (DMS) supports continuous replication from on-premises MySQL to Cloud SQL, minimizing downtime. Other options like Transfer Appliance or Storage Transfer Service are for file transfers, not live databases.

64
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.BigQuery
B.Firestore
C.Cloud Bigtable
D.Cloud Spanner
AnswerC

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

Why this answer

Cloud Bigtable is designed for petabyte-scale, low-latency, high-throughput NoSQL storage for time-series, IoT, and financial data. It scales horizontally by adding nodes. BigQuery is an analytics warehouse with seconds-to-minutes latency, Cloud SQL is for OLTP with limited QPS, and Firestore is for document data with hierarchical structure.

65
MCQmedium

A company is migrating 500 TB of on-premises file server data to Cloud Storage. The on-premises network has a 1 Gbps link to Google Cloud, but the migration must complete within 30 days. What is the MOST cost-effective and reliable method?

A.Use Storage Transfer Service over a dedicated interconnect
B.Deploy a VPN and use gsutil rsync
C.Use Database Migration Service
D.Use Transfer Appliance
AnswerD

Transfer Appliance can physically ship 500 TB of data, bypassing network constraints. It is reliable and cost-effective for large data volumes.

Why this answer

Transfer Appliance is a physical device that Google ships to the customer; they load data onto it and return it for upload. For 500 TB over a 1 Gbps link, the theoretical transfer time is ~46 days (500 TB * 8 / 1 Gbps / 86400 sec/day), exceeding the 30-day window. Transfer Appliance avoids network transfer and meets the timeline.

Storage Transfer Service is for cloud-to-cloud or HTTP(S) sources, not on-prem. Migrate for Compute Engine is for VM migration.

66
MCQeasy

A team wants to define an SLO for a service that requires 99.9% availability over a 30-day window. They need to measure the ratio of successful requests to total requests. Which SLI should they use?

A.Request success rate
B.SRE
C.Request latency
D.Error budget
AnswerA

The proportion of successful requests is the standard SLI for availability.

Why this answer

An SLI is a measure of service performance. For availability, the standard SLI is the proportion of successful requests (e.g., HTTP 2xx) to total requests. Latency SLI measures response times.

Error budget is derived from SLO. SRE is the practice.

67
Multi-Selectmedium

A company is migrating a large on-premises data warehouse to BigQuery. The data includes sensitive customer information that must be encrypted at rest and in transit. They also need to mask credit card numbers for analysts who do not have a need to see the full number. Which TWO Google Cloud services should they use? (Choose 2.)

Select 2 answers
A.Cloud Identity-Aware Proxy (IAP)
B.Cloud Data Loss Prevention (DLP)
C.Cloud Data Catalog and policy tags
D.Cloud Audit Logs
E.Cloud Key Management Service (KMS)
AnswersB, C

DLP can inspect and de-identify sensitive data, such as masking credit card numbers, before storing in BigQuery.

Why this answer

BigQuery supports column-level security via policy tags using Data Catalog. Data Loss Prevention (DLP) can automatically classify and mask sensitive data such as credit card numbers. Cloud Key Management Service (KMS) is for managing encryption keys but not for masking.

Cloud Audit Logs are for auditing, not masking. Cloud Identity-Aware Proxy (IAP) controls access at the application level, not for data masking.

68
MCQmedium

A company wants to analyze the total cost of ownership (TCO) for migrating their on-premises data center to Google Cloud. They need to compare compute, storage, and network costs, including operational expenses like maintenance and power. Which tool should they use?

A.Google Cloud Pricing Calculator
B.Cloud Billing reports
C.Active Assist cost optimization recommendations
D.Google Cloud TCO Calculator
AnswerD

The TCO Calculator is specifically designed to compare on-prem costs (including operational) with Google Cloud costs.

Why this answer

Google Cloud's TCO calculator allows you to input on-premises infrastructure details and estimate cloud costs, including compute, storage, network, and operational savings. The Pricing Calculator is for estimating cloud costs but does not compare on-prem vs cloud. Active Assist is for optimization recommendations, not TCO analysis.

69
MCQhard

A company runs a Bigtable instance for real-time analytics. They notice increasing latency for point reads. The row key pattern is 'YYYYMMDD_userID_productID'. The team suspects read hotspots. Which row key design change would BEST distribute the load across tablets?

A.Prepend a random number field: 'random_YYYYMMDD_userID_productID'
B.Reorder to 'userID_productID_YYYYMMDD'
C.Keep the same order but use a shorter timestamp: 'YYMMDD_userID_productID'
D.Reverse the timestamp: 'DDMMYYYY_userID_productID'
AnswerB

By moving user ID first, reads for a specific user are spread across many tablets. If different users are read concurrently, load is distributed.

Why this answer

Using a field prefix (like user ID) before the timestamp distributes reads across tablets because Bigtable orders rows lexicographically. If the timestamp is first, recent data falls into a single tablet, causing hotspots. Reversing the timestamp or hashing the row key are also common strategies.

Salting with a random prefix is another approach.

70
MCQmedium

A team wants to provide a consistent, low-latency experience for global users accessing static content (images, CSS, JS) hosted on Cloud Storage. They also need to be able to invalidate cached content quickly when updates occur. Which service should they use?

A.Cloud NAT
B.Cloud Load Balancing with backend bucket
C.Cloud Storage transfer service
D.Cloud CDN
AnswerD

Cloud CDN caches static content globally and supports cache invalidation via the console or CLI.

Why this answer

Cloud CDN caches content at edge locations for low latency. Cache invalidation allows purging updated content, which is essential for static assets.

71
Multi-Selecteasy

A company runs a batch processing job that uses preemptible VMs. The job occasionally fails due to VM preemption. They want to improve reliability without significantly increasing cost. Which TWO actions should they take? (Choose TWO.)

Select 2 answers
A.Use a managed instance group with autoscaling and preemptible VMs
B.Use sole-tenant nodes to reduce risk of preemption
C.Switch to regular (non-preemptible) VMs
D.Implement a retry mechanism in the job to re-run failed tasks
E.Increase the number of preemptible VMs
AnswersA, D

MIGs can automatically replace preempted VMs, and autoscaling adds resilience. Preemptible VMs keep costs low.

Why this answer

Using a managed instance group (MIG) with autoscaling and preemptible VMs can automatically recreate instances if preempted. Implementing a retry logic in the application to re-run failed tasks also improves reliability. Using sole-tenant nodes or adding more nodes increases cost or complexity.

Switching to regular VMs increases cost.

72
Multi-Selecthard

A company is moving a legacy application to Compute Engine. The application has inconsistent resource usage and the team wants to optimise costs without performance degradation. They are evaluating committed use discounts (CUDs) and other discount types. Which THREE statements are correct about CUDs? (Choose 3)

Select 3 answers
A.CUDs require a minimum of 10 instances to qualify
B.Spend-based CUDs are applied automatically to all eligible projects in the billing account
C.CUDs cannot be combined with sustained use discounts
D.CUDs provide a discount in exchange for committing to a minimum spend or resource usage for 1 or 3 years
E.Resource-based CUDs apply to a specific machine series and region
AnswersB, D, E

Spend-based CUDs apply at the billing account level.

Why this answer

CUDs offer discounts for 1-year or 3-year commitments. Resource-based CUDs apply to specific machine types in a region. Spend-based CUDs apply to total compute spend.

CUDs can be combined with sustained use discounts, but sustained use discounts are automatic and not required to be purchased.

73
Multi-Selectmedium

A company wants to improve the performance of their Cloud SQL for PostgreSQL instance. They notice many idle connections and slow queries. Which THREE actions could help? (Choose 3)

Select 3 answers
A.Add appropriate indexes
B.Add read replicas
C.Use PgBouncer for connection pooling
D.Enable private IP
E.Increase disk size
AnswersA, B, C

Speeds up slow queries.

Why this answer

PgBouncer reduces connection overhead. Read replicas offload read queries. Adding indexes speeds up queries.

Private IP improves security and latency but not performance. Increasing disk size helps if I/O bottleneck, but not connection or query performance.

74
MCQeasy

A company wants to define an SLO for their application's availability. They measure that the application was down for 30 minutes in a 30-day period. What is the availability SLO that they can achieve?

A.99.5%
B.99.9%
C.99.99%
D.99.95%
AnswerB

99.9% allows 43.2 minutes downtime per month; 30 minutes is within that.

Why this answer

Availability = (total time - downtime) / total time. 30 days = 43200 minutes. (43200 - 30) / 43200 = 99.93%. The closest higher but achievable SLO would be 99.9%, because 99.95% would allow only 21.6 minutes downtime. Typically SLOs are stated as 99.9%, 99.95%, etc.

75
MCQmedium

A company wants to automatically move data from Cloud Storage Standard to Nearline after 30 days and to Archive after 90 days. Which approach should they use?

A.Write a custom script using Cloud Functions triggered by Pub/Sub to move objects
B.Use Object Versioning to automatically change storage class
C.Set up a Cloud Storage lifecycle policy with rules to transition to Nearline after 30 days and to Archive after 90 days
D.Enable Requester Pays on the bucket to reduce storage costs
AnswerC

Lifecycle policies automate tiering based on age.

Why this answer

Cloud Storage lifecycle policies can automatically transition objects between storage classes based on age or other conditions. This is the simplest and most cost-effective method. Manually moving data is not practical.

Object versioning helps with retention but not automatic tiering. Requester pays shifts costs but does not move data.

Page 1 of 2 · 87 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Pca Optimising Processes questions.

CCNA Pca Optimising Processes Questions — Page 1 of 2 | Courseiva