Cost Control Flashcards
If you’re accessing S3 buckets using NAT instances in multiple AZs and switch to a VPC Gateway Endpoint for S3, will your costs increase, decrease, or stay the same? Why?
Costs will decrease. There are data transfer charges when using NAT instances with S3 across multiple AZs, but there are none with VPC Gateway Endpoint for S3 within the same region.
A solution for quick DB resets between tests.
AWS Aurora backtracking
What service provides a TagOption library to allow administrators to easily manage tags on provisioned AWS products?
AWS Service Catalog
You’re restoring a Provisioned IOPS SSD EBS Volume. After it goes live, it has extremely poor performance and significant latency. Why, and what can you do about it?
When a data block is accessed for the first time on a freshly restored EBS Volume, EBS has to download the block from S3 first. This increases the I/O latency until all blocks are accessed at least once. To fix this, update the restoration process to run tools to read the entire volume before putting the instance back to production.
How to replicate EBS snapshots in another region.
Create snapshots Data Lifecycle Manager. Copy the snapshots to another region using the copy-snapshot API.
What tool to send notification emails when a service has exceeded a certain amount of usage?
AWS Budgets
What to use to set desired capacity to 0 at night for all Auto Scaling groups
Lambda Function
What type of EBS snapshots can be used to create a new AMI
Root volume snapshots only
What is a good way to reduce costs when you have many VPCs with lots of cross-region traffic?
Consolidate resources into as few regions and AZs as necessary.
What does a Fargate ECS cluster in a private subnet need to connect with resources?
interface VPC endpoints
How to ensure that reserved instances are being allocated efficiently over multiple accounts?
Consolidated Billing with Reserved Instance Sharing
What type of reservation to use with your autoscaler when you need to guarantee capacity for a short-term burst in traffic?
On-Demand Capacity Reservation
Most cost effective way to encrypt data at rest when you cannot use a key generated by a third party.
Create a customer managed CMK (Customer Master Key) with KMS (AWS Key Management Service) and import your own key.
What types of Reserved Instances can you sell on the Reserved Instance Marketplace?
Standard EC2 only. Not Convertible and not Reserved Instances for other AWS services like RDS.
Tool to ensure that Reserved Instances are used efficiently across multiple accounts within an Organization
Cost Explorer