Cost and Optimization
116 questions
A SysOps Administrator is reviewing optimization opportunities for a memory-bound Lambda function that processes incoming file uploads. The administrator wants to use AWS Compute Optimizer to determine the most cost-effective memory configuration for the function without sacrificing performance. Currently, the Compute Optimizer console shows no recommendations for this Lambda function. Which of the following requirements must be met before AWS Compute Optimizer can generate memory size recommendations for the Lambda function?
A SysOps Administrator is optimizing the performance and cost of a transactional database hosted on an Amazon EC2 instance. The database is currently backed by a Amazon EBS volume configured with Provisioned IOPS. Over the past days, Amazon CloudWatch metrics indicate that the volume's IOPS utilization consistently peaks at IOPS, and throughput peaks at . AWS Compute Optimizer flags this volume as 'Overprovisioned'.
Which action should the administrator take to implement Compute Optimizer's recommendation and optimize costs without impacting application performance?
A company runs a memory-bound microservices application on Amazon EC2 instances. A SysOps Administrator notices that AWS Compute Optimizer is generating resource recommendations based only on CPU and network metrics, without factoring in memory utilization. Which of the following actions must the administrator take to ensure AWS Compute Optimizer includes memory metrics in its recommendations? (Select TWO.)
Select all that apply
A SysOps Administrator is managing resource optimization across a multi-account organization using AWS Organizations. The administrator notices that AWS Compute Optimizer is generating EC2 rightsizing recommendations based only on CPU and network metrics, failing to analyze memory utilization. Additionally, several member accounts are running gp2 EBS volumes that are overprovisioned for size just to achieve higher throughput. Which TWO actions should the SysOps Administrator take to resolve these issues?
Select all that apply
A company recently configured consolidated billing using AWS Organizations and completed the migration of several workloads. To track spending across departments, a SysOps Administrator used AWS CloudFormation to provision all resources with the `CostCenter` and `BusinessUnit` tag keys. However, when trying to create a monthly cost report in AWS Cost Explorer, the administrator finds that these tag keys are not available as filtering options. Which of the following steps must the SysOps Administrator take to resolve this issue and make these tags available in AWS Cost Explorer? (Select TWO.)
Select all that apply
A financial company is auditing its cloud expenditures across several member accounts within an AWS Organization. To track costs associated with a new data analysis project, a SysOps Administrator has written a Python script using AWS Systems Manager to apply a tag with the key `ProjectAnalysis` and value `DataLake` to all active Amazon EBS volumes. However, when the administrator logs into AWS Cost Explorer in the management account, the `ProjectAnalysis` tag is not available as a filtering option. Which action should the SysOps Administrator take to ensure the tag can be used to filter costs?
A company operates a dynamic application environment that exhibits highly variable and un-forecastable daily resource utilization. A SysOps administrator must implement a cost-monitoring solution capable of identifying sudden, unexpected cost anomalies in near-real-time. When an anomaly is detected with a cost impact exceeding a specific threshold, the solution must automatically execute an AWS Systems Manager (SSM) Automation runbook to stop the offending resources. Which solution should the SysOps administrator implement to meet these requirements?
A company wants to identify and receive alerts for unexpected, machine-learning-detected spikes in spending related specifically to resources tagged with `CostCenter: Marketing`. The SysOps administrator must ensure that these alerts are sent to the finance team using an existing Amazon SNS topic. Which two actions must the SysOps administrator perform to meet these requirements? (Select two.)
Select all that apply
A company stores daily database backup files in an Amazon S3 Standard bucket. Each backup file is approximately . The backups are frequently accessed during the first days after upload. After days, access is rare, but the database team must be able to retrieve any backup within minutes if a restore is needed. The backups must be retained for a total of days before being permanently deleted.
A SysOps administrator is configuring an Amazon S3 Lifecycle policy to automate this process at the lowest cost.
Which TWO configurations should the administrator include in the S3 Lifecycle policy?
Select all that apply
A company uploads system telemetry archives to an Amazon S3 Standard bucket. The logs must be accessed frequently with millisecond latency for the first days. After days, the logs are accessed occasionally but still require millisecond access. After days from upload, the logs are rarely accessed, but if a retrieval request is made, the logs must be available within to hours. The logs must be kept for a total of days before deletion.
Which two lifecycle transitions should a SysOps administrator configure to meet these requirements in the most cost-effective manner? (Select TWO.)
Select all that apply
A company manages a multi-account environment using AWS Organizations with consolidated billing enabled. The environment consists of the following workloads:
* Account A: Runs a steady-state web application on Amazon EC2 instances in the region.
* Account B: Runs microservices on AWS Fargate and AWS Lambda.
* Account C: Runs dynamic development environments on Amazon EC2 instances in the region.
The SysOps administrator must implement a cost optimization strategy that provides the highest flexibility, covers all of these compute resources, and allows any unused discount capacity from one account to automatically apply to other accounts' eligible workloads.
Which purchasing strategy meets these requirements most cost-effectively?
A company manages a multi-account organization with consolidated billing. The SysOps administrator is tasked with optimizing cost for the following workloads:
| Account | Workload Type | Instance/Service | Region | Pattern |
|---|---|---|---|---|
| Development | Dynamic | EC2 (`t3`, `m5`, `c5`) & Fargate | Multiple Regions | Frequently changes families and regions |
| Production | Steady-state | EC2 (`c6g.xlarge`) | `us-east-1` | Runs 24/7, expected to remain unchanged for 12 months |
Which purchasing strategy provides the maximum cost savings while meeting the operational flexibility requirements of both environments?
A company manages a multi-account environment using AWS Organizations with consolidated billing. The workloads are distributed as follows:
- The production account runs a steady-state fleet of Amazon EC2 m6i.large instances.
- The staging account runs microservices on Amazon ECS with AWS Fargate.
- The analytics account runs batch processing using AWS Lambda functions.
The SysOps administrator must implement a cost optimization strategy that achieves the maximum possible savings across Fargate, Lambda, and EC2 workloads while allowing the EC2 instance families to be changed in the future. Which of the following actions should the SysOps administrator take to meet these requirements? (Select TWO.)
Select all that apply
A company runs a data processing application in a single AWS account. The application uses a fleet of Amazon EC2 instances in an Auto Scaling group that dynamically scales between and `c6i.large` instances depending on queue depth. The application also invokes AWS Lambda functions to perform lightweight pre-processing on incoming data. Additionally, a single `db.r6g.large` Amazon RDS for PostgreSQL database runs continuously to store processing metadata. The company wants to minimize costs over the next year with a commitment plan, while retaining the flexibility to change EC2 instance families in the future if needed. Which combination of purchases should the SysOps administrator make to achieve the maximum cost optimization? (Select TWO.)
Select all that apply
A SysOps team is tasked with reducing compute costs for a new serverless application. The application's architecture includes a mix of Amazon EC2 instances, AWS Fargate containers, and AWS Lambda functions across several AWS Regions. Which commitment-based pricing model should the SysOps team select to optimize costs with the greatest flexibility?
A company currently hosts a batch processing workload on a fleet of Amazon EC2 instances in the region. Over the next year, the company plans to modernize the workload by migrating of the processing to containerized tasks running on AWS Fargate in the same region, and upgrading the remaining EC2 instances to the newer instance family. Which commitment-based discount option should a SysOps administrator recommend to optimize costs for both the remaining EC2 instances and the Fargate tasks without requiring manual exchanges or interventions?
A company manages a multi-account AWS environment using AWS Organizations with consolidated billing enabled. The environment has two member accounts:
* Account A (Production) runs a steady-state web application on Amazon EC2 instances and Amazon ECS on AWS Fargate.
* Account B (Testing) runs temporary development workloads using various EC2 instance families (such as and ) that are frequently stopped, started, or terminated.
The company wants to optimize its compute costs. The SysOps administrator must ensure that the commitment discount is applied to both the Fargate tasks and the EC2 instances in Account A as a priority, and is not consumed by the fluctuating workloads in Account B.
Which strategy should the SysOps administrator implement to meet these requirements?
A SysOps Administrator applied the tag key `CostCenter` to several Amazon EC2 instances and Amazon S3 buckets to track project expenditures. However, when analyzing costs, the `CostCenter` tag key does not appear as a filtering option in AWS Cost Explorer. Which two actions must the SysOps Administrator perform to resolve this issue and track costs by this tag? (Select TWO.)
Select all that apply
A SysOps Administrator is managing a multi-account AWS environment under a single organization in AWS Organizations. To track department spending, the administrator deploys a Tag Policy at the organization root that enforces the CostCenter tag on all Amazon EC2 instances. Several member accounts deploy new EC2 instances successfully, compliant with the policy. However, when the administrator runs a query in AWS Cost Explorer in the management account grouping by the CostCenter tag, all costs are grouped under the 'No tag key' category. What should the administrator do to ensure the cost data is properly categorized by the tag key in Cost Explorer?
A company manages a multi-account environment using AWS Organizations with consolidated billing enabled. The SysOps administrator is reviewing the compute usage for the following workloads:
* Production Account: A steady-state fleet of Amazon EC2 instances running in the Region, and a dynamically scaling web application running on Amazon ECS with AWS Fargate.
* Development Account: A fleet of EC2 instances that are shut down outside of business hours, and various AWS Lambda functions for sporadic testing.
The company wants to implement a cost optimization strategy that maximizes savings while providing flexibility for the scaling and serverless workloads.
Which combination of actions should the SysOps administrator take to meet these requirements? (Select TWO.)
Select all that apply