CCNA Soa Cost Performance Questions

75 of 199 questions · Page 1/3 · Soa Cost Performance topic · Answers revealed

1
MCQmedium

An administrator runs the above CloudWatch command to analyze CPU utilization for an EC2 instance. The instance is currently running with a t3.large instance type. The company wants to optimize costs. Based on the data, which action should the administrator take?

A.Stop the instance to save costs immediately.
B.Downsize the instance to t3.medium to reduce costs.
C.Scale up the instance to t3.xlarge to improve performance.
D.Purchase a Reserved Instance for the current instance type.
AnswerB

Low CPU utilization suggests over-provisioning; downsizing saves costs.

Why this answer

The average CPU utilization over the week is low (around 15.5%), indicating the instance is over-provisioned. Downsizing to a t3.medium (half the vCPUs and memory) would likely be sufficient and reduce costs. Reserved Instances would be cost-effective only if the instance runs consistently, but the current utilization is low.

Scaling up would increase costs. Stopping the instance is not an option if needed.

2
MCQhard

A company uses a centralized logging solution with Amazon OpenSearch Service. The log volume has grown significantly, increasing costs. The logs are retained for 90 days for compliance, but only the last 30 days are frequently accessed. Which combination of actions would reduce costs without compromising compliance?

A.Move the logs to Amazon S3 Glacier and use a Lambda function to query them.
B.Increase the number of data nodes to improve indexing performance.
C.Migrate indices older than 30 days to UltraWarm nodes.
D.Configure an index lifecycle policy to delete indices older than 30 days.
AnswerC

UltraWarm provides cost-effective storage for infrequently accessed data.

Why this answer

Using UltraWarm nodes for older data reduces storage costs while retaining data for 90 days. Option A is wrong because deleting data after 30 days violates compliance. Option C is wrong because increasing instance count increases costs.

Option D is wrong because cold storage retrieval is not appropriate for OpenSearch.

3
MCQmedium

A SysOps administrator attached the IAM policy shown to a user. The user needs to launch EC2 instances for a cost-sensitive project. What is the impact of this policy on cost optimization?

A.The policy allows launching any number of t3.micro instances, potentially increasing costs if many instances are launched.
B.The policy is too restrictive because it only allows t3.micro instances, which may not be sufficient for production workloads.
C.The policy does not allow launching any instances because the condition is on RunInstances.
D.The policy ensures cost control by allowing only t3.micro instances, which are the cheapest.
AnswerA

No limit on instance count can lead to cost overrun.

Why this answer

The correct answer is B. The policy allows running instances only of type t3.micro, which is a low-cost instance. However, it does not restrict the number of instances, so a user could launch many instances, increasing costs.

Option A is wrong because the policy restricts instance type. Option C is wrong because t3.micro is a small instance, not a large one. Option D is wrong because the policy does allow running instances with a condition.

4
MCQeasy

An application runs on c5.xlarge EC2 instances 24 hours a day, 7 days a week in us-east-1. The workload is stable and will not change instance type for at least 12 months. The team wants to reduce compute costs by 30 to 40 percent compared to On-Demand pricing. Which purchasing option achieves this with the lowest financial risk?

A.Purchase a 1-year Standard Reserved Instance for c5.xlarge in us-east-1 with All Upfront or Partial Upfront payment
B.Use Spot Instances with an interruption tolerance of 5 minutes for the workload
C.Enable EC2 Auto Scaling with a target tracking policy to scale down to zero instances during off-peak hours
D.Purchase a 3-year Convertible Reserved Instance to maximize the discount percentage
AnswerA

A 1-year Standard RI matches the 12-month stability horizon and delivers 30–40 percent savings versus On-Demand. All Upfront provides the deepest discount; Partial Upfront reduces the upfront cash requirement with a slightly lower overall saving. The 1-year commitment limits risk compared to a 3-year commitment for an uncertain future period.

Why this answer

A 1-year Standard Reserved Instance (RI) with All Upfront or Partial Upfront payment offers a 30-40% discount over On-Demand pricing for a stable, always-on workload. This option provides the lowest financial risk because it commits to a fixed instance type and region for only one year, matching the workload's stable nature without the flexibility premium of Convertible RIs or the interruption risk of Spot Instances.

Exam trap

The trap here is that candidates may choose the 3-year Convertible RI (Option D) for its higher discount percentage, overlooking the fact that the longer commitment and unnecessary flexibility introduce greater financial risk for a stable, unchanging workload.

How to eliminate wrong answers

Option B is wrong because Spot Instances can be interrupted with as little as a 5-minute warning, which introduces significant financial and operational risk for a workload that must run 24/7 without interruption. Option C is wrong because scaling down to zero instances during off-peak hours would violate the requirement that the application runs 24/7, and it does not address the need to reduce costs for the always-on baseline. Option D is wrong because a 3-year Convertible Reserved Instance, while offering a higher discount percentage, introduces greater financial risk due to the longer commitment period and the unnecessary flexibility to change instance types, which the workload does not require.

5
MCQmedium

A company runs a fleet of EC2 instances in a production environment. The instances are part of an Auto Scaling group that uses a launch template with a m5.large instance type. The company's SysOps administrator notices that the instances are often over-provisioned, with average CPU utilization below 20% for the past month. The administrator wants to reduce costs without affecting application performance. The application is stateless and can handle temporary performance degradation. Which action should the administrator take?

A.Purchase Reserved Instances for the current m5.large instances to lower hourly cost.
B.Modify the launch template to use a t3.medium instance type.
C.Enable detailed monitoring on all instances to collect more data.
D.Increase the minimum size of the Auto Scaling group to reduce scale-out events.
AnswerB

Correct: t3.medium is smaller and cheaper, suitable for low average utilization with burst capability.

Why this answer

Option B is correct because switching to a smaller instance type (t3.medium) reduces cost while still providing burstable performance for occasional spikes. Option A (increase minimum) would increase cost. Option C (purchase Reserved Instances for current size) locks in over-provisioned capacity.

Option D (enable detailed monitoring) increases CloudWatch costs without addressing instance size.

6
MCQmedium

A SysOps administrator notices that the monthly bill for Amazon S3 has increased significantly. The company uses S3 for storing application logs and user uploads. The logs are accessed rarely but must be retained for 3 years. User uploads are accessed frequently for the first 30 days, then rarely after. Which S3 lifecycle policy will optimize storage costs?

A.Transition logs to S3 Glacier Deep Archive after 30 days, and transition user uploads to S3 Standard-IA after 30 days, then to Glacier Deep Archive after 90 days.
B.Transition user uploads to S3 Glacier Deep Archive after 30 days, and transition logs to S3 Glacier after 90 days.
C.Move logs to S3 Glacier Deep Archive after 30 days, and delete user uploads after 1 year.
D.Transition logs to S3 Standard-IA after 30 days, and transition user uploads to S3 One Zone-IA after 30 days.
AnswerA

This matches access patterns and retention requirements.

Why this answer

The correct answer is D. This policy transitions objects to cost-effective storage classes based on access patterns. Option A is wrong because logs should be moved to Glacier Deep Archive for long-term retention.

Option B is wrong because logs are rarely accessed but need retention, so moving to S3 Standard-IA is insufficient cost savings. Option C is wrong because user uploads should not be immediately archived; they are accessed frequently initially.

7
MCQeasy

A company is using AWS Lambda functions to process events from Amazon S3. The functions are invoked several thousand times per minute. The SysOps administrator notices that the functions are taking longer to execute during peak times. Which action should the administrator take to improve performance?

A.Increase the Lambda function timeout.
B.Use a larger EC2 instance type for the Lambda functions.
C.Increase the memory allocation for the Lambda functions.
D.Enable provisioned concurrency on the Lambda functions.
AnswerC

More memory provides more CPU, speeding up execution.

Why this answer

Option A is correct because increasing the memory allocation for a Lambda function also increases the CPU allocation proportionally, which can reduce execution time for compute-bound tasks. Option B is wrong because Lambda functions cannot use provisioned concurrency by default; provisioned concurrency is for initializing execution environments to reduce cold starts, but it does not directly improve execution time. Option C is wrong because using a larger instance type is not applicable to Lambda; Lambda abstracts the underlying compute.

Option D is wrong because Lambda functions do not have a maximum execution time that can be extended beyond 15 minutes; that is a hard limit.

8
MCQeasy

A SysOps administrator reviews the Lambda invocation metrics for a function. The function processes data from an S3 bucket and is triggered by S3 events. The cost for this function is higher than expected. What should the administrator do to reduce costs?

A.Set a reserved concurrency limit to cap the number of concurrent executions.
B.Change the function to be invoked on a schedule instead of by S3 events.
C.Increase the function's memory allocation to reduce execution time.
D.Reduce the function's memory allocation to lower cost per invocation.
AnswerC

Lambda cost is compute time * memory; increasing memory may reduce duration enough to lower total cost.

Why this answer

The correct answer is B. The function has very high invocations during peak hours (12:00-14:00). Increasing memory reduces execution time, which can lower total cost because Lambda pricing is based on compute time.

Option A is wrong because reducing memory increases duration and may increase cost. Option C is wrong because the function is already triggered by events; changing to scheduled invocation may not meet requirements. Option D is wrong because concurrency limit does not reduce total invocations.

9
MCQmedium

A company has a web application running on EC2 instances behind an Application Load Balancer. The application experiences latency spikes during peak hours. Amazon CloudWatch metrics show that CPU and memory are not fully utilized. The SysOps administrator suspects the bottleneck is the database. The database is an RDS for MySQL instance. Which action should the administrator take to improve performance without over-provisioning?

A.Add a Read Replica to offload read queries.
B.Convert the RDS instance to a Multi-AZ deployment.
C.Enable RDS Performance Insights to analyze database load and identify slow queries.
D.Increase the RDS instance size to the next tier.
AnswerC

Performance Insights provides visibility into database performance.

Why this answer

The correct answer is B. RDS Performance Insights helps identify database bottlenecks (e.g., slow queries, locks). Option A is wrong because increasing instance size may not address the root cause.

Option C is wrong because Multi-AZ improves availability but not performance. Option D is wrong because Read Replicas help with read traffic but not if the bottleneck is writes or locking.

10
MCQeasy

A company runs a batch processing job on Amazon EC2 instances that runs for 3 hours each night. The job can be interrupted and can resume from the last checkpoint without data loss. The SysOps administrator wants to minimize compute costs for this workload. Which Amazon EC2 purchasing option should be used?

A.On-Demand Instances
B.Reserved Instances
C.Spot Instances
D.Dedicated Hosts
AnswerC

Spot Instances offer the largest discounts. The batch job can handle interruptions through checkpointing, making Spot Instances the most cost-effective choice.

Why this answer

Spot Instances are correct because the batch job is fault-tolerant (can be interrupted and resume from checkpoints) and runs for a fixed 3-hour window nightly. Spot Instances offer significant cost savings (up to 90% off On-Demand) by using spare EC2 capacity, which can be reclaimed by AWS with a 2-minute interruption notice. Since the workload can handle interruptions gracefully, Spot Instances minimize compute costs while meeting the job's requirements.

