Cost efficient PT2 Flashcards

(24 cards)

1
Q

What is the most cost-efficient option for stateless workloads?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which AWS service is best for serverless containers?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are EC2 Spot Instances known for?

A

Up to 90% cheaper than On-Demand

EC2 Spot Instances allow users to bid on spare Amazon EC2 computing capacity, often at significant discounts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the most cost-efficient option for predictable workloads?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which service provides automatic capacity adjustment based on demand?

A

EC2 Auto Scaling

EC2 Auto Scaling automatically adjusts the number of EC2 instances to maintain application performance and minimize costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the most cost-efficient storage option for infrequently accessed objects?

A

S3 Standard-IA (Infrequent Access)

S3 Standard-IA is designed for data that is not accessed frequently but requires rapid access when needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which storage service is best for rarely accessed or archival data?

A

S3 Glacier / Glacier Deep Archive

S3 Glacier is optimized for data archiving, providing secure and durable storage at a low cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is S3 Intelligent-Tiering used for?

A

Automatic tiering with low overhead

S3 Intelligent-Tiering automatically moves data between two access tiers when access patterns change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the recommended block storage for bursty workloads?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can unused EBS volumes be managed?

A

Identify & delete via AWS Trusted Advisor

AWS Trusted Advisor helps identify underutilized resources, including unused EBS volumes, to optimize costs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the most cost-efficient option for unpredictable database workloads?

A

Amazon Aurora Serverless v2 – scales based on demand

Amazon Aurora Serverless v2 automatically adjusts database capacity based on application needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which service is recommended for development/test environments?

A

RDS with stop/start capability

RDS allows users to stop and start instances, which can reduce costs during non-usage periods.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the best option for lightweight, serverless applications?

A

Amazon DynamoDB on-demand mode

DynamoDB on-demand mode allows applications to scale automatically with traffic, charging only for what is used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the most cost-efficient caching layer option?

A

Amazon ElastiCache (Redis/Memcached)

Amazon ElastiCache is used to improve performance by caching frequently accessed data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which service is most cost-efficient for global content distribution?

A

Amazon CloudFront

CloudFront is a content delivery network (CDN) that speeds up the distribution of static and dynamic web content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of VPC Endpoints?

A

Avoid NAT Gateway data charges

VPC Endpoints allow private connectivity between VPCs and AWS services without exposing traffic to the public internet.

17
Q

How should public traffic from VPC be managed to optimize costs?

A

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.

18
Q

Which load balancer is more cost-efficient for Layer 7 traffic?

A

Application Load Balancer (ALB)

ALB supports advanced request routing and is optimized for HTTP and HTTPS traffic.

19
Q

What is the most cost-efficient monitoring option?

A

Amazon CloudWatch with custom retention and filters

CloudWatch allows users to monitor AWS resources and applications in real time with customizable log retention.

20
Q

Which tool is used for cost analysis and tracking?

A

AWS Cost Explorer

AWS Cost Explorer helps visualize and analyze AWS spending patterns over time.

21
Q

What service can identify unused resources for cleanup?

A

AWS Trusted Advisor (Cost checks)

Trusted Advisor provides recommendations for cost optimization by identifying idle and underutilized resources.

22
Q

What is the cost-efficient option for infrastructure as code?

A

AWS CloudFormation – no additional cost

AWS CloudFormation allows users to define and provision AWS infrastructure using a declarative template.

23
Q

What services are used for scalable CI/CD pipelines?

A

AWS CodePipeline/CodeBuild – pay only when used

CodePipeline and CodeBuild facilitate continuous integration and delivery with cost based on usage.

24
Q

What is the recommended option for serverless deployments?

A

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.