Cost efficient PT2 Flashcards
(24 cards)
What is the most cost-efficient option for stateless workloads?
AWS Lambda – pay per execution time, no idle costs
AWS Lambda allows users to run code without provisioning or managing servers, charging only for the compute time consumed.
Which AWS service is best for serverless containers?
AWS Fargate – serverless containers, pay per vCPU/memory used
AWS Fargate is a serverless compute engine for containers that allows users to run containers without managing servers.
What are EC2 Spot Instances known for?
Up to 90% cheaper than On-Demand
EC2 Spot Instances allow users to bid on spare Amazon EC2 computing capacity, often at significant discounts.
What is the most cost-efficient option for predictable workloads?
EC2 Reserved Instances or Savings Plans – long-term discounts
EC2 Reserved Instances offer a significant discount compared to on-demand instance pricing in exchange for a commitment to use a specific instance type.
Which service provides automatic capacity adjustment based on demand?
EC2 Auto Scaling
EC2 Auto Scaling automatically adjusts the number of EC2 instances to maintain application performance and minimize costs.
What is the most cost-efficient storage option for infrequently accessed objects?
S3 Standard-IA (Infrequent Access)
S3 Standard-IA is designed for data that is not accessed frequently but requires rapid access when needed.
Which storage service is best for rarely accessed or archival data?
S3 Glacier / Glacier Deep Archive
S3 Glacier is optimized for data archiving, providing secure and durable storage at a low cost.
What is S3 Intelligent-Tiering used for?
Automatic tiering with low overhead
S3 Intelligent-Tiering automatically moves data between two access tiers when access patterns change.
What is the recommended block storage for bursty workloads?
EBS gp3 – better price-performance than gp2
EBS gp3 offers a cost-effective option for general-purpose SSD storage with improved performance compared to gp2.
How can unused EBS volumes be managed?
Identify & delete via AWS Trusted Advisor
AWS Trusted Advisor helps identify underutilized resources, including unused EBS volumes, to optimize costs.
What is the most cost-efficient option for unpredictable database workloads?
Amazon Aurora Serverless v2 – scales based on demand
Amazon Aurora Serverless v2 automatically adjusts database capacity based on application needs.
Which service is recommended for development/test environments?
RDS with stop/start capability
RDS allows users to stop and start instances, which can reduce costs during non-usage periods.
What is the best option for lightweight, serverless applications?
Amazon DynamoDB on-demand mode
DynamoDB on-demand mode allows applications to scale automatically with traffic, charging only for what is used.
What is the most cost-efficient caching layer option?
Amazon ElastiCache (Redis/Memcached)
Amazon ElastiCache is used to improve performance by caching frequently accessed data.
Which service is most cost-efficient for global content distribution?
Amazon CloudFront
CloudFront is a content delivery network (CDN) that speeds up the distribution of static and dynamic web content.
What is the purpose of VPC Endpoints?
Avoid NAT Gateway data charges
VPC Endpoints allow private connectivity between VPCs and AWS services without exposing traffic to the public internet.
How should public traffic from VPC be managed to optimize costs?
Use NAT Gateway efficiently – consider NAT Instances for small workloads
Efficient use of NAT gateways can reduce data transfer costs associated with public internet traffic.
Which load balancer is more cost-efficient for Layer 7 traffic?
Application Load Balancer (ALB)
ALB supports advanced request routing and is optimized for HTTP and HTTPS traffic.
What is the most cost-efficient monitoring option?
Amazon CloudWatch with custom retention and filters
CloudWatch allows users to monitor AWS resources and applications in real time with customizable log retention.
Which tool is used for cost analysis and tracking?
AWS Cost Explorer
AWS Cost Explorer helps visualize and analyze AWS spending patterns over time.
What service can identify unused resources for cleanup?
AWS Trusted Advisor (Cost checks)
Trusted Advisor provides recommendations for cost optimization by identifying idle and underutilized resources.
What is the cost-efficient option for infrastructure as code?
AWS CloudFormation – no additional cost
AWS CloudFormation allows users to define and provision AWS infrastructure using a declarative template.
What services are used for scalable CI/CD pipelines?
AWS CodePipeline/CodeBuild – pay only when used
CodePipeline and CodeBuild facilitate continuous integration and delivery with cost based on usage.
What is the recommended option for serverless deployments?
AWS SAM or CDK with Lambda/Fargate – zero idle costs
AWS SAM (Serverless Application Model) and CDK (Cloud Development Kit) allow for efficient serverless application deployment.