Exam trap

The trap here is that candidates may choose On-Demand or Reserved Instances because they assume a nightly 3-hour job requires guaranteed availability, overlooking that Spot Instances are ideal for fault-tolerant, interruptible workloads and offer the lowest cost.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances have no discount and would be the most expensive option for a predictable nightly workload. Option B is wrong because Reserved Instances require a 1- or 3-year commitment and are designed for steady-state workloads, not for a short 3-hour nightly job that can be interrupted; they would lock in costs without leveraging the fault tolerance of the job. Option D is wrong because Dedicated Hosts provide physical server isolation for licensing or compliance needs, which is unnecessary here and incurs additional costs without any benefit for a batch processing job.

11
Multi-Selecthard

A company runs a web application on EC2 instances with an Auto Scaling group. The application uses an Amazon RDS MySQL database. During a traffic spike, the database CPU utilization reaches 90%. The SysOps team needs to improve database performance cost-effectively. Which THREE actions should they take?

Select 3 answers
A.Enable Multi-AZ for the RDS instance.
B.Upgrade the RDS instance to a larger instance type.
C.Enable RDS Performance Insights to identify slow queries.
D.Add one or more RDS Read Replicas to handle read queries.
E.Enable RDS Proxy to manage database connections efficiently.
AnswersC, D, E

Performance Insights helps pinpoint issues causing high CPU.

Why this answer

Options A, B, and D are correct because adding Read Replicas offloads read traffic, enabling RDS Performance Insights helps identify bottlenecks, and using RDS Proxy reduces connection overhead. Option C is wrong because vertical scaling (upgrading instance) is more expensive than horizontal scaling. Option E is wrong because Multi-AZ does not improve performance; it's for failover.

12
MCQmedium

A SysOps administrator is managing a fleet of Amazon EC2 instances that run a batch processing job. The job runs for 30 minutes every hour. The administrator wants to optimize costs by using Spot Instances but must ensure that the job completes even if Spot Instances are interrupted. Which configuration should the administrator use?

A.Launch Spot Instances in an Auto Scaling group with a capacity-optimized allocation strategy.
B.Use a mixed instances policy with both On-Demand and Spot Instances, and configure the Spot allocation strategy to 'lowestPrice'.
C.Use a Spot Fleet with a 'persistent' request type.
D.Use only On-Demand Instances to avoid interruptions.
AnswerB

Mixed instances provide reliability; 'lowestPrice' is not ideal but the mix ensures completion.

Why this answer

Option B is correct because using a mixed instances policy with both On-Demand and Spot Instances ensures that the baseline capacity is covered by On-Demand, and any interrupted Spot Instances can be replaced by On-Demand as a fallback. The Spot allocation strategy 'lowestPrice' is not specified but the key is the capacity-optimized or diversified strategy to reduce interruption. However, the question asks for ensuring completion; the best practice is to use a capacity-optimized allocation strategy.

Actually, the correct answer is B: Use a mixed instances policy with a capacity-optimized allocation strategy and specify a percentage of On-Demand instances. But option B says 'lowestPrice', which is common but not best for stability. However, among the options, B is the only one that includes a mix.

Option A is wrong because only Spot is risky. Option C is wrong because the job is not long-running (30 min), so persistence is not needed; but the job must complete, so if Spot is interrupted, it should be able to restart. Option D is wrong because it is wasteful to use only On-Demand.

13
MCQeasy

A company wants to receive alerts when their monthly AWS spending exceeds $1,000. Which AWS service should be used?

A.AWS Trusted Advisor
B.AWS CloudWatch
C.AWS Budgets
D.AWS Cost Explorer
AnswerC

AWS Budgets allows setting cost alerts.

Why this answer

Option D is correct because AWS Budgets allows setting cost thresholds and alerts. CloudWatch alarms are for metrics, not budgets. Cost Explorer is for visualization.

Trusted Advisor provides recommendations.

14
MCQhard

A company runs a critical application on EC2 instances in an Auto Scaling group behind an Application Load Balancer. The application requires very low latency and high availability. The SysOps administrator notices that the application experiences increased latency during traffic spikes even though the Auto Scaling group is scaling out. Which solution would MOST effectively reduce latency?

A.Change the launch configuration to use a larger instance type with more CPU and memory.
B.Pre-warm the load balancer by contacting AWS Support.
C.Increase the Auto Scaling cooldown period.
D.Deploy the instances in multiple Availability Zones.
AnswerA

Larger instances can process more requests, reducing latency.

Why this answer

Using a larger instance type (A) can handle more requests per instance, reducing latency. Pre-warming ELB (B) is not needed for ALB. Multi-AZ (C) improves availability but not necessarily latency.

Increasing cooldown (D) would slow scaling, increasing latency.

15
MCQmedium

A company runs a web application on EC2 instances with Elastic Load Balancing. They notice that costs are higher than expected. What is the MOST cost-effective way to optimize costs while maintaining high availability?

A.Use Spot Instances for all traffic.
B.Use On-Demand instances for all traffic.
C.Use a combination of Reserved Instances for baseline traffic and On-Demand for spikes.
D.Reduce the number of instances to one.
AnswerC

Reserved Instances reduce cost for steady load; On-Demand handles variability.

Why this answer

Option C is correct because Reserved Instances provide significant discounts for steady-state workloads. On-Demand is more expensive, and Spot Instances may not ensure high availability. Scaling down instances reduces capacity.

16
MCQeasy

A company runs a web application on Amazon EC2 instances that run 24/7. The application has a predictable and steady load. The SysOps administrator wants to minimize compute costs while ensuring the required capacity is always available. Which purchasing option should be used?

A.On-Demand Instances
B.Reserved Instances
C.Spot Instances
D.Dedicated Hosts
AnswerB

Reserved Instances offer a substantial discount (up to 72%) in exchange for a 1- or 3-year commitment, making them the most cost-effective choice for continuous predictable workloads.

Why this answer

Reserved Instances (RIs) are the correct choice because the workload runs 24/7 with a predictable and steady load. By committing to a 1- or 3-year term, the company can achieve a significant discount (up to 72%) compared to On-Demand pricing, while ensuring capacity is always available. This aligns with the goal of minimizing compute costs without sacrificing availability.

Exam trap

The trap here is that candidates often choose On-Demand Instances for simplicity, overlooking that Reserved Instances provide substantial cost savings for predictable, always-on workloads without any risk of interruption.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances are billed per hour with no upfront commitment, making them more expensive for a steady 24/7 workload that could benefit from a reservation discount. Option C is wrong because Spot Instances can be interrupted with a 2-minute warning when AWS needs capacity back, making them unsuitable for a production web application that requires always-on availability. Option D is wrong because Dedicated Hosts provide physical server isolation for licensing or compliance needs, not cost savings for a standard web application, and they incur additional per-host charges.

17
MCQmedium

A company stores application logs in Amazon S3. The logs are rarely accessed after the first 30 days, but must be retained for 7 years for compliance. The SysOps administrator wants to minimize storage costs while ensuring logs are available for retrieval within 12 hours if needed. Which S3 lifecycle configuration is the most cost-effective?

A.S3 Standard for 30 days, then transition to S3 Glacier Deep Archive
B.S3 Standard for 30 days, then transition to S3 Glacier (Flexible Retrieval)
C.Use S3 Intelligent-Tiering from the start
D.S3 Standard for 30 days, then transition to S3 One Zone-IA
AnswerA

Provides lowest cost for archival with retrieval within 12 hours.

Why this answer

Option A is correct because it transitions logs from S3 Standard (for frequent access during the first 30 days) to S3 Glacier Deep Archive, which offers the lowest storage cost for long-term retention. Since logs must be retained for 7 years and only need retrieval within 12 hours, Glacier Deep Archive's 12-hour standard retrieval time meets the requirement while minimizing costs.

Exam trap

The trap here is that candidates may choose S3 Glacier (Flexible Retrieval) because it is a well-known archival tier, but they overlook the specific 12-hour retrieval requirement and the lower cost of Glacier Deep Archive for long-term retention.

How to eliminate wrong answers

Option B is wrong because S3 Glacier (Flexible Retrieval) has higher storage costs than Glacier Deep Archive for 7-year retention, and its standard retrieval time (1-5 minutes) is faster than needed, making it less cost-effective. Option C is wrong because S3 Intelligent-Tiering incurs a monthly monitoring and automation fee per object, and for data that is rarely accessed after 30 days, the cost savings from tiering do not offset the monitoring fee over 7 years. Option D is wrong because S3 One Zone-IA is not designed for long-term archival; it offers lower durability (99.5% vs 99.999999999%) and is not cost-effective for 7-year retention compared to Glacier Deep Archive.

18
Multi-Selectmedium

A SysOps administrator is optimizing an AWS Lambda function that processes data from an S3 bucket. The function currently runs with 128 MB memory and a 5-second timeout. The function experiences timeouts for large files. The administrator wants to improve performance and reduce cost. Which TWO actions should they take?

Select 2 answers
A.Increase the function timeout to 15 minutes.
B.Enable provisioned concurrency to reduce cold starts.
C.Configure the S3 event notification to use S3 Standard-IA for the input files.
D.Create multiple Lambda functions to process different files concurrently.
E.Increase the function memory to 512 MB or higher.
AnswersB, E

Provisioned concurrency reduces latency, improving performance for the function.

Why this answer

Options A and D are correct because increasing memory often reduces execution time and cost due to faster processing, and enabling reserved concurrency prevents cold starts and ensures capacity. Option B is wrong because increasing timeout alone does not improve performance and may increase cost. Option C is wrong because provisioning more functions does not affect a single function's performance.

Option E is wrong because moving to S3 Standard-IA is for storage cost, not compute.

19
MCQhard

A company runs a production database on a db.r5.large RDS instance with Multi-AZ enabled. They notice that the CPU utilization is consistently below 10% and memory usage is below 20%. The application is not expected to grow significantly. Which action would optimize costs without sacrificing high availability?

A.Remove Multi-AZ and use a single-AZ deployment to reduce costs.
B.Purchase a Reserved Instance for the current instance type to get a discount.
C.Change the instance type to a smaller size, such as db.t3.medium, and keep Multi-AZ.
D.Change the instance type to a larger size, such as db.r5.xlarge, to improve performance.
AnswerC

Downsizing reduces cost while Multi-AZ maintains high availability.

Why this answer

Option C is correct because the instance is over-provisioned; downsizing to a smaller instance type (e.g., db.r5.large to db.t3.medium) reduces cost. Multi-AZ should be retained for high availability. Option A is wrong because removing Multi-AZ sacrifices high availability.

Option B is wrong because Reserved Instances require a commitment and may not be cost-effective if the instance type is changed. Option D is wrong because moving to a larger instance increases costs.

20
MCQeasy

A company uses S3 Standard for all data, but some objects are accessed only once per year. Which storage class provides the lowest cost for this use case while maintaining the same durability?

