0
0
GCPcloud~20 mins

Cost optimization strategies in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cost Optimization Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Committed Use Discounts

Which statement best describes how Committed Use Discounts (CUDs) help reduce costs in Google Cloud Platform?

ACUDs apply only to on-demand resources and increase costs if usage exceeds the commitment.
BCUDs provide a discount when you commit to using a specific amount of resources for a 1 or 3 year term, regardless of actual usage.
CCUDs automatically reduce costs based on the number of users accessing the service each month.
DCUDs are discounts given only when you use preemptible virtual machines.
Attempts:
2 left
💡 Hint

Think about committing to a fixed amount of resource usage over time to get a lower price.

Architecture
intermediate
2:00remaining
Choosing Storage Classes for Cost Savings

You have data that is accessed rarely but must be retained for years. Which Google Cloud Storage class should you choose to minimize costs while meeting this requirement?

AColdline Storage
BNearline Storage
CArchive Storage
DStandard Storage
Attempts:
2 left
💡 Hint

Consider the storage class designed for long-term data retention with the lowest cost.

security
advanced
2:00remaining
Impact of Overprovisioned Resources on Cost and Security

What is a key risk of overprovisioning virtual machines in Google Cloud beyond just increased cost?

AOverprovisioning can lead to increased attack surface and potential security vulnerabilities.
BOverprovisioning automatically disables firewall rules, reducing security.
COverprovisioning causes Google Cloud to throttle network traffic, impacting performance.
DOverprovisioning results in automatic deletion of unused resources after 30 days.
Attempts:
2 left
💡 Hint

Think about how having more resources than needed might affect security exposure.

service_behavior
advanced
2:00remaining
Effect of Autoscaling on Cost Optimization

How does enabling autoscaling on a Google Kubernetes Engine (GKE) cluster help optimize costs?

AAutoscaling adjusts the number of nodes based on workload demand, reducing costs during low usage periods.
BAutoscaling permanently increases the number of nodes to handle peak traffic at all times.
CAutoscaling disables billing alerts to prevent cost notifications during scaling events.
DAutoscaling converts all nodes to preemptible instances automatically.
Attempts:
2 left
💡 Hint

Consider how scaling resources up and down affects billing.

Best Practice
expert
2:00remaining
Designing a Cost-Effective Multi-Region Architecture

You need a multi-region architecture for high availability but want to minimize costs. Which design choice best balances availability and cost?

ADeploy full active-active clusters in all regions with synchronous replication.
BDeploy active resources in all regions but disable load balancing to reduce costs.
CDeploy all resources only in one region and rely on backups for disaster recovery.
DUse a primary region with active resources and a secondary region with cold standby resources.
Attempts:
2 left
💡 Hint

Think about how to keep costs low while still having a backup ready in another region.