Interview kitsBlog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2026 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Cloud
Cloudhard

Give two practical ways to reduce cloud costs without hurting reliability.

Tags
#cost#right-sizing#autoscaling#caching
Back to categoryPractice quiz

Answer

Right-size instances based on metrics and use autoscaling instead of overprovisioning. Add caching (CDN/app cache) and consider reserved/committed capacity for predictable workloads.

Advanced answer

Deep dive

The safest cost wins come from removing waste and paying the right price for stable usage, not from cutting redundancy.

Practical levers

  • **Right-size + autoscale**: use metrics (CPU, memory, p95 latency) to set sensible sizing and scaling rules.
  • **Commit for steady state**: reserved instances/savings plans for predictable baseline, autoscaling for spikes.
  • **Cache aggressively**: CDN for static assets, application caching for expensive reads.
  • **Storage hygiene**: lifecycle policies (move cold data to cheaper tiers), delete orphaned volumes/snapshots.
  • **Reduce egress**: keep traffic within region, use compression, avoid cross-region chatter.
  • **Observability costs**: reduce log verbosity/retention; sample traces.

Common pitfalls

  • Turning off multi-AZ/replication to save money (reliability loss).
  • Over-logging and paying more for logs than compute.
  • Paying for idle resources (unused load balancers, IPs, disks, dev environments 24/7).

Related questions

Cloud
What is a CDN and when should you use it?
#cloud#cdn#performance
Cloud
Kubernetes autoscaling: HPA vs Cluster Autoscaler - what does each scale?
#kubernetes#autoscaling#hpa
Cloud
What is autoscaling and what is a common pitfall?
#autoscaling
#metrics
#thrashing
Cloud
What is a CDN and what problem does it solve?
#cdn#caching#performance
Observability
What is sampling in tracing and what are the trade-offs?
#tracing#sampling#cost
DevOps
Give three practical ways to control cloud costs without hurting reliability.
#cost#autoscaling#right-sizing