A.S3 Glacier Deep Archive
B.S3 One Zone-Infrequent Access (S3 One Zone-IA)
C.S3 Intelligent-Tiering
D.S3 Standard-Infrequent Access (S3 Standard-IA)
AnswerA

Lowest cost for rarely accessed data with same durability.

Why this answer

Option B is correct because S3 Glacier Deep Archive is the lowest-cost storage class for long-term archival data accessed rarely. S3 Standard is expensive for infrequent access. S3 One Zone-IA is cheaper but not as durable.

S3 Intelligent-Tiering has monitoring costs and may not be ideal.

21
MCQhard

A company is using Amazon EBS volumes for a high-performance database. The volumes are gp2 type. The database workload is write-intensive, and the company is experiencing high costs due to provisioned IOPS. The database team wants to maintain performance while reducing costs. Which EBS volume type should the company use?

A.sc1 (Cold HDD)
B.st1 (Throughput Optimized HDD)
C.io2 Block Express
D.gp3
AnswerD

Provides baseline IOPS and throughput; pay only for additional IOPS.

Why this answer

gp3 volumes provide baseline performance independent of volume size, and customers pay only for provisioned IOPS above baseline, offering cost savings for write-intensive workloads. Option A is wrong because io2 volumes are more expensive. Option B is wrong because st1 is not suitable for database workloads.

Option D is wrong because sc1 is lowest cost but poor performance.

22
MCQhard

A SysOps administrator reviews the CloudWatch metric data for an EC2 instance. The instance runs a web application that experiences high traffic between 12:00 and 14:00 UTC daily. The administrator wants to optimize costs while maintaining performance. What should the administrator do?

A.Convert the instance to a Reserved Instance to reduce hourly cost.
B.Replace the instance with a larger instance type and enable detailed monitoring.
C.Create an Auto Scaling group with a scheduled scaling policy to add instances during peak hours.
D.Increase the instance size to handle peak load at all times.
AnswerC

This adds capacity during peaks and reduces during off-peak.

Why this answer

The correct answer is C. The instance has low CPU utilization most of the day but spikes to 90% during peak hours. Using a scheduled Auto Scaling to add instances during peak hours ensures performance without over-provisioning.

Option A is wrong because the instance is not constantly at high utilization. Option B is wrong because upgrading instance size increases cost during off-peak hours. Option D is wrong because a larger instance would be underutilized.

23
MCQmedium

A company runs a batch processing job on Amazon EMR every night. The job runs for 6 hours and requires a cluster of 20 m5.xlarge instances. The company wants to reduce costs while ensuring the job completes on time. Which solution is MOST cost-effective?

A.Use On-Demand instances for all nodes.
B.Purchase Reserved Instances for the entire cluster.
C.Use Spot Instances for core and task nodes and an On-Demand instance for the primary node.
D.Use Spot Instances for the primary node and On-Demand for core and task nodes.
AnswerC

This significantly reduces cost while maintaining reliability.

Why this answer

Using Spot Instances for the core and task nodes can significantly reduce costs, as Spot Instances are often much cheaper than On-Demand. The primary node should be On-Demand to avoid disruption. Using all On-Demand is more expensive.

Reserved Instances are for steady-state workloads, not short-term jobs. Instance fleets can mix instance types but do not inherently reduce costs like Spot.

24
MCQhard

A SysOps administrator receives an AWS Budgets alert that the monthly cost for an S3 bucket has increased by 300% compared to the previous month. The bucket stores log files and uses S3 Standard storage. The bucket has versioning enabled and lifecycle policies that transition objects to S3 Glacier Deep Archive after 90 days. What is the MOST likely cause of the cost increase?

A.The increased storage costs due to S3 Standard storage for the first 90 days.
B.The cost of lifecycle transition requests to Glacier Deep Archive.
C.Data transfer costs for downloading logs from the bucket.
D.The cost of storing multiple versions of objects due to versioning.
AnswerB

Each transition request costs, and if many objects are being transitioned, costs can add up.

Why this answer

Option B is correct because S3 Lifecycle transition requests cost per object, and the transition to Glacier Deep Archive incurs a cost. Option A is wrong because S3 Standard storage costs are for the first 90 days, not the transition. Option C is wrong because object size is not mentioned as a change.

Option D is wrong because data transfer costs are not typically associated with lifecycle transitions.

25
MCQeasy

A company runs a web application on a fleet of Amazon EC2 instances that operate 24/7 with a steady and predictable load. The SysOps administrator wants to minimize compute costs while ensuring the required capacity is always available. Which EC2 purchasing option should the administrator use?

A.Reserved Instances
B.Spot Instances
C.On-Demand Instances
D.Dedicated Hosts
AnswerA

Reserved Instances offer the best price for consistent, predictable workloads with a long-term commitment.

Why this answer

Reserved Instances (RIs) are the correct choice because the workload runs 24/7 with steady, predictable load. RIs provide a significant discount (up to 72%) over On-Demand pricing in exchange for a one- or three-year commitment, ensuring cost minimization while guaranteeing capacity availability in the specified Availability Zone.

Exam trap

The trap here is that candidates often choose Spot Instances for any cost-saving scenario, forgetting that Spot Instances can be terminated at any time, making them unsuitable for steady, predictable workloads that require constant availability.

How to eliminate wrong answers

Option B is wrong because Spot Instances are designed for fault-tolerant, flexible workloads and can be interrupted with a 2-minute warning when EC2 needs capacity back, making them unsuitable for a steady, always-on web application. Option C is wrong because On-Demand Instances offer no discount and are the most expensive option for continuous 24/7 usage, failing to minimize compute costs. Option D is wrong because Dedicated Hosts provide physical servers dedicated for your use, which is unnecessary for cost optimization and typically incurs higher costs; they are used for licensing or compliance requirements, not for general cost savings.

26
MCQeasy

A company wants to receive an alert when its AWS spending exceeds $5,000 in a month. The SysOps administrator needs to set up a proactive alert that monitors actual costs. Which AWS service should be used?

A.AWS Cost Explorer
B.AWS Budgets
C.AWS Trusted Advisor
D.AWS CloudTrail
AnswerB

AWS Budgets allows you to create a cost budget with a $5,000 limit and configure alerts to notify you when actual or forecasted costs exceed that amount.

Why this answer

AWS Budgets is the correct service because it allows you to set a cost budget that proactively sends alerts when actual costs exceed a specified threshold (e.g., $5,000 per month). Unlike Cost Explorer, which is an analytical tool, Budgets provides real-time notifications via Amazon SNS when costs reach or are forecasted to exceed the budgeted amount, enabling proactive monitoring of actual spending.

Exam trap

The trap here is that candidates confuse AWS Cost Explorer's historical analysis capabilities with proactive alerting, assuming it can send notifications, when in fact it only provides dashboards and reports without automated threshold-based alerts.

How to eliminate wrong answers

Option A is wrong because AWS Cost Explorer is a visualization and analysis tool for historical cost data; it does not support proactive alerts based on actual cost thresholds. Option C is wrong because AWS Trusted Advisor inspects your AWS environment for cost optimization, security, and performance best practices, but it does not monitor or alert on actual spending against a specific budget. Option D is wrong because AWS CloudTrail records API activity for auditing and governance, not cost monitoring or alerting.

27
MCQeasy

A SysOps administrator wants to receive alerts when the estimated charges for an AWS account exceed a certain threshold. Which AWS service should be used?

A.AWS Trusted Advisor
B.AWS Cost Explorer
C.Amazon CloudWatch (billing metric)
D.AWS Budgets
AnswerD

Creates budget thresholds and sends alerts.

Why this answer

AWS Budgets allows you to set cost budgets and receive alerts when actual or forecasted costs exceed thresholds. Option A is wrong because CloudWatch metrics for billing are available, but alerts are set via Budgets. Option B is wrong because Cost Explorer does not send alerts.

Option D is wrong because Trusted Advisor provides cost optimization recommendations but not budget alerts.

28
MCQhard

A company uses Amazon CloudWatch Logs to store application logs from EC2 instances. The log volume is 100 GB per day, and logs are retained for 1 year. The SysOps administrator wants to reduce costs while maintaining compliance. Which solution is MOST effective?

A.Reduce the log retention period to 30 days.
B.Disable server-side encryption for the log group to reduce overhead.
C.Use CloudWatch Logs Insights to query logs instead of storing them.
D.Export logs to Amazon S3 and configure a lifecycle policy to transition them to Glacier Deep Archive after 30 days.
AnswerD

Exporting reduces CloudWatch costs and S3 lifecycle policies minimize storage costs.

Why this answer

The correct answer is B. Exporting logs to S3 and using S3 lifecycle policies to transition to cheaper storage classes (e.g., Glacier Deep Archive) is cost-effective for long-term retention. Option A is wrong because CloudWatch Logs Insights is a query tool, not a cost reduction method.

Option C is wrong because reducing retention period violates compliance. Option D is wrong because disabling encryption does not reduce costs significantly and may violate security policies.

29
Multi-Selecthard

A company is using Amazon CloudFront to deliver content to users worldwide. They notice high data transfer costs. Which THREE actions can reduce CloudFront data transfer costs?

Select 3 answers
A.Use Lambda@Edge to customize content.
B.Use a CloudFront price class that only uses the cheapest edge locations.
C.Enable compression for compressible objects.
D.Add more edge locations to improve cache hit ratio.
E.Use CloudFront Origin Shield to reduce requests to the origin.
AnswersB, C, E

Price class restricts to lower-cost edge locations.

Why this answer

Option A is correct because price class selects only the cheapest edge locations. Option B is correct because compressing objects reduces transfer size. Option D is correct because origin shield reduces requests to the origin.

Option C is wrong because Lambda@Edge adds cost. Option E is wrong because more edge locations increase coverage but not necessarily reduce cost.

30
Multi-Selectmedium

A SysOps administrator is designing a cost-effective architecture for a batch processing workload that runs once per day and can tolerate interruptions. The workload uses EC2 instances. Which TWO purchasing options should the administrator consider? (Choose two.)

Select 2 answers
A.Dedicated Hosts
B.Spot Instances
C.On-Demand Instances
D.Reserved Instances (Standard)
E.Capacity Reservations
AnswersB, C

Provide significant cost savings for interruptible workloads.

Why this answer

Option B and Option D are correct. Spot Instances are ideal for fault-tolerant, interruptible workloads at a steep discount. On-Demand Instances can be used as a fallback if Spot capacity is unavailable.

Option A is wrong because Reserved Instances require a 1- or 3-year commitment for a once-daily job. Option C is wrong because Dedicated Hosts are expensive. Option E is wrong because Capacity Reservations incur costs even when not running.

31
MCQmedium

A company runs a batch processing job on Amazon EC2 that runs for 2 hours every night. The job can tolerate interruptions and can resume from the last checkpoint. The SysOps administrator needs to minimize compute costs. Which EC2 purchasing option should be used?

A.On-Demand Instances
B.Spot Instances
C.Reserved Instances
D.Compute Savings Plans
AnswerB

Spot Instances offer significant discounts and are ideal for fault-tolerant, interruptible workloads like batch processing with checkpointing.

Why this answer

Spot Instances are ideal for fault-tolerant, interruptible workloads like this batch processing job because they offer significant cost savings (up to 90% off On-Demand prices) in exchange for being reclaimable by AWS with a 2-minute warning. Since the job can resume from the last checkpoint, interruptions do not cause data loss or restart from scratch, making Spot Instances the most cost-effective choice.

Exam trap

The trap here is that candidates often choose Reserved Instances or Savings Plans because they assume any long-running workload needs a commitment, but the question explicitly states the job is interruptible and runs only 2 hours nightly, making Spot Instances the correct cost-optimization choice.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances provide no discount and are not cost-minimizing for a predictable, interruptible workload. Option C is wrong because Reserved Instances require a 1- or 3-year commitment and are designed for steady-state, always-on workloads, not a 2-hour nightly job that can be interrupted. Option D is wrong because Compute Savings Plans offer discounts (up to 66%) but still require a 1- or 3-year commitment and are less cost-effective than Spot Instances for this specific use case.

32
Multi-Selecteasy

A company wants to reduce costs for their Amazon RDS for PostgreSQL database. Which TWO actions would help achieve this?

Select 2 answers
A.Enable Multi-AZ deployment for high availability.
B.Stop the database instance during non-business hours.
C.Enable deletion protection to prevent accidental deletion.
D.Increase the backup retention period to 35 days.
E.Purchase a Reserved Instance for the database instance.
AnswersB, E

Stopping the instance stops compute charges.

Why this answer

Options B and D are correct because stopping idle DB instances saves compute costs, and using Reserved Instances for predictable workloads reduces hourly costs. Option A is wrong because Multi-AZ increases costs. Option C is wrong because enabling deletion protection does not reduce costs.

Option E is wrong because increasing backup retention increases storage costs.

33
MCQmedium

A company runs a web application on a fleet of Amazon EC2 instances behind an Application Load Balancer. The application has predictable traffic patterns with high traffic during business hours and low traffic at night. The SysOps administrator wants to reduce compute costs while ensuring the application remains responsive during peak hours. The administrator has already implemented Auto Scaling based on CPU utilization. Which additional action should the administrator take to optimize costs?

A.Use On-Demand instances only
B.Purchase Reserved Instances for the baseline capacity and use Spot Instances for the additional capacity during peak hours
C.Increase the minimum number of instances in the Auto Scaling group
D.Use Dedicated Hosts to reduce licensing costs
AnswerB

This approach minimizes costs by applying the highest discount (Reserved Instances) to the steady-state capacity and leveraging the cost savings of Spot Instances for the flexible, peak-demand capacity. Auto Scaling can be configured to launch Spot Instances as needed, providing both cost efficiency and performance.

Why this answer

Option B is correct because it combines Reserved Instances for predictable baseline capacity (lower cost per hour) with Spot Instances for elastic peak demand, leveraging Auto Scaling to handle variable traffic. This hybrid approach reduces compute costs compared to using On-Demand instances for all capacity, while maintaining responsiveness during peak hours.

Exam trap

The trap here is that candidates may think increasing the minimum instance count (Option C) improves responsiveness, but it actually increases costs during low-traffic periods without addressing the cost optimization goal.

How to eliminate wrong answers

Option A is wrong because using only On-Demand instances ignores cost-saving opportunities from Reserved or Spot Instances, leading to higher costs for predictable baseline traffic. Option C is wrong because increasing the minimum number of instances raises baseline costs unnecessarily, as the application has low traffic at night and does not require a higher minimum. Option D is wrong because Dedicated Hosts are designed for licensing or compliance requirements, not for general cost optimization, and they incur additional costs without addressing variable traffic patterns.

34
Multi-Selectmedium

A company is running a high-performance computing (HPC) workload on EC2. The workload is time-sensitive and runs for 2 hours every night. The company wants to minimize costs. Which THREE options should they consider? (Choose THREE.)

Select 3 answers
A.Purchase Reserved Instances for the nightly run.
B.Use an EFS or S3 as shared storage instead of EBS volumes.
C.Use smaller instance types and distribute the workload.
D.Use Dedicated Instances for performance isolation.
E.Use Spot Instances to take advantage of lower pricing.
AnswersB, C, E

Shared storage can reduce EBS costs.

Why this answer

Options B, C, and D are correct. B is correct because Spot Instances offer huge discounts for fault-tolerant HPC. C is correct because using smaller instances in parallel may be cheaper.

D is correct because using an EFS or S3 for shared storage reduces costs vs. EBS. Option A is wrong because Reserved Instances require 1-3 year commitment.

Option E is wrong because Dedicated Instances are expensive.

35
MCQeasy

A company is using Amazon S3 to host a static website. The website receives millions of requests per month from users around the world. The company wants to reduce latency and S3 data transfer costs. Which solution should the company implement?

A.Enable S3 replication to multiple regions.
B.Use Amazon CloudFront as a content delivery network in front of the S3 bucket.
C.Enable S3 Transfer Acceleration.
D.Use S3 Cross-Region Replication to replicate objects to all regions.
AnswerB

CloudFront reduces latency and data transfer costs.

Why this answer

Amazon CloudFront is a content delivery network that caches content at edge locations, reducing latency and data transfer costs from S3. S3 Transfer Acceleration speeds up uploads but not downloads. S3 Replication does not reduce latency.

S3 Cross-Region Replication is for data redundancy, not performance.

36
MCQmedium

A company runs a web application on EC2 instances in an Auto Scaling group behind an ALB. The application experiences variable traffic, with peak usage during business hours and low traffic at night. The SysOps administrator wants to reduce costs while maintaining performance. The current setup uses On-Demand instances only. The application is stateful and stores session data in an ElastiCache Redis cluster. The administrator has identified that the application can handle Spot Instance interruptions gracefully by redirecting users to a fallback page. The company has a budget of $10,000 per month for EC2 instances, and current costs are $8,000 per month. The administrator wants to reduce costs further without compromising availability for most users. Which solution is MOST cost-effective?

A.Increase the On-Demand base capacity to handle peak load and use Spot for any additional capacity.
B.Purchase Reserved Instances for the minimum expected capacity and use On-Demand for the rest.
C.Use only Spot Instances at all times to maximize savings, and rely on the fallback page for interruptions.
D.Use a mixed instances policy with Spot Instances during off-peak hours and On-Demand during peak hours, using Auto Scaling scheduled scaling.
AnswerD

This combines cost savings from Spot with reliability of On-Demand during peak.

Why this answer

Option C is correct because using Spot Instances only during off-peak hours reduces costs, and moving back to On-Demand during peak ensures performance. Option A is wrong because Spot Instances only during peak could cause interruptions during high traffic. Option B is wrong because Reserved Instances require commitment and may not cover variable traffic.

Option D is wrong because a larger base On-Demand capacity increases costs.

37
MCQhard

A company stores video files in Amazon S3. The files are accessed frequently for the first week, then weekly for the next month, and then rarely after that. The files must be retained for 5 years and any access must be served within minutes. The SysOps administrator needs to minimize storage costs while meeting these requirements. Which lifecycle policy configuration is the most cost-effective?

A.Transition to S3 Standard-IA after 7 days, then to S3 Glacier Flexible Retrieval after 30 days.
B.Transition to S3 One Zone-IA after 7 days, then to S3 Glacier Deep Archive after 30 days.
C.Transition to S3 Standard-IA after 7 days, then to S3 Glacier Instant Retrieval after 30 days.
D.Transition to S3 Intelligent-Tiering after 7 days.
AnswerC

Standard-IA provides low-latency access for the weekly access period, and Glacier Instant Retrieval provides the lowest storage cost for long-term, rarely accessed data that still needs millisecond retrieval, meeting the requirements cost-effectively.

Why this answer

Option C is correct because it transitions to S3 Standard-IA after 7 days (matching the frequent first-week access), then to S3 Glacier Instant Retrieval after 30 days (matching the weekly access for the next month). Glacier Instant Retrieval provides millisecond retrieval for rarely accessed data, meeting the 'within minutes' requirement while minimizing costs compared to Standard-IA or Intelligent-Tiering.

Exam trap

The trap here is that candidates often confuse S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive as cost-effective options without verifying the retrieval time requirement, assuming 'Glacier' always means cheap but slow, while the question explicitly requires access 'within minutes'.

How to eliminate wrong answers

Option A is wrong because S3 Glacier Flexible Retrieval has retrieval times of minutes to hours (not within minutes), failing the access requirement. Option B is wrong because S3 One Zone-IA does not provide the durability needed for long-term retention (5 years) and S3 Glacier Deep Archive has retrieval times of 12-48 hours, violating the 'within minutes' requirement. Option D is wrong because S3 Intelligent-Tiering incurs monitoring and automation costs that are not cost-effective for a predictable access pattern, and it does not transition to a cold storage tier that minimizes costs for rarely accessed data after 30 days.

38
MCQhard

A company uses an Amazon DynamoDB table with on-demand capacity mode for a variable workload. The SysOps administrator notices high costs and wants to reduce them without affecting application performance. Which action should the administrator take?

A.Switch the table to provisioned capacity mode with auto scaling.
B.Enable DynamoDB Accelerator (DAX) for caching.
C.Implement DynamoDB Global Tables to distribute data across regions.
D.Set a Time to Live (TTL) attribute to automatically expire old items.
AnswerA

Provisioned mode with auto scaling adjusts capacity based on actual usage and is generally cheaper than on-demand for predictable or moderate variability, as long as you don't have extreme spikes.

Why this answer

Switching from on-demand to provisioned capacity with auto scaling reduces costs for variable workloads by allowing you to set a lower base capacity and scale only when needed, avoiding the premium per-request pricing of on-demand mode. Auto scaling adjusts read/write capacity based on actual utilization, ensuring application performance is maintained while eliminating the cost overhead of paying for every request at on-demand rates.

Exam trap

The trap here is that candidates assume on-demand mode is always the most cost-effective for variable workloads, but the exam tests that provisioned capacity with auto scaling can be cheaper for predictable variability, and that options like DAX or TTL address different cost components (latency or storage) rather than the per-request compute cost.

How to eliminate wrong answers

Option B is wrong because DynamoDB Accelerator (DAX) is an in-memory caching service that reduces read latency and costs for repeated reads, but it does not address the core issue of high write costs or the per-request pricing model of on-demand mode; it adds an additional service cost. Option C is wrong because DynamoDB Global Tables replicate data across regions for disaster recovery and low-latency global access, which increases costs due to cross-region replication and additional storage, not reduces them. Option D is wrong because setting a Time to Live (TTL) attribute automatically expires old items to reduce storage costs, but it does not reduce the compute cost of read/write operations, which is the primary driver of high costs in on-demand mode.

39
MCQmedium

A company is running a web application on EC2 instances behind an Application Load Balancer. The application experiences variable traffic patterns. The SysOps team wants to optimize costs without impacting performance. Which EC2 purchasing option should the team use for the instances?

A.Savings Plans
B.Spot Instances
C.On-Demand Instances
D.Reserved Instances
AnswerC

No upfront commitment, fits variable traffic patterns perfectly.

Why this answer

Option C is correct because On-Demand instances provide flexibility and no upfront commitment, suitable for variable traffic. Savings Plans offer lower prices but require a 1- or 3-year commitment, which may not align with variable patterns. Reserved Instances also require commitment.

Spot Instances are not suitable for a web application that needs consistent availability.

40
Drag & Dropmedium

Drag and drop the steps to configure a VPC peering connection between two VPCs into the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order

Why this order

First create the peering request, then accept it, then update route tables in both VPCs, and finally adjust security groups.

41
Multi-Selectmedium

A company is using Amazon RDS for MySQL with Multi-AZ deployment. They want to optimize costs while maintaining high availability. Which TWO actions should the SysOps administrator take?

Select 2 answers
A.Purchase Reserved Instances for the database instance.
B.Remove Multi-AZ to reduce costs.
C.Enable auto scaling for the RDS instance to handle variable load.
D.Review the instance size and downsize if it is over-provisioned.
E.Move to a single-AZ deployment and take snapshots for recovery.
AnswersA, D

Reserved Instances provide a discount for a 1- or 3-year commitment.

Why this answer

Option A is correct because reserved instances offer significant discounts. Option C is correct because rightsizing to a smaller instance reduces cost if the current instance is over-provisioned. Option B is wrong because removing Multi-AZ sacrifices high availability.

Option D is wrong because moving to a single-AZ also sacrifices availability. Option E is wrong because enabling auto scaling is not a feature of RDS for cost optimization.

42
MCQeasy

A company uses Amazon CloudWatch Logs to store application logs. The logs are retained indefinitely. The compliance team requires logs to be retained for 7 years. What is the MOST cost-effective way to meet this requirement?

A.Export logs to Amazon S3 and immediately transition to S3 Glacier Deep Archive.
B.Export logs to Amazon S3 and create an S3 Lifecycle policy to transition objects to S3 Glacier Deep Archive after 7 years.
C.Disable logging after 7 years to stop incurring costs.
D.Set a log retention policy in CloudWatch Logs to expire logs after 7 years.
AnswerD

Retention policies automatically delete logs after the specified period, saving costs.

Why this answer

Option A is correct because CloudWatch Logs supports log retention policies that automatically expire logs after a specified period, reducing storage costs. Option B is wrong because exporting to S3 and then using S3 Lifecycle is more complex and may incur additional costs. Option C is wrong because exporting to S3 Glacier is an option but not the most cost-effective for 7-year retention if logs are accessed rarely; however, retention policy is simpler.

Option D is wrong because disabling logging is not compliant.

43
MCQeasy

A company runs a web application on Amazon EC2 instances that have variable traffic patterns. The application experiences steady baseline traffic with occasional spikes. The SysOps administrator wants to optimize costs while ensuring performance during spikes. Which pricing model should be used for the baseline capacity and for the burst capacity?

A.Reserved Instances for baseline, Spot Instances for burst capacity
B.On-Demand Instances for baseline, Reserved Instances for burst capacity
C.Spot Instances for baseline, On-Demand Instances for burst capacity
D.Dedicated Hosts for baseline, Spot Instances for burst capacity
AnswerA

Reserved Instances reduce cost for predictable baseline usage. Spot Instances are cost-effective for bursts that can tolerate interruptions.

Why this answer

Reserved Instances provide a significant discount (up to 72%) over On-Demand for steady-state workloads, making them ideal for baseline capacity. Spot Instances offer the lowest cost (up to 90% discount) but can be interrupted with a 2-minute warning, which is acceptable for burst capacity that can tolerate interruptions or be designed to failover gracefully. This combination minimizes cost while ensuring the baseline always runs and burst capacity can be added during spikes.

Exam trap

The trap here is that candidates often assume On-Demand is the only safe choice for baseline or that Spot Instances are too risky for any production use, but the question specifically allows for burst capacity that can tolerate interruptions, making Spot the optimal cost-saving choice.

How to eliminate wrong answers

Option B is wrong because Reserved Instances are designed for predictable, long-term workloads, not for burst capacity that is temporary and variable; using them for bursts would lock in capacity that may go unused, wasting money. Option C is wrong because Spot Instances can be terminated at any time, making them unreliable for baseline capacity that must always be available; using On-Demand for bursts is more expensive than using Spot for bursts. Option D is wrong because Dedicated Hosts are a physical server dedicated to a single customer, which is overkill and costly for baseline capacity that does not require dedicated hardware or licensing restrictions; they do not provide cost optimization for variable traffic.

44
Multi-Selecthard

A company is using a t3.medium EC2 instance for a development web server. The instance is underutilized most of the time. Which TWO actions would optimize costs? (Choose TWO.)

Select 2 answers
A.Enable EBS optimization.
B.Downsize the instance to t3.small.
C.Purchase a Reserved Instance for the instance.
D.Change the instance to On-Demand.
E.Use Spot Instances for the workload.
AnswersB, C

Smaller instance costs less.

Why this answer

Options A and C are correct. A is correct because t3 instances can use unlimited mode to burst CPU, but if underutilized, standard mode with T2/T3 unlimited disabled may be cheaper; however, t3 instances are already burstable. Actually, for cost optimization, downsizing to t3.small (A) saves cost.

Purchasing a Reserved Instance (C) for steady usage saves cost. Option B is wrong because switching to On-Demand doesn't save. Option D is wrong because Spot Instances are not suitable for development if they need to be available always.

Option E is wrong because EBS optimization is unnecessary.

45
MCQmedium

A company runs a web application on EC2 instances behind an Application Load Balancer (ALB). The application experiences variable traffic with occasional spikes. The SysOps administrator wants to optimize costs while ensuring that the application can handle spikes without performance degradation. The current setup uses a fixed number of instances. Which action should the administrator take?

A.Purchase Reserved Instances for the current number of instances to reduce hourly cost.
B.Implement an Auto Scaling group with a target tracking scaling policy based on ALB request count per target.
C.Replace on-demand instances with Spot Instances for all traffic.
D.Increase the instance size to a compute-optimized type to handle spikes.
AnswerB

Correct: Auto Scaling dynamically adjusts capacity, optimizing cost and performance.

Why this answer

Option C is correct because Auto Scaling with a target tracking policy on ALB request count allows the number of instances to adjust based on traffic, handling spikes and reducing instances during low traffic. Option A (increase instance size) may handle spikes but is expensive for low traffic. Option B (Reserved Instances) locks in a fixed capacity.

Option D (Spot Instances) are cheaper but can be interrupted, risking performance degradation during spikes.

46
Multi-Selecteasy

Which TWO actions can reduce costs for an Amazon EC2 environment that runs non-critical batch jobs that can be interrupted? (Choose TWO.)

Select 2 answers
A.Use Scheduled Reserved Instances.
B.Associate Elastic IP addresses with the instances.
C.Use Dedicated Hosts.
D.Use Spot Instances for the batch jobs.
E.Use On-Demand Instances.
AnswersA, D

Allows reservation for specific time windows, cost-effective for predictable schedules.

Why this answer

Scheduled Reserved Instances allow you to reserve capacity for recurring time windows, such as daily or weekly batch jobs. This provides a significant discount over On-Demand pricing (up to 30-40%) while ensuring capacity is available when needed, making it cost-effective for predictable, interruptible workloads.

Exam trap

The trap here is that candidates often overlook Scheduled Reserved Instances as a cost-saving option for predictable batch jobs, mistakenly thinking only Spot Instances apply, or they confuse Elastic IP addresses with cost reduction when they actually add cost if not managed properly.

47
MCQmedium

A company runs a web application on Amazon EC2 instances in an Auto Scaling group. The application experiences steady traffic during business hours and very low traffic overnight. The SysOps administrator wants to optimize costs by using a mix of On-Demand and Spot Instances. The administrator also requires that the total capacity never falls below the baseline level needed during business hours, even if Spot Instances are reclaimed. Which combination of Auto Scaling features should be used?

A.Use a mixed instances policy and set the 'On-Demand Base' capacity to the minimum number of instances required during business hours, and 'On-Demand percentage above base' to 0% so that any additional capacity is Spot.
B.Use a launch template that specifies a Spot Instance type and set the total capacity to the desired level, relying on capacity rebalance to replace interrupted Spot Instances.
C.Purchase Compute Savings Plans to cover the entire Auto Scaling group, and use only Spot Instances for all capacity.
D.Configure the Auto Scaling group with a launch template that sets the instance market to 'spot' and use a scaling policy that always maintains the minimum capacity.
AnswerA

This ensures at least the baseline number of On-Demand instances always run, meeting the availability requirement. Any extra capacity uses Spot Instances for cost savings.

Why this answer

Option A is correct because a mixed instances policy allows the Auto Scaling group to use both On-Demand and Spot Instances. By setting the 'On-Demand Base' capacity to the minimum number of instances required during business hours, you guarantee that baseline capacity is always fulfilled by On-Demand Instances, which are not subject to interruption. Setting 'On-Demand percentage above base' to 0% ensures that any additional capacity beyond the base is fulfilled by Spot Instances, optimizing cost while maintaining the required capacity floor.

Exam trap

The trap here is that candidates often assume that using Spot Instances with a scaling policy or capacity rebalance alone can guarantee capacity, but they fail to recognize that only On-Demand Instances provide a hard guarantee against interruption, which is why the mixed instances policy with an explicit On-Demand base is required.

How to eliminate wrong answers

Option B is wrong because using a launch template that specifies only a Spot Instance type and relying solely on capacity rebalance does not guarantee that the total capacity never falls below the baseline level during business hours; Spot Instances can be reclaimed at any time, and capacity rebalance only attempts to replace them but cannot guarantee uninterrupted capacity. Option C is wrong because Compute Savings Plans cover a commitment to spend a certain amount per hour but do not prevent Spot Instances from being reclaimed; if all capacity is Spot, the baseline could drop below the required level during interruptions. Option D is wrong because configuring the Auto Scaling group with a launch template that sets the instance market to 'spot' and using a scaling policy that always maintains the minimum capacity does not ensure that the minimum capacity is fulfilled by On-Demand Instances; Spot Instances can still be reclaimed, causing the actual capacity to fall below the minimum.

48
MCQhard

A SysOps administrator reviews the CloudWatch metrics for an EC2 instance as shown. The instance is part of an Auto Scaling group with a target tracking scaling policy based on average CPU utilization set to 50%. During the time period shown, what is the expected behavior?

A.The Auto Scaling group will not scale because the average CPU utilization over the hour is below 50%.
B.The Auto Scaling group will scale in because the CPU utilization dropped below 50% at the end.
C.The Auto Scaling group will scale out because CPU utilization exceeded 50% for several consecutive data points.
D.The Auto Scaling group will not scale because the metric shows a decline after the peak.
AnswerC

The policy will trigger scale-out when the metric breaches the target for enough consecutive periods.

Why this answer

Option C is correct because CPU utilization peaks at 95.1% at 00:20, exceeding the 50% target, so the Auto Scaling group should scale out. Option A is wrong because it does exceed the target. Option B is wrong because the average over the hour is around 47%, but the policy reacts to sustained breaches; the peak would trigger scaling.

Option D is wrong because scaling would occur.

49
MCQhard

A company runs a large number of EC2 instances across multiple accounts and regions. The finance team needs to track costs per project and department. Each EC2 instance must be tagged with a ProjectID and Department tag. A SysOps administrator needs to ensure that all newly launched EC2 instances are tagged automatically before they can be used, and that existing untagged instances are retroactively tagged. The tags must be propagated to cost reports in AWS Cost Explorer. Which combination of steps will achieve this with the least operational overhead?

A.Use AWS Config with auto-remediation to tag new instances, and activate the tags as cost allocation tags. For existing instances, run the Tag Editor with a CSV import.
B.Create an AWS Lambda function that tags instances at launch via CloudTrail events, and use AWS Budgets to enforce tagging.
C.Use AWS Cost Categories to automatically group costs based on resource tags.
D.Ensure all AMIs used have tags that propagate to instances, and enable cost allocation tags.
AnswerA

Correct. AWS Config auto-remediation tags non-compliant new instances; Tag Editor bulk-tags existing instances; activation in Billing console propagates tags to cost reports.

Why this answer

Option A is correct because AWS Config with auto-remediation can automatically tag newly launched EC2 instances using a custom Lambda function or SSM document triggered by a Config rule (e.g., 'required-tags'), ensuring compliance before instances are used. Activating the tags as cost allocation tags in AWS Cost Explorer allows the tags to appear in cost reports. For existing untagged instances, the Tag Editor with a CSV import provides a bulk, low-overhead method to retroactively apply tags across accounts and regions.

Exam trap

The trap here is that candidates may assume AMI tags propagate to instances or that AWS Budgets can enforce tagging, but neither is true; the correct approach requires a combination of proactive enforcement (Config auto-remediation) and retroactive bulk tagging (Tag Editor).

How to eliminate wrong answers

Option B is wrong because AWS Budgets cannot enforce tagging; it only sends alerts based on cost or usage thresholds, and does not automatically tag instances or prevent untagged instances from being used. Option C is wrong because AWS Cost Categories group costs based on existing tags or accounts, but they do not automatically tag instances or ensure that newly launched instances are tagged before use. Option D is wrong because AMI tags do not propagate to instances launched from them; instance tags must be explicitly specified at launch or applied via automation, and enabling cost allocation tags alone does not retroactively tag existing untagged instances.

50
MCQeasy

A company runs a web application on EC2 instances behind an Application Load Balancer. The application experiences unpredictable traffic spikes. Which AWS service should be used to automatically adjust the number of EC2 instances based on demand, optimizing cost and performance?

A.AWS Auto Scaling
B.Amazon CloudWatch
C.Elastic Load Balancing
D.AWS Lambda
AnswerA

Automatically adjusts number of EC2 instances based on demand.

Why this answer

AWS Auto Scaling is the correct service because it automatically adjusts the number of EC2 instances in response to demand, using scaling policies based on metrics like CPU utilization or request count. This ensures that the application can handle traffic spikes without manual intervention, optimizing both cost (by scaling down during low demand) and performance (by scaling up during spikes). The service integrates directly with the Application Load Balancer to register and deregister instances as needed.

Exam trap

The trap here is that candidates often confuse the monitoring service (CloudWatch) with the scaling service, or assume Elastic Load Balancing can handle scaling by itself, but neither directly adjusts instance count—only AWS Auto Scaling performs the actual scaling actions.

How to eliminate wrong answers

Option B (Amazon CloudWatch) is wrong because it is a monitoring and observability service that collects metrics and logs, but it does not directly adjust EC2 instance counts; it can trigger Auto Scaling actions via alarms, but the scaling itself is performed by AWS Auto Scaling. Option C (Elastic Load Balancing) is wrong because it distributes incoming traffic across existing EC2 instances but does not add or remove instances; it relies on Auto Scaling to manage capacity. Option D (AWS Lambda) is wrong because it is a serverless compute service for running code in response to events, not for managing EC2 instance scaling; it cannot directly adjust the number of EC2 instances behind a load balancer.

51
MCQeasy

A company hosts a static website on Amazon S3 with public read access. The website content is updated weekly. The SysOps administrator notices that the monthly S3 costs are higher than expected. The website receives about 10,000 requests per day, and each object is small (average 50 KB). The administrator wants to reduce costs without affecting the user experience. The website does not require HTTPS or custom domain at this time. Which action should the administrator take?

A.Enable default encryption for the S3 bucket.
B.Transition the objects to S3 Glacier Flexible Retrieval.
C.Place an Amazon CloudFront distribution in front of the S3 bucket.
D.Enable S3 Versioning to prevent accidental deletions.
AnswerC

CloudFront reduces S3 request costs and provides caching.

Why this answer

Option A is correct because placing a CloudFront distribution in front of the S3 bucket can reduce costs by serving requests from edge caches, which reduces the number of GET requests to S3. Additionally, CloudFront offers a free tier for data transfer. Option B is wrong because enabling versioning increases storage costs.

Option C is wrong because transitioning to S3 Glacier Standard (which doesn't exist; Glacier Flexible Retrieval) would increase retrieval costs and latency, and is not suitable for a website. Option D is wrong because encryption adds overhead but does not reduce costs.

52
MCQeasy

A SysOps administrator notices that an EC2 instance's CPU utilization is consistently above 90% during peak hours. Which action will improve performance without over-provisioning resources?

A.Use Spot Instances instead of On-Demand.
B.Increase the number of EBS volumes attached to the instance.
C.Change the instance type to a larger size, such as moving from t3.medium to t3.large.
D.Configure Auto Scaling to add more instances during peak hours.
AnswerC

Larger instance type provides more CPU capacity.

Why this answer

Option C is correct because changing the instance type to a larger size (e.g., from t3.medium to t3.large) vertically scales the instance, providing more vCPUs and memory to handle the increased CPU load during peak hours. This directly addresses the high CPU utilization without over-provisioning, as you are only scaling up the specific resource that is constrained. Spot Instances (A) do not improve performance; they offer lower cost but same performance.

Increasing EBS volumes (B) does not affect CPU performance. Auto Scaling (D) adds more instances (horizontal scaling), which can over-provision if the single instance's capacity is sufficient after a vertical scale-up.

Exam trap

The trap here is that candidates often confuse horizontal scaling (Auto Scaling) with vertical scaling, assuming adding more instances is always the best performance fix, but the question explicitly asks to avoid over-provisioning, making a single larger instance the more efficient choice.

How to eliminate wrong answers

Option A is wrong because Spot Instances provide the same CPU performance as On-Demand instances; they are a pricing model, not a performance enhancement, and do not reduce CPU utilization. Option B is wrong because increasing the number of EBS volumes does not affect CPU utilization; EBS volumes handle storage I/O, not compute processing. Option D is wrong because Auto Scaling adds more instances horizontally, which can lead to over-provisioning if the workload can be handled by a single larger instance; it also introduces additional complexity and cost for managing multiple instances.

53
Multi-Selectmedium

Which THREE AWS services can be used to monitor and optimize costs? (Choose THREE.)

Select 3 answers
A.AWS Trusted Advisor
B.AWS Cost Explorer
C.AWS Budgets
D.AWS Shield
E.AWS CloudFormation
AnswersA, B, C

Provides cost optimization recommendations.

Why this answer

AWS Trusted Advisor provides cost optimization recommendations by analyzing your AWS environment and identifying idle resources, underutilized instances, and reserved instance opportunities. It offers specific checks like 'Low Utilization Amazon EC2 Instances' and 'Idle Load Balancers' that directly help reduce spending.

Exam trap

The trap here is that candidates may confuse AWS Shield (a security service) with cost-related services due to its name similarity to 'Shield' implying protection, or assume CloudFormation's resource management includes cost tracking, but neither provides cost monitoring or optimization capabilities.

54
MCQmedium

A company runs a production web application on Amazon EC2 instances behind an Application Load Balancer. The application experiences variable traffic patterns, with peak usage during business hours. The company wants to optimize costs while maintaining performance. What should the SysOps administrator do?

A.Increase the EC2 instance sizes to handle peak load at all times.
B.Purchase Reserved Instances for all instances to get the lowest hourly rate.
C.Use a combination of On-Demand and Spot Instances, with On-Demand for baseline traffic and Spot for burst capacity.
D.Use Dedicated Hosts to ensure consistent performance.
AnswerC

This mix optimizes cost while handling traffic spikes.

Why this answer

The correct answer is B. A mixed pricing model with Spot Instances for flexible workloads and On-Demand for steady-state traffic can significantly reduce costs while ensuring availability. Option A is wrong because Reserved Instances require a 1- or 3-year commitment and are not suitable for variable traffic.

Option C is wrong because Dedicated Hosts are expensive and not needed. Option D is wrong because increasing instance size without right-sizing may lead to over-provisioning and increased costs.

55
MCQmedium

A company stores 1 PB of data in Amazon S3 Standard. The data is accessed frequently for the first 30 days, then rarely accessed afterwards. The company needs to optimize storage costs. What should they do?

A.Move all objects to S3 Intelligent-Tiering immediately.
B.Delete objects older than 30 days using S3 Lifecycle expiration.
C.Manually change the storage class of each object to S3 Glacier Deep Archive after 30 days.
D.Configure an S3 Lifecycle policy to transition objects to S3 Standard-IA after 30 days, then to S3 Glacier Deep Archive after 90 days.
AnswerD

Lifecycle policies automate cost-effective storage class transitions.

Why this answer

Option D is correct because an S3 Lifecycle policy automatically transitions objects to colder storage classes based on age. Option A is wrong because deleting data loses it. Option B is wrong because S3 Intelligent-Tiering has a monitoring cost per object.

Option C is wrong because manual transitions are not scalable.

56
MCQeasy

A company is using AWS CloudFormation to deploy infrastructure. They want to reduce costs by identifying unused resources. Which AWS service should they use to monitor and report on resource utilization and cost?

A.AWS Trusted Advisor
B.AWS Config
C.Amazon CloudWatch
D.AWS CloudTrail
AnswerA

Trusted Advisor provides cost optimization recommendations.

Why this answer

Option D is correct because AWS Trusted Advisor provides cost optimization checks, including idle resources. Option A is wrong because AWS Config tracks configuration changes, not cost. Option B is wrong because CloudTrail logs API activity, not cost.

Option C is wrong because CloudWatch monitors performance, not cost optimization.

57
MCQeasy

An application running on Amazon EC2 generates a large number of small files that are stored temporarily and deleted after 24 hours. The files are accessed frequently within the first hour and then rarely. Which Amazon S3 storage class is MOST cost-effective for this use case?

A.S3 Glacier Deep Archive
B.S3 Intelligent-Tiering
C.S3 One Zone-Infrequent Access
D.S3 Standard
AnswerB

Automatically moves data between tiers based on access.

Why this answer

S3 Intelligent-Tiering automatically moves objects between tiers based on access patterns, making it cost-effective for unpredictable access. Option A is wrong because S3 Standard is more expensive for rarely accessed data. Option B is wrong because S3 One Zone-IA may have lower durability but not necessarily lower cost for this pattern.

Option D is wrong because S3 Glacier Deep Archive has a minimum storage duration of 180 days.

58
MCQhard

A company runs a data processing pipeline on AWS. The pipeline consists of EC2 instances that process data from an S3 bucket and write results to another S3 bucket. The processing job runs every hour and takes approximately 45 minutes. The current setup uses On-Demand instances. The SysOps administrator wants to reduce costs because the monthly EC2 bill is $5,000. The application is fault-tolerant and can handle interruptions by reprocessing data from the last checkpoint. The administrator has tested Spot Instances and found that they are interrupted about 10% of the time. The company has a strict requirement that the job must complete within 60 minutes every hour. Which solution would reduce costs while ensuring the job completes on time?

A.Purchase Reserved Instances for the expected capacity to get a discount.
B.Use a single larger On-Demand instance to complete the job faster.
C.Use a Spot Fleet with a fallback to On-Demand if Spot capacity is not available.
D.Use Spot Instances only and increase the number of instances to compensate for interruptions.
AnswerC

Spot Fleet can maintain the desired capacity with a mix of Spot and On-Demand, ensuring completion.

Why this answer

Option D is correct because a Spot Fleet with a fallback to On-Demand ensures the job completes even if Spot Instances are interrupted. Option A is wrong because Spot Instances only may not complete within the time if interrupted. Option B is wrong because Reserved Instances require commitment and may not be needed for the full hour.

Option C is wrong because a larger instance increases costs.

59
MCQhard

A company runs a read-heavy database workload on Amazon RDS for PostgreSQL with a primary instance and two read replicas. The SysOps administrator observes that the read replicas frequently experience high replica lag during peak hours, causing stale reads for the application. The administrator needs to reduce replica lag while optimizing costs. The workload is predictable, with spikes during business hours and low traffic at night. Which combination of actions should the administrator take?

A.Convert the read replicas to Multi-AZ instances to improve the replication process and reduce lag.
B.Upgrade the instance class of the read replicas to a larger type with more CPU and memory to handle the increased WAL replay rate.
C.Add additional read replicas to distribute the read load and reduce the lag on each individual replica.
D.Upgrade the primary DB instance to a larger class with increased IOPS to reduce the amount of data that needs to be replicated.
AnswerB

Replica lag occurs when the replica cannot keep up with the rate of changes from the primary. Increasing the replica's instance size gives it more resources to apply WAL data faster, reducing lag. This directly addresses the performance bottleneck.

Why this answer

Option B is correct because upgrading the read replica instance class provides more CPU and memory, which directly increases the WAL replay rate. In RDS for PostgreSQL, replica lag is primarily caused by the replica's inability to apply WAL changes as fast as the primary generates them. A larger instance class alleviates this bottleneck without incurring the cost of upgrading the primary instance.

Exam trap

The trap here is that candidates often confuse replica lag with primary performance, leading them to upgrade the primary (Option D) or add more replicas (Option C), when the real bottleneck is the replica's WAL replay capacity.

How to eliminate wrong answers

Option A is wrong because Multi-AZ is a high-availability feature that uses synchronous replication to a standby in a different AZ, not a solution for read replica lag; it does not improve asynchronous replication performance and adds cost without addressing the WAL replay bottleneck. Option C is wrong because adding more read replicas distributes the read load but does not reduce the lag on each individual replica; each replica still must apply the same volume of WAL changes from the primary, so lag per replica remains unchanged. Option D is wrong because upgrading the primary instance class with increased IOPS reduces the primary's write latency but does not affect the replica's ability to replay WAL; the primary already generates WAL at the same rate, and the bottleneck is on the replica side.

60
Multi-Selecthard

A company is using Amazon S3 to store log files. The logs are accessed frequently for the first 30 days and then rarely, but must be retained for 7 years for compliance. Which THREE actions would optimize storage costs while maintaining accessibility?

Select 2 answers
A.Delete objects older than 90 days.
B.Transition objects to S3 Glacier Deep Archive after 365 days.
C.Create a lifecycle policy to transition objects to S3 Standard-IA after 30 days.
D.Transition objects directly to S3 Glacier after 30 days.
E.Use S3 Intelligent-Tiering to automatically move objects.
AnswersB, C

Lowest cost for long-term archival with 7-year retention.

Why this answer

S3 Lifecycle policies automate transitions to lower-cost storage classes. Moving to S3 Standard-IA after 30 days reduces cost for infrequent access. Moving to S3 Glacier Deep Archive after 1 year is cost-effective for long-term retention while still allowing retrieval within hours.

Option A is wrong because S3 Intelligent-Tiering incurs monitoring costs and may not be cheapest for predictable access. Option B is wrong because deleting after 90 days violates compliance. Option D is wrong because moving directly to Glacier after 30 days may be too early for infrequent access.

61
MCQhard

A company has a production environment with multiple EC2 instances. They want to ensure that all instances are covered by a Reserved Instance (RI) to maximize cost savings. Which AWS service can automatically apply unused RIs to new instances?

A.AWS Systems Manager
B.AWS Trusted Advisor
C.AWS Config
D.AWS Cost Explorer
AnswerD

Cost Explorer provides RI utilization reports, but RIs are automatically applied by AWS billing.

Why this answer

Option B is correct because AWS Cost Explorer's RI Utilization reports show coverage, but applying RIs is automatic by AWS billing. However, the question asks for a service that automatically applies unused RIs – that's a built-in feature, but among options, AWS Systems Manager doesn't do that. Actually, the correct answer is that AWS automatically applies RIs to matching instances; no service needed.

But for the exam, the best answer is Option B (Cost Explorer) helps monitor, but the question is tricky. Let me rethink: Actually, AWS automatically applies RIs, but the service that helps manage is AWS Cost Explorer. However, there is no service that applies RIs; it's automatic.

The SysOps exam expects that RIs are automatically applied to matching instances. So none of these are correct. I need to adjust the question.

Let me redo this one.

62
MCQmedium

A company has a web application that uses an Application Load Balancer (ALB) and an Auto Scaling group of EC2 instances. The Auto Scaling group uses a dynamic scaling policy based on average CPU utilization. The SysOps administrator notices that during traffic spikes, the scaling policy adds instances too slowly, causing performance degradation. Which action should the administrator take to improve performance without significantly increasing costs?

A.Use a scheduled scaling policy to add instances during known peak hours.
B.Increase the cooldown period for the scaling policy to allow instances to warm up.
C.Switch to a simple scaling policy that scales out when CPU exceeds 80%.
D.Change the scaling policy to a target tracking policy with a target CPU utilization of 70%.
AnswerD

Target tracking maintains the desired CPU utilization and scales more proactively.

Why this answer

Option A is correct because a target tracking policy with a higher CPU threshold (e.g., 70%) can be more responsive than a step scaling policy. Option B is wrong because increasing the cooldown period would slow scaling down further. Option C is wrong because using a simple scaling policy with a higher threshold may not be as responsive.

Option D is wrong because a scheduled scaling policy is not suitable for unpredictable spikes.

63
MCQmedium

A company stores infrequently accessed data in S3 Standard. They want to reduce storage costs without compromising immediate accessibility. What is the MOST cost-effective solution?

A.Use S3 Glacier Flexible Retrieval.
B.Use S3 Standard-IA storage class.
C.Move data to S3 Intelligent-Tiering.
D.Create a lifecycle policy to delete objects after 30 days.
AnswerB

Standard-IA is for infrequently accessed data with immediate access.

Why this answer

Option C is correct because S3 Standard-IA offers lower storage cost with immediate access, for infrequently accessed data. Option A is wrong because S3 Intelligent-Tiering has monitoring costs. Option B is wrong because lifecycle policies are used to transition, not a storage class.

Option D is wrong because S3 Glacier Flexible Retrieval has minutes to hours retrieval.

64
Multi-Selecthard

A company runs a web application on EC2 instances in an Auto Scaling group. The application experiences variable traffic. The company wants to improve performance and reduce costs. Which THREE actions should the company take?

Select 3 answers
A.Implement dynamic scaling policies based on CPU utilization.
B.Reduce the number of instances in the Auto Scaling group to lower costs.
C.Use an Application Load Balancer with connection draining.
D.Use a mix of On-Demand and Spot Instances in the Auto Scaling group.
E.Increase the instance size to handle peak load.
AnswersA, C, D

Dynamic scaling adjusts capacity in real-time.

Why this answer

Using a mix of On-Demand and Spot Instances balances cost and reliability. Implementing dynamic scaling based on CPU utilization ensures capacity matches demand. Using an ELB with connection draining helps maintain performance during scale-in.

Increasing instance size increases cost. Reducing the number of instances may cause performance issues.

65
MCQeasy

A company uses Amazon CloudWatch to monitor its AWS resources. The company wants to receive alerts when CPU utilization of an EC2 instance exceeds 80% for 5 consecutive minutes. What is the MOST efficient way to achieve this?

A.Use CloudWatch Logs to parse CPU utilization from system logs and trigger an alert.
B.Use Amazon EventBridge to schedule a Lambda function that checks CPU utilization.
C.Use AWS CloudTrail to monitor EC2 instance metrics.
D.Create a CloudWatch alarm on the CPUUtilization metric with a threshold of 80% for 5 consecutive periods.
AnswerD

This is the direct and efficient method.

Why this answer

A CloudWatch alarm can be set to trigger when the CPUUtilization metric exceeds 80% for 5 consecutive minutes (e.g., 5 evaluation periods of 1 minute each). This is the native and efficient way. CloudWatch Logs is for log data.

CloudTrail is for API activity. EventBridge is for event-driven actions but requires a more complex setup.

66
MCQhard

A company has a production AWS account that uses Consolidated Billing with several member accounts. The finance team wants to identify the top cost drivers and allocate costs to different departments. Which AWS tool should be used to visualize and allocate costs?

A.AWS Organizations
B.AWS Trusted Advisor
C.AWS Cost Explorer
D.AWS Budgets
AnswerC

Allows filtering and grouping costs by tags, accounts, and services for allocation.

Why this answer

AWS Cost Explorer provides visualization and filtering of costs by tags, accounts, and services, enabling cost allocation. Option A is wrong because Trusted Advisor provides optimization recommendations but not detailed cost allocation. Option C is wrong because Budgets only creates budget alerts.

Option D is wrong because Organizations is for policy management.

67
MCQmedium

A company is running a production web application on EC2 instances behind an ALB. The application experiences predictable traffic spikes during business hours. Which cost optimization strategy would be MOST effective?

A.Configure Scheduled Scaling to add instances before the spike and remove after.
B.Use Spot Instances for the entire workload.
C.Use larger instance types to handle the spikes without scaling.
D.Use On-Demand instances exclusively to handle the spikes.
AnswerA

Scheduled Scaling matches capacity to predictable patterns, reducing cost.

Why this answer

Option B is correct because using Scheduled Scaling for predictable patterns reduces costs by running only needed capacity. Option A is wrong because On-Demand is flexible but not cost-optimized for predictable spikes. Option C is wrong because increasing instance size doesn't dynamically adjust to spikes.

Option D is wrong because Spot Instances are not suitable for production workloads that require availability.

68
MCQhard

A company runs a critical web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application is deployed in a single AWS region. The company wants to improve performance for users in other regions and reduce the load on the origin servers. The SysOps administrator decides to use Amazon CloudFront. After implementing CloudFront, the administrator notices that the cache hit ratio is very low (around 10%) for the dynamic API responses that are served by the application. These API responses are personalized per user and change frequently. The administrator wants to improve performance for these dynamic requests while still using CloudFront. The application uses cookies for session management and the API responses depend on the user's session. The administrator must ensure that users receive the correct personalized content. Which configuration should the administrator use?

A.Use Lambda@Edge to generate personalized responses at the edge without forwarding all requests to the origin.
B.Configure CloudFront to use origin shield and enable keep-alive connections to the origin.
C.Configure CloudFront to forward cookies to the origin and enable caching based on cookies.
D.Disable caching for the API behavior in CloudFront and enable real-time logs.
AnswerB

Origin shield reduces origin load and keep-alive improves connection efficiency.

Why this answer

Option B is correct because CloudFront can forward cookies to the origin, which allows the origin to generate personalized responses based on the user's session. However, this reduces caching because each user's response is unique. But the question asks to improve performance for dynamic requests.

Actually, for dynamic content that is personalized, caching is not effective. Instead, CloudFront can use origin shield or keep-alive connections to improve performance. But the best option among those given is to forward cookies and enable caching based on cookies? Option B says 'Configure CloudFront to forward cookies to the origin and enable caching based on cookies.' That would allow CloudFront to cache responses for different cookie values, but since each user has a unique session, caching would still be inefficient.

Option C is better: 'Configure CloudFront to use origin shield and enable keep-alive connections to the origin.' That reduces origin load and improves connection reuse. Option D is about Lambda@Edge for real-time transformation, which could help if the API responses can be assembled at edge. However, the most effective way to improve performance for dynamic requests is to reduce the number of requests hitting the origin by using techniques like origin shield, keep-alive, and possibly Lambda@Edge for caching fragments.

But among the options, Option C is the most straightforward. Option A is wrong because disabling caching defeats the purpose. Option B is wrong because caching personalized content based on cookies leads to many cache misses.

Option D is possible but complex. The correct answer is C.

69
MCQhard

A company uses Amazon CloudFront to deliver content to a global audience. The origin is an Application Load Balancer in us-east-1. The SysOps administrator wants to reduce costs by minimizing the number of requests that reach the origin server. Which action should the administrator take?

A.Enable CloudFront Origin Shield.
B.Configure multiple origins for failover.
C.Enable CloudFront Web Application Firewall (WAF) integration.
D.Increase the cache TTL for CloudFront distributions.
AnswerA

Origin Shield acts as a centralized cache, reducing the number of requests that pass through to the origin by serving from a regional cache, which lowers origin costs.

Why this answer

CloudFront Origin Shield acts as an additional caching layer in front of the origin, reducing the load on the origin by consolidating requests from multiple edge locations. This minimizes the number of requests that reach the Application Load Balancer, directly lowering origin request costs and improving cache hit ratio.

Exam trap

The trap here is that candidates often assume increasing cache TTL is the primary way to reduce origin requests, but they overlook that Origin Shield directly reduces origin load by consolidating requests, which is a more targeted cost optimization feature for CloudFront.

How to eliminate wrong answers

Option B is wrong because configuring multiple origins for failover improves availability, not cost reduction, and does not reduce the number of requests reaching the origin. Option C is wrong because enabling CloudFront WAF integration provides security filtering (e.g., against SQL injection or DDoS), but does not minimize origin requests; it may even add latency for inspection. Option D is wrong because increasing cache TTL can improve cache hit ratio, but it does not guarantee fewer origin requests if the content is already cached; it only extends the time before a cached object expires, and may lead to stale content if not managed properly.

70
MCQeasy

A company runs a CPU-intensive batch processing job daily on a single Amazon EC2 instance. The job requires high compute performance but uses minimal memory. The instance is typically idle for the rest of the day. The SysOps administrator needs to minimize costs while ensuring the job completes within a 1-hour window. Which purchasing option and instance family should the administrator use?

A.On-Demand Instance with a general-purpose (T-family) instance
B.Reserved Instance (1-year, all upfront) with a compute-optimized (C-family) instance
C.Spot Instance with a compute-optimized (C-family) instance
D.On-Demand Instance with a memory-optimized (R-family) instance
AnswerC

Spot Instances offer large discounts and are suitable for fault-tolerant batch jobs. The C family provides high compute performance. If interrupted, the job can resume on a new Spot Instance.

Why this answer

A Spot Instance with a compute-optimized (C-family) instance is the correct choice because the batch job is fault-tolerant (can be interrupted and resumed), runs for only 1 hour daily, and requires high CPU performance with minimal memory. Spot Instances offer significant cost savings (up to 90% off On-Demand) and are ideal for flexible, stateless workloads. The C-family provides the highest compute-to-memory ratio, matching the job's CPU-intensive profile.

Exam trap

The trap here is that candidates assume Reserved Instances are always the cheapest option for predictable workloads, but they overlook that the job's extremely low utilization (1 hour/day) makes Spot Instances more cost-effective despite the lack of commitment.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances are more expensive than Spot for a short-duration, fault-tolerant job, and the T-family (burstable) instances are designed for low-to-moderate CPU usage, not sustained high compute performance; they would incur CPU credits exhaustion and throttling. Option B is wrong because Reserved Instances (1-year, all upfront) require a long-term commitment and upfront payment, which is wasteful for a job that runs only 1 hour per day; the cost savings do not justify the commitment for such low utilization. Option D is wrong because memory-optimized (R-family) instances are designed for workloads with high memory requirements, not CPU-intensive tasks; using them would over-provision memory and increase costs unnecessarily.

71
MCQeasy

A SysOps administrator notices that an Amazon RDS DB instance is running at 10% CPU utilization consistently. The instance has 8 vCPUs and 32 GB RAM. The application's performance is adequate. Which action will reduce costs without affecting performance?

A.Enable Multi-AZ deployment for the DB instance.
B.Change the DB instance to a smaller instance type.
C.Change the storage type from gp2 to gp3.
D.Increase the provisioned IOPS.
AnswerB

Selecting a smaller instance type reduces the hourly compute cost. Since current utilization is low, a smaller instance will still provide adequate performance.

Why this answer

The DB instance is over-provisioned for the current workload, as evidenced by the consistently low CPU utilization (10%) and adequate application performance. By changing to a smaller instance type, you reduce compute costs directly while maintaining sufficient capacity for the workload. This is the most straightforward cost optimization action when performance requirements are already met.

Exam trap

The trap here is that candidates may confuse cost optimization with performance improvement or high availability, leading them to select Multi-AZ or IOPS changes, which increase costs rather than reduce them.

How to eliminate wrong answers

Option A is wrong because enabling Multi-AZ deployment increases costs by provisioning a standby replica in a different Availability Zone and does not reduce costs; it improves availability and fault tolerance. Option C is wrong because changing storage type from gp2 to gp3 may reduce storage costs but does not address the over-provisioned compute resources (vCPUs and RAM) that are the primary cost driver here. Option D is wrong because increasing provisioned IOPS increases costs and is unnecessary when performance is already adequate and CPU utilization is low.

72
MCQmedium

A company runs a production database on an Amazon RDS for PostgreSQL instance. The company notices that the database is experiencing high CPU utilization during peak hours, causing performance degradation. The company wants to improve performance while minimizing cost. Which solution should the company implement?

A.Create a Multi-AZ deployment for high availability.
B.Implement Amazon ElastiCache in front of the database.
C.Scale up the DB instance class to a larger size.
D.Add an Amazon RDS read replica to offload read traffic.
AnswerD

Read replicas reduce CPU load on the primary by handling read queries.

Why this answer

Adding a read replica offloads read traffic from the primary instance, reducing CPU utilization. Read replicas are cost-effective and can be promoted if needed. Scaling up the instance type increases cost and may not be necessary.

Multi-AZ provides high availability but does not reduce CPU load. ElastiCache would require application changes and adds cost.

73
MCQhard

A company is running a stateful web application on EC2 instances in an Auto Scaling group. The application requires low latency and high throughput. Currently, the application is experiencing performance degradation during peak hours. Which scaling strategy should the SysOps administrator implement to improve performance and optimize cost?

A.Step scaling policy based on memory utilization
B.Scheduled scaling with fixed times
C.Simple scaling policy based on CPU utilization
D.Predictive scaling policy
AnswerD

Proactively scales based on forecast, improving performance and cost.

Why this answer

Option B is correct because predictive scaling uses historical data to forecast capacity needs, scaling in advance to handle peak loads, improving performance and cost. Simple scaling may react too slowly. Step scaling is better than simple but still reactive.

Scheduled scaling works for predictable patterns but not dynamic ones.

74
MCQeasy

A company is using Amazon CloudFront to deliver content globally. Which feature can help reduce costs by minimizing data transfer from the origin?

A.Enable multiple origins for load balancing.
B.Configure caching to serve content from edge locations.
C.Configure custom SSL certificates.
D.Use Lambda@Edge to process requests.
AnswerB

Caching reduces requests to the origin, lowering data transfer costs.

Why this answer

Option D is correct because caching at edge locations reduces origin requests, lowering data transfer costs. Option A is wrong because using multiple origins increases complexity. Option B is wrong because Lambda@Edge runs code but doesn't reduce origin transfer.

Option C is wrong because custom SSL certificates don't affect transfer costs.

75
MCQmedium

An administrator runs the above command to list EC2 instances. The company wants to optimize costs. Which instance should the administrator consider terminating first?

A.i-0efgh5678 (t3.large, running in us-east-1b)
B.i-0abcd1234 (t3.medium, running in us-east-1a)
C.i-0mnop3456 (t3.medium, stopped in us-east-1c)
D.i-0ijkl9012 (t3.xlarge, running in us-east-1a)
AnswerC

Stopped instances still incur costs for attached resources.

Why this answer

The instance i-0mnop3456 is stopped but still incurs costs for EBS volumes and possibly Elastic IPs. Terminating it will eliminate those costs. The running instances are in use and may be necessary.

The t3.medium instances are smaller and may be needed.

Page 1 of 3 · 199 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Soa Cost Performance questions.