Courseiva

CCNA Cost and Performance Optimization Questions

66 of 141 questions · Page 2/2 · Cost and Performance Optimization · Answers revealed

76
MCQmedium

A company has an S3 bucket policy as shown. A developer tries to upload an object using the AWS CLI without the --no-verify-ssl flag. What will happen?

A.The upload will succeed only if the developer uses HTTP.
B.The upload will fail because the policy denies all s3:* actions.
C.The upload will fail because the policy requires explicit HTTPS.
D.The upload will succeed because the CLI uses HTTPS by default.
AnswerD

The bucket policy allows s3:PutObject only when the request is made over a secure transport, as captured by the aws:SecureTransport condition key. The AWS CLI uses the HTTPS endpoint by default, so the request's SecureTransport value is true and the Allow branch applies. Consequently the upload is authorized and completes successfully.

Why this answer

The bucket policy denies requests that do not use secure transport (HTTP) but allows HTTPS requests. The AWS CLI uses HTTPS by default, and since the developer did not use --no-verify-ssl, the request is made over HTTPS. Therefore, the upload succeeds.

Option D is correct. Option A is incorrect because the CLI uses HTTPS, not HTTP. Option B is incorrect because the policy does not deny all s3:* actions; it only denies requests over HTTP.

Option C is incorrect because the policy requires HTTPS, and the CLI complies, so the upload does not fail.

77
MCQmedium

A company runs an e-commerce application on Amazon EC2 instances behind an Auto Scaling group. The application has a predictable baseline load from 8 AM to 8 PM daily and low load overnight. The SysOps administrator wants to optimize costs while ensuring sufficient capacity for the baseline load. Which purchasing option and scaling strategy should the administrator use?

A.Use On-Demand instances for the baseline and Spot Instances for any additional capacity.
B.Use Reserved Instances for the predicted baseline and On-Demand for any unexpected spikes.
C.Use Dedicated Hosts for all instances to maximize cost savings.
D.Use Spot Instances for all instances to minimize costs.
AnswerB

Reserved Instances should back the predictable baseline because they offer a substantial discount (up to 72% compared to On-Demand) for a commitment you know you will use, while On-Demand covers unexpected spikes without requiring a long-term contract. This combination minimizes cost on the steady-state load while retaining the flexibility to launch extra capacity at any moment, and it avoids the interruption risk of Spot for the mission-critical spikes.

Why this answer

Reserved Instances provide a significant discount (up to 72%) over On-Demand for predictable, steady-state workloads like the 8 AM to 8 PM baseline. On-Demand instances then cover any unexpected spikes without requiring upfront commitment, ensuring cost optimization while maintaining capacity for the predictable load.

Exam trap

The trap here is that candidates assume Spot Instances are always the cheapest option, but they fail to recognize that the predictable baseline load requires guaranteed availability, which Spot Instances cannot provide due to potential interruptions.

How to eliminate wrong answers

Option A is wrong because Spot Instances can be interrupted with a 2-minute warning when AWS needs capacity back, making them unsuitable for a baseline load that must be reliably available during business hours. Option C is wrong because Dedicated Hosts are a physical server dedicated to your use, which is far more expensive than Reserved Instances and provides no cost optimization benefit for a standard e-commerce application that does not require license compliance or physical isolation. Option D is wrong because Spot Instances are not suitable for all instances due to their potential for interruption, which would cause the application to fail during the predictable baseline load.

78
MCQhard

A SysOps administrator notices that a Lambda function is timing out after 30 seconds. The function processes large files from S3. How can the administrator improve performance while minimizing cost?

A.Increase the timeout value to 5 minutes.
B.Enable Provisioned Concurrency.
C.Increase the memory allocation of the Lambda function.
D.Deploy the function on an EC2 instance.
AnswerC

Lambda allocates CPU power in direct proportion to the memory configuration, so increasing memory gives the function more compute capacity to execute faster. For CPU-bound or memory-intensive workloads, this can dramatically reduce execution time and prevent timeouts. Since Lambda billing is based on compute time, a shorter duration may actually lower overall cost, making memory tuning the primary lever for performance optimization.

Why this answer

Increasing the memory allocation of the Lambda function also proportionally increases the allocated CPU power, which directly reduces the execution time for CPU-bound tasks like processing large files. This often resolves timeout issues without incurring additional cost per invocation, as the cost is a product of memory and duration, and a faster execution can offset the higher memory price.

Exam trap

The trap here is that candidates often assume increasing the timeout is the only way to fix a timeout error, overlooking that Lambda's memory setting controls CPU allocation and can actually speed up execution to stay within the original timeout.

How to eliminate wrong answers

Option A is wrong because simply increasing the timeout value does not address the root cause of slow processing; it only allows the function to run longer, which does not improve performance and may increase costs if the function still takes longer than 30 seconds. Option B is wrong because Provisioned Concurrency is designed to reduce cold start latency and handle burst scaling, not to improve the execution speed of a single invocation; it does not reduce the time a function takes to process data. Option D is wrong because deploying the function on an EC2 instance would require managing servers, increase operational overhead, and likely incur higher costs for the same workload, contradicting the goal of minimizing cost.

79
MCQhard

An application runs on EC2 instances behind an ALB. Users report slow response times. CPU utilization averages 90% during peak hours. What is the MOST effective way to improve performance?

A.Enable detailed monitoring on CloudWatch.
B.Switch to a memory-optimized instance type.
C.Add more Security Group rules.
D.Increase the instance size to a larger type.
AnswerD

Increasing the instance size to a larger type in the same family directly adds vCPUs and baseline CPU capacity, which helps absorb the workload being distributed by the ALB. For example, moving from one size to the next doubles the number of vCPUs and often increases network bandwidth, allowing the instance to process more concurrent requests without saturating the CPU. This vertical scaling approach correctly addresses the stated CPU-bound bottleneck.

Why this answer

Increasing the instance size (scaling up) provides more CPU resources directly, addressing the high utilization. While Auto Scaling could add more instances, the question specifically asks about the given options, and D is the most effective among them. Detailed monitoring (A) only provides metrics, not performance improvement.

Memory-optimized (B) does not help CPU-bound issues. Security group rules (C) do not affect compute performance.

80
MCQmedium

A company runs a batch processing job every night on Amazon EC2 instances. The job takes exactly 2 hours to complete and can be interrupted and resumed later. The SysOps administrator wants to minimize compute costs. Which purchasing option should be used?

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

Spot Instances deliver up to a 90% discount compared to On-Demand pricing because AWS sells spare EC2 capacity through a bidding market. Nightly batch jobs that can be interrupted and restarted or resumed are textbook use cases for Spot, especially with the EC2 Fleet or Spot Fleet using a capacity-optimized allocation strategy. To tolerate eviction, you can implement checkpointing in the job and set short max-price per instance-hour, letting AWS reclaim the instance mid-run without corrupting output. The ability to tolerate interruption is precisely why Spot minimizes costs over all other options for this flexible, interruptible workload.

Why this answer

Spot Instances are the correct choice because the batch job is fault-tolerant (can be interrupted and resumed) and runs for a fixed 2-hour window nightly. Spot Instances offer up to 90% cost savings compared to On-Demand, and with the ability to handle interruptions via checkpointing, they minimize compute costs without requiring a long-term commitment.

Exam trap

The trap here is that candidates often choose On-Demand Instances due to a mistaken belief that any interruptible workload requires guaranteed availability, ignoring that Spot Instances are explicitly designed for fault-tolerant, stateless, or checkpointable workloads like batch processing.

How to eliminate wrong answers

Option B (Reserved Instances) is wrong because they require a 1- or 3-year commitment and are cost-effective only for steady-state workloads, not for a nightly 2-hour job that can be interrupted. Option C (On-Demand Instances) is wrong because they are the most expensive option and provide no cost savings for a fault-tolerant, interruptible workload. Option D (Dedicated Instances) is wrong because they are designed for regulatory or licensing requirements that demand physical isolation, not for cost optimization, and they incur additional per-instance fees.

81
Multi-Selectmedium

A company is using Amazon S3 to store data for analytics. The data is accessed frequently for the first 30 days, then rarely after that. The company wants to optimize storage costs. Which THREE actions should the SysOps administrator recommend?

Select 3 answers
A.Use S3 Intelligent-Tiering to automatically optimize storage costs.
B.Use S3 One Zone-IA for all data after 30 days to reduce costs.
C.Create a lifecycle policy to transition objects to S3 Glacier Deep Archive after 90 days.
D.Create a lifecycle policy to transition objects to S3 Standard-IA after 30 days.
E.Use S3 Standard storage for all data to ensure high performance.
AnswersA, C, D

S3 Intelligent-Tiering automatically monitors access patterns and moves objects between frequent, infrequent, and archive-instant access tiers, charging a small monthly monitoring and automation fee per object. Unlike a static lifecycle rule, it adapts to changing access without retrieval fees or operational overhead, making it ideal for data with unpredictable usage. However, it does not compress or deduplicate data, and you still pay for the storage class actually used, but it optimizes cost by minimizing manual tier choices.

Why this answer

The correct actions are A, C, D. Option A: S3 Intelligent-Tiering automatically moves data between tiers based on access patterns, optimizing costs for data with changing access patterns. Option C: A lifecycle policy to transition objects to S3 Glacier Deep Archive after 90 days is appropriate for data that is rarely accessed after the initial 30 days.

Option D: A lifecycle policy to transition objects to S3 Standard-IA after 30 days is a good cost-saving measure for data that is accessed infrequently after the first 30 days. Option B is incorrect because S3 One Zone-IA is not durable enough for analytics data that may need availability, and it does not automatically optimize costs like Intelligent-Tiering. Option E is incorrect because using S3 Standard for all data would be more expensive than using the lifecycle policies or Intelligent-Tiering.

82
MCQmedium

A SysOps administrator is troubleshooting slow application performance. The application runs on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. Amazon CloudWatch metrics show that the average CPU utilization across the instances is below 20%, but the application is still slow. What is the MOST likely cause of the performance issue?

A.The Auto Scaling group is scaling too aggressively, causing thrashing.
B.The Application Load Balancer has a sticky session configuration that is not distributing traffic evenly.
C.The application database is under-provisioned and is causing slow query responses.
D.The EC2 instances are using burstable performance and have exhausted their CPU credits.
AnswerC

An under-provisioned database can directly cause slow application responses while keeping EC2 CPU low because the application nodes spend most of their time blocked on database queries. Inadequate IOPS, insufficient memory for the buffer cache, or a suboptimal schema can lead to high query latency and connection queueing, which is not reflected in the web-tier CloudWatch CPU metric. The low average CPU is a classic sign of an external dependency bottleneck, making the database the most plausible root cause for the degraded user experience.

Why this answer

The most likely cause is that the application database is under-provisioned, leading to slow query responses. Even though EC2 CPU utilization is low, the application performance is bottlenecked by database latency. This is a common scenario where the database tier is the constraint, not the compute tier.

Exam trap

Candidates may assume low CPU means the compute layer is fine, but the real bottleneck could be the database tier. Don't automatically rule out downstream components.

83
MCQeasy

A company is using AWS Cost Explorer to analyze spending. They want to receive an email alert when costs exceed a certain threshold. Which service should they use?

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

AWS Budgets is the correct service because it is specifically designed to track your actual and forecasted AWS cost and usage against a defined threshold and immediately send notifications when that threshold is exceeded. You can create a cost budget, set a fixed spending amount, and configure SNS-based alerts for both actual and forecasted spending, covering scenarios like the company's need to monitor a limit. It also supports actions to prevent overages, such as applying IAM policies or terminating instances. That native, proactive alerting capability is exactly what the scenario requires.

Why this answer

AWS Budgets can send alerts when costs exceed thresholds. Option A (AWS Trusted Advisor) is wrong because it provides recommendations for cost optimization but does not send alerts based on cost thresholds. Option B (AWS Cost Explorer) is wrong because it is used for analyzing cost and usage data, not for sending alerts.

Option C (Amazon CloudWatch) is wrong because CloudWatch monitors AWS resources and applications, but it does not natively monitor AWS costs or send cost threshold alerts.

84
MCQmedium

A media company stores millions of video files in S3. Some files are accessed heavily after upload (when new) and rarely afterward; others are accessed unpredictably across months. The team cannot predict which files will be accessed and when. They want to minimize storage costs without risking retrieval latency penalties or per-object retrieval fees. Which storage class is appropriate?

A.Use S3 Intelligent-Tiering so objects automatically move between Frequent and Infrequent Access tiers based on access patterns, with no retrieval fees
B.Use S3 Standard-IA and configure a lifecycle policy to move objects back to Standard after every access
C.Use S3 Glacier Instant Retrieval for all objects because it offers the lowest storage cost with millisecond retrieval
D.Use S3 Standard for all objects because it has no retrieval fees and provides the best availability
AnswerA

Intelligent-Tiering handles the unpredictable access pattern automatically. Objects accessed within 30 days stay in Frequent Access. Unaccessed objects move to Infrequent Access (40 percent lower cost). No retrieval fee ensures there is no cost penalty when an old file is accessed unexpectedly. The per-object monitoring fee is offset by storage savings for objects over 128 KB.

Why this answer

S3 Intelligent-Tiering is the correct choice because it automatically moves objects between Frequent Access and Infrequent Access tiers based on changing access patterns, with no retrieval fees and no performance impact (millisecond latency). This matches the unpredictable access pattern described, as the service monitors access at the object level and adjusts storage tier without manual lifecycle rules or retrieval costs.

Exam trap

The trap here is that candidates often confuse S3 Intelligent-Tiering with S3 Standard-IA, assuming both have retrieval fees, or they incorrectly believe Glacier Instant Retrieval is always cheaper despite its retrieval fees and minimum storage duration penalties.

How to eliminate wrong answers

Option B is wrong because S3 Standard-IA charges a per-object retrieval fee (per GB retrieved) and a minimum storage duration fee (30 days), and moving objects back to Standard after every access would incur repeated retrieval fees and lifecycle transition costs, defeating cost minimization. Option C is wrong because S3 Glacier Instant Retrieval has a higher storage cost than Intelligent-Tiering for frequently accessed data and still incurs retrieval fees (per GB) for every access, plus a minimum 90-day storage charge, making it unsuitable for unpredictable access patterns. Option D is wrong because S3 Standard has the highest storage cost among the options, and while it has no retrieval fees, it does not optimize costs for files that become rarely accessed over time, leading to unnecessary expense.

85
MCQmedium

A company runs a batch processing application on Amazon EC2 instances that runs every night for 2 hours. The job can be interrupted and resumed without any issue. The SysOps administrator wants to minimize compute costs for this workload. Which EC2 purchasing option should be used?

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

Spot Instances offer spare EC2 capacity at discounts of up to 90% compared to On-Demand, making them ideal for fault-tolerant, interruptible workloads like a nightly 2-hour batch job. If Spot capacity is reclaimed, the job can simply be restarted on another Spot Instance, and the short run duration minimizes disruption risk. The significant cost savings together with the workload's natural resilience to interruption make Spot the most cost-effective choice.

Why this answer

Spot Instances are the correct choice because the workload is fault-tolerant (can be interrupted and resumed) and runs for only 2 hours nightly. Spot Instances offer significant cost savings (up to 90% off On-Demand) but can be reclaimed by AWS with a 2-minute warning, which is acceptable here since the job can resume without issue. This aligns with the goal of minimizing compute costs for a non-critical, interruptible batch process.

Exam trap

The trap here is that candidates often choose Reserved Instances (Option C) thinking they always save money, but they fail to recognize that Reserved Instances are only cost-effective for steady-state, always-on workloads, not for short, interruptible batch jobs where Spot Instances provide greater savings without long-term commitment.

How to eliminate wrong answers

Option B (On-Demand Instances) is wrong because they provide no cost savings for a fault-tolerant workload that can handle interruptions; On-Demand is priced at the standard rate and is intended for unpredictable or critical workloads, not for minimizing costs. Option C (Reserved Instances) is wrong because they require a 1- or 3-year commitment and are designed for steady-state, predictable usage, not for a 2-hour nightly job that could be interrupted; the upfront cost and commitment would not be cost-effective for such a short, interruptible workload. Option D (Dedicated Hosts) is wrong because they are a physical server dedicated to a single customer, incurring high costs regardless of usage, and are intended for compliance or licensing requirements, not for minimizing compute costs for a batch job.

86
MCQhard

A company uses Amazon S3 to serve large files to users. The files are accessed frequently for the first 30 days after upload, then access drops significantly. The SysOps administrator wants to minimize storage costs while ensuring low-latency access for frequently accessed files and automatic optimization for changing access patterns. Which S3 storage class configuration should be used?

A.Use S3 Standard for 30 days, then transition to S3 Glacier Deep Archive.
B.Use S3 Intelligent-Tiering.
C.Use S3 Standard then transition to S3 Glacier Flexible Retrieval after 30 days.
D.Use S3 One Zone-IA for the first 30 days, then transition to S3 Standard-IA.
AnswerB

S3 Intelligent-Tiering is the correct choice because it automatically monitors access patterns at the object level and moves data between Frequent Access, Infrequent Access, and Archive Instant Access tiers without any retrieval fees or user action. This provides low-latency access for actively requested large files while silently reducing storage cost for objects that become cold. It is ideal for unknown, unpredictable, or changing access patterns because there is no static lifecycle rule to misjudge when data will be accessed again. A small monthly monitoring and automation fee per object applies, but it is typically negligible compared to the savings and avoids the risk of archive-tier retrieval delays.

Why this answer

S3 Intelligent-Tiering is the correct choice because it automatically moves objects between three access tiers (frequent, infrequent, and archive instant) based on changing access patterns, without any lifecycle rules or performance impact. This meets the requirement for low-latency access for frequently accessed files and automatic optimization, while minimizing storage costs as access drops after 30 days.

Exam trap

The trap here is that candidates often choose a lifecycle-based solution (like S3 Standard to Glacier) thinking it is automatic, but they overlook that lifecycle rules are static and do not adapt to changing access patterns, whereas S3 Intelligent-Tiering dynamically optimizes without manual intervention.

How to eliminate wrong answers

Option A is wrong because S3 Glacier Deep Archive has a retrieval time of 12-48 hours, which does not provide low-latency access for frequently accessed files, and it requires manual lifecycle rules rather than automatic optimization. Option C is wrong because S3 Glacier Flexible Retrieval has retrieval times of minutes to hours (typically 1-5 minutes for expedited, but with additional cost), which does not guarantee low-latency access, and it requires a lifecycle policy rather than automatic pattern adaptation. Option D is wrong because S3 One Zone-IA does not provide the durability of multiple Availability Zones and is not suitable for frequently accessed files due to retrieval costs, and transitioning to S3 Standard-IA after 30 days still requires manual lifecycle rules and does not automatically optimize for changing access patterns.

87
MCQmedium

The finance team was surprised by a $12,000 spike in EC2 costs last month caused by a runaway Auto Scaling group. They want to receive an email alert within hours whenever any AWS service cost behaves unexpectedly, without manually setting fixed dollar thresholds for each service. Which AWS cost management feature provides this?

A.Enable Cost Anomaly Detection with an AWS services monitor and create an alert subscription to email the finance team when an anomaly is detected
B.Create an AWS Budget with a monthly EC2 cost threshold of $10,000 and an alert at 80 percent of the threshold
C.Enable AWS Cost Explorer and review the daily cost breakdown each morning to spot unexpected charges
D.Configure CloudWatch Billing alarms with a static threshold for each AWS service individually
AnswerA

Cost Anomaly Detection's ML model learns the historical spending pattern for each service. When EC2 (or any service) starts spending at an anomalous rate, the model detects it within hours. The alert subscription can notify via email or SNS with the anomaly amount, affected service, and percentage deviation. No manual threshold tuning is needed — the model self-calibrates.

Why this answer

Cost Anomaly Detection uses machine learning to model historical spending patterns for each AWS service and automatically detects unusual spikes without requiring manual thresholds. By creating an AWS services monitor and linking an alert subscription, the finance team receives email notifications within hours when any service deviates from its expected cost behavior, directly addressing the need for service-agnostic, threshold-free alerts.

Exam trap

The trap here is that candidates often confuse AWS Budgets or CloudWatch Billing alarms with anomaly detection, but those tools require manual static thresholds and do not automatically adapt to changing spending patterns across multiple services.

How to eliminate wrong answers

Option B is wrong because an AWS Budget with a fixed monthly EC2 cost threshold of $10,000 and an 80% alert requires manual threshold setting and only monitors EC2, not all services, and cannot detect unexpected behavior that stays under the threshold. Option C is wrong because manually reviewing AWS Cost Explorer daily is not an automated alerting mechanism and does not provide timely notification within hours of a spike. Option D is wrong because CloudWatch Billing alarms require configuring a static dollar threshold for each individual service, which is exactly what the finance team wants to avoid, and they do not adapt to changing spending patterns.

88
MCQeasy

A SysOps administrator is responsible for an AWS account that hosts a development environment. The environment includes several EC2 instances that are used only during business hours (9 AM to 5 PM) on weekdays. The administrator wants to reduce costs by stopping the instances during off-hours. Which action should the administrator take to automate this process?

A.Manually stop the instances at 5 PM and start them at 9 AM each weekday.
B.Create an Auto Scaling group with a scheduled scaling action to set desired capacity to 0 during off-hours.
C.Set up a CloudWatch alarm that stops instances when CPU utilization is below 1% for 30 minutes.
D.Use the AWS Instance Scheduler to define a schedule that stops instances at 5 PM and starts them at 9 AM on weekdays.
AnswerD

The AWS Instance Scheduler is a reference solution that deploys AWS Lambda functions and Amazon DynamoDB tables via AWS CloudFormation to automatically issue EC2 StopInstances and StartInstances calls based on user-defined daily or weekly periods. It works by evaluating instance tags against stored schedules, supports time zones, and can handle large fleets across accounts and regions. Because it stops rather than terminates instances, EBS-backed volumes, private IP addresses, and instance IDs are preserved.

Why this answer

AWS Instance Scheduler is a solution that automates the starting and stopping of EC2 instances based on a schedule. It uses Lambda functions and DynamoDB to manage schedules, and it can be configured to stop instances at 5 PM and start them at 9 AM on weekdays, reducing costs during off-hours.

Exam trap

SOA-C02 often tests the difference between stopping and terminating instances, and candidates may incorrectly choose Auto Scaling groups for scheduled start/stop, not realizing that ASG terminates instances.

How to eliminate wrong answers

Option A is wrong because manual stopping is not automated and is error-prone. Option B is wrong because Auto Scaling groups are for dynamic scaling based on demand, not for scheduled start/stop of existing instances; setting desired capacity to 0 would terminate instances, not stop them, and would not preserve instance state. Option C is wrong because CloudWatch alarms based on CPU utilization are for reactive scaling, not scheduled start/stop, and stopping instances based on low CPU could disrupt business hours if utilization is low.

89
MCQmedium

A company hosts a web application on EC2 instances behind an Application Load Balancer (ALB). The application experiences variable traffic patterns with occasional spikes. The current setup uses On-Demand instances in an Auto Scaling group with a simple scaling policy based on average CPU utilization. The team wants to optimize cost while ensuring that the application can handle spikes in traffic. What should the team do to reduce cost?

A.Switch to a target tracking scaling policy based on request count per target.
B.Implement scheduled scaling to add capacity during known peak hours.
C.Configure the Auto Scaling group to use a mixed instances policy with Spot Instances for a portion of the capacity and On-Demand for the remainder.
D.Purchase Reserved Instances for the minimum expected capacity to get a discount.
AnswerC

A mixed instances policy lets an Auto Scaling group launch both Spot and On-Demand Instances, with the ability to define a percentage split (e.g., 50% On-Demand and 50% Spot) across multiple instance types. Spot Instances can be 60–90% cheaper than On-Demand, so running a portion of the spike capacity on Spot delivers significant cost savings. The On-Demand portion maintains a stable baseline, while the Spot portion absorbs burst capacity; if Spot capacity is reclaimed, the group can optionally fall back to On-Demand, preserving availability and making this the most cost-effective, resilient choice for variable traffic.

Why this answer

A mixed instances policy lets the Auto Scaling group blend Spot Instances (up to ~90% cheaper than On-Demand) for the stateless, interruption-tolerant portion of the web tier with On-Demand instances as a stable baseline. This directly reduces compute cost while the ASG still scales out to absorb traffic spikes, and Spot capacity pools across multiple instance types/AZs improve availability. It is the only option that changes the pricing model of the existing capacity rather than just the scaling trigger.

Exam trap

SOA-C02 often tests the difference between changing the scaling policy (which affects responsiveness) and changing the purchasing model (which affects cost) — candidates pick the scaling option when the question explicitly asks for cost reduction.

How to eliminate wrong answers

Option A is wrong because switching to a target tracking policy based on request count per target only changes the scaling metric — it does not reduce the hourly price of the instances, so cost is not optimized. Option B is wrong because scheduled scaling assumes predictable peak hours, but the scenario explicitly states variable traffic with occasional spikes, so scheduled actions would either over-provision or miss spikes. Option D is wrong because Reserved Instances require a 1- or 3-year commitment for a steady baseline; with variable traffic and spikes, RIs would be underutilized during troughs and still require On-Demand/Spot for the peaks, so it does not address the spike-handling requirement.

90
MCQhard

A SysOps administrator is troubleshooting a cost overrun in an AWS account. The cost explorer shows that data transfer costs have significantly increased. The architecture includes an Application Load Balancer (ALB) internet-facing, EC2 instances in private subnets, and an S3 bucket for static assets. Which action will MOST effectively reduce data transfer costs?

A.Enable Amazon CloudFront to cache static assets and reduce direct requests to the ALB.
B.Implement a VPC Gateway Endpoint for S3 so that traffic from EC2 to S3 stays within the AWS network.
C.Replace the NAT Gateway with a NAT instance to reduce hourly charges.
D.Change the ALB to internal (private) and use AWS Direct Connect for user access.
AnswerB

VPC Gateway Endpoints for S3 are horizontally scaled, redundant VPC components that require no additional cost—they are free to use and carry no hourly or per-GB charges. When added to the route table, traffic destined for S3 is directed via prefix lists to stay inside the AWS network, bypassing the NAT Gateway for both data transfer and NAT processing fees. This directly cuts the most common source of S3-related cost overruns from EC2 instances in private subnets.

Why this answer

Implementing a VPC Gateway Endpoint for S3 allows EC2 instances in private subnets to access S3 without traversing the NAT Gateway or internet, eliminating data transfer costs associated with NAT Gateway data processing and internet egress. This is the most effective cost reduction because S3 traffic is often a major contributor to data transfer charges in such architectures.

Exam trap

The trap is focusing on NAT Gateway hourly charges or CloudFront caching while overlooking that S3 data transfer through NAT Gateway incurs data processing and egress costs; SOA-C02 often tests whether candidates know that Gateway Endpoints for S3 are free and eliminate those costs.

How to eliminate wrong answers

Option A is wrong because while CloudFront can reduce direct requests to the ALB and cache static assets, it does not address the data transfer costs between EC2 and S3, which are likely the primary driver; CloudFront also introduces its own data transfer costs. Option C is wrong because replacing a NAT Gateway with a NAT instance reduces hourly charges but does not eliminate the data transfer costs for S3 traffic, and NAT instances have lower throughput and require management. Option D is wrong because changing the ALB to internal and using Direct Connect would disrupt user access and does not address the EC2-to-S3 data transfer costs; Direct Connect also has its own costs.

91
MCQhard

A company uses Amazon S3 for static website hosting. The website serves thousands of users globally, and the company wants to reduce latency and lower data transfer costs. Which solution should the SysOps administrator implement?

A.Set up Amazon CloudFront as a content delivery network (CDN) in front of the S3 bucket.
B.Use S3 Intelligent-Tiering storage class.
C.Enable cross-region replication and serve from multiple buckets.
D.Enable S3 Transfer Acceleration on the bucket.
AnswerA

CloudFront caches the S3 static content at global edge locations, so users are served from nearby points of presence rather than the bucket's Region. This reduces latency and cuts data transfer costs by lowering origin fetches, satisfying both stated goals.

Why this answer

Amazon CloudFront is a global content delivery network (CDN) that caches static content at edge locations closer to users, reducing latency and lowering data transfer costs by minimizing direct requests to the S3 origin. By serving cached objects from edge locations, CloudFront also reduces the amount of data transferred from S3, which can significantly decrease S3 data transfer egress charges.

Exam trap

The trap here is that candidates confuse S3 Transfer Acceleration (which speeds up uploads) with a CDN solution for download performance, or they think cross-region replication alone solves latency without considering the need for a global caching layer.

How to eliminate wrong answers

Option B is wrong because S3 Intelligent-Tiering optimizes storage costs by moving objects between access tiers based on usage patterns, but it does not reduce latency or data transfer costs for global users. Option C is wrong because cross-region replication creates copies in multiple regions, but users still access a single bucket directly unless a routing mechanism like Route 53 latency-based routing is added, and it increases storage costs without providing edge caching benefits. Option D is wrong because S3 Transfer Acceleration uses AWS edge locations to speed up uploads to S3 over long distances, but it does not cache content for downloads or reduce latency for end users retrieving static website content.

92
MCQmedium

A company runs a web application on EC2 instances behind an Application Load Balancer. The application experiences variable traffic patterns. The operations team notices that during low traffic periods, there are still a large number of running instances, leading to higher costs. What should the team do to reduce costs while maintaining performance?

A.Replace the existing instances with larger instance types to handle peak load.
B.Implement a target tracking scaling policy based on average CPU utilization.
C.Manually scale down the number of instances during off-peak hours.
D.Purchase Reserved Instances for the baseline capacity.
AnswerB

A target tracking scaling policy is the correct approach because it lets Amazon EC2 Auto Scaling automatically adjust the desired instance count to keep average CPU utilization near a predefined target value (e.g., 50%). CloudWatch alarms monitor the metric, and the policy scale out or scale in by incrementing or decrementing capacity based on the measured deviation from the target. This automated, reactive method handles peak load efficiently and reduces instances during low traffic, directly reducing costs without manual intervention.

Why this answer

The problem is over-provisioning during low-traffic periods, so the solution must automatically reduce capacity when demand drops while preserving the ability to scale up. A target tracking scaling policy based on average CPU utilization continuously adjusts the desired instance count to maintain the target, scaling in during off-peak and out during peaks. This is the standard, hands-off cost-optimization approach for variable workloads.

Exam trap

SOA-C02 often tests the difference between cost-reduction mechanisms — candidates may pick Reserved Instances for cost savings, but RIs do not address dynamic over-provisioning during low-traffic periods.

How to eliminate wrong answers

Option A is wrong because larger instance types increase cost and still require manual capacity management; they do not solve the over-provisioning during low traffic. Option C is wrong because manual scaling is operationally fragile, error-prone, and cannot react to unpredictable traffic changes in real time. Option D is wrong because Reserved Instances only discount steady-state baseline capacity — they do not reduce the number of running instances during low traffic and can lock the company into paying for unused capacity.

93
MCQeasy

A company runs a stateless web application on a fleet of Amazon EC2 instances behind an Application Load Balancer. The application experiences predictable traffic patterns: high during business hours and low at night. The SysOps administrator wants to reduce compute costs without affecting performance during peak hours. Which action should the administrator take?

A.Create a scheduled scaling policy for the Auto Scaling group that increases the desired capacity before business hours and decreases it after hours.
B.Use Spot Instances for the entire fleet and enable termination protection.
C.Purchase a 1-year All Upfront Reserved Instance for the maximum number of instances needed during peak hours.
D.Configure a target tracking scaling policy with a CPU utilization target of 50%.
AnswerA

Scheduled scaling allows you to scale the Auto Scaling group based on a schedule, such as increasing capacity at 8 AM and decreasing at 8 PM. Because the traffic pattern is predictable, scheduled scaling ensures that enough instances are running during peak hours and reduces cost by terminating unnecessary instances at night. This is the most cost-effective and performance-safe approach for a stateless application with known traffic patterns.

Why this answer

The application has predictable traffic patterns, so scheduled scaling is the most efficient way to match capacity to demand. It increases instances before business hours and decreases them after, ensuring performance during peak times while reducing cost during off-peak hours. Reserved Instances would commit to peak capacity around the clock, target tracking is reactive and less precise for known schedules, and Spot Instances risk interruptions that could affect availability.

Exam trap

The trap here is assuming that any Auto Scaling policy will automatically optimize cost, when scheduled scaling is specifically designed for predictable traffic patterns and avoids over-provisioning.

94
MCQmedium

A company has multiple AWS accounts and wants to centrally track costs and usage across all accounts. Which AWS service should the SysOps administrator use?

A.AWS Budgets
B.AWS Config
C.AWS Trusted Advisor
D.AWS Organizations
AnswerD

AWS Organizations is the correct answer because it provides consolidated billing, which automatically aggregates cost and usage data from all member accounts into a single payer account. This gives you a single monthly bill, enables Cost Explorer to analyze cross-account spend, and supports central cost allocation tags. It is the foundational service that allows you to see and manage costs across the entire AWS environment from one place, making it essential for central cost management.

Why this answer

AWS Organizations enables centralized management of multiple AWS accounts, including consolidated billing and cost tracking. By using the management account, you can view aggregated costs and usage across all member accounts through AWS Cost Explorer and Cost & Usage Reports, making it the correct service for this requirement.

Exam trap

The trap here is that candidates confuse AWS Budgets (which only alerts on cost thresholds) with the actual centralized cost tracking capability provided by AWS Organizations' consolidated billing feature.

How to eliminate wrong answers

Option A is wrong because AWS Budgets is used to set custom cost and usage thresholds and receive alerts, not to centrally track costs across multiple accounts. Option B is wrong because AWS Config is a service for evaluating and auditing resource configurations, not for cost tracking. Option C is wrong because AWS Trusted Advisor provides best-practice recommendations for cost optimization, security, and performance, but it does not aggregate cost and usage data across multiple accounts.

95
MCQhard

A SysOps administrator manages a fleet of 50 EC2 instances running a batch processing application. The instances are launched via an Auto Scaling group with a dynamic scaling policy based on CPU utilization. The company recently switched to a new workload that is memory-intensive, causing frequent scale-out events. The administrator notices that the CPU utilization remains below 40%, but memory usage is consistently above 80%. The scaling policy does not trigger appropriately, leading to performance degradation. The administrator must optimize the solution to respond to memory pressure without incurring unnecessary costs. Which action should the administrator take?

A.Create a custom CloudWatch metric for memory utilization and configure a target tracking scaling policy using that metric.
B.Increase the minimum size of the Auto Scaling group to 10 instances and use manual scaling for peak times.
C.Change the dynamic scaling policy to a step scaling policy based on CPU utilization with a wider cooldown period.
D.Replace the current instance type with a memory-optimized instance type such as r5.large.
AnswerA

EC2 publishes only infrastructure metrics such as CPU, network, and disk I/O by default; memory utilization is invisible unless the CloudWatch agent publishes a custom metric. By creating a custom metric like mem_used_percent and attaching a target tracking scaling policy, the Auto Scaling group continuously adjusts capacity to keep average memory utilization at a specified target (e.g., 70%). This correlates scaling decisions with the actual memory-bound workload, preventing both wasted running instances and performance degradation from memory exhaustion.

Why this answer

It directly addresses the memory bottleneck by creating a custom CloudWatch metric for memory utilization and using a target tracking scaling policy. This allows the Auto Scaling group to automatically adjust capacity based on actual memory pressure, which is the real performance issue. Option B (manual scaling) is not automated and may lead to over-provisioning or under-provisioning.

Option C (step scaling with CPU) does not solve the memory problem, and a wider cooldown would only delay scaling. Option D (changing instance type) is a reactive measure that does not provide dynamic scaling and may increase costs without eliminating the need for scaling policies.

96
MCQhard

A company uses Amazon CloudFront to distribute content globally. The SysOps administrator notices that the origin load is high and the cache hit ratio is low. What should the administrator do to improve the cache hit ratio and reduce origin load?

A.Change the origin protocol policy to HTTPS only.
B.Add an additional origin server.
C.Enable compression for the content.
D.Increase the minimum, maximum, and default TTL values for the cache behavior.
AnswerD

Increasing the minimum, maximum, and default TTL values instructs CloudFront to retain objects at edge locations for a longer period, so more requests are satisfied directly from the cache rather than going back to the origin. Longer TTLs mean that the same content remains fresh in the cache, directly increasing the cache hit ratio for popular objects. This is the appropriate way to improve cache efficiency, though you should balance longer TTLs against the need to serve updated content.

Why this answer

Increasing the minimum, maximum, and default TTL values ensures that objects are cached for longer periods, which increases the likelihood of cache hits and reduces the load on the origin server. Option A (changing origin protocol policy to HTTPS only) does not affect caching behavior. Option B (adding an additional origin server) distributes load but does not directly improve cache hit ratio.

Option C (enabling compression) reduces the size of transferred data but does not increase cache hits; it can even reduce caching efficiency if not configured properly.

97
MCQeasy

A company runs a development Amazon EC2 instance that is only used during business hours (9 AM to 5 PM). The SysOps administrator wants to reduce compute costs. Which action should be taken?

A.Use On-Demand instances
B.Use a Reserved Instance
C.Schedule the instance to automatically stop during off-hours and start before business hours
D.Use a Spot instance
AnswerC

Using Amazon EventBridge Scheduler or the AWS Instance Scheduler solution, you can automate stopping the instance at the end of the business day and starting it again before the next workday begins. EC2 billing is per-second while the instance is in the running state, so stopping it during evenings and weekends eliminates most compute charges while retaining the EBS volumes, configuration, and data. The schedule ensures the environment is available when developers arrive and requires no manual intervention, directly matching compute spend to actual usage.

Why this answer

The instance is only needed during business hours (9 AM to 5 PM), so automatically stopping it during off-hours and starting it before business hours eliminates compute charges for idle time. Stopped instances incur no EC2 instance running costs (only storage and EBS volume costs), directly reducing the compute bill. AWS Instance Scheduler or a simple cron-based Lambda function can enforce this schedule reliably.

Exam trap

The trap here is that candidates often confuse cost reduction strategies and choose Reserved Instances (Option B) for any recurring workload, failing to recognize that a development instance with limited daily usage does not justify a long-term commitment and that stopping the instance when idle is the most direct way to eliminate compute costs.

How to eliminate wrong answers

Option A is wrong because On-Demand instances are already the default and do not reduce costs; they are the most expensive pricing model for predictable workloads. Option B is wrong because Reserved Instances require a 1- or 3-year commitment and are designed for steady-state, always-on usage, not for a development instance that is only used 8 hours a day. Option D is wrong because Spot instances can be terminated by AWS with only a 2-minute warning, making them unsuitable for a development instance that must be available during business hours without interruption.

98
MCQhard

A SysOps administrator notices that the monthly bill for Amazon RDS is higher than expected. The environment includes multiple DB instances with low CPU and memory utilization. Which action will most effectively reduce costs while maintaining performance?

A.Enable Multi-AZ deployment for high availability
B.Resize the DB instances to a smaller instance class
C.Delete unused RDS snapshots
D.Provisioned IOPS (io1) storage for better performance
AnswerB

Resizing the DB instances to a smaller instance class is the correct approach because it directly reduces the per-hour compute cost that scales with instance size. By analyzing Amazon CloudWatch metrics such as CPUUtilization, FreeableMemory, and DatabaseConnections, you can confirm the current instances are over-provisioned and select a smaller class that still satisfies your workload's peak demand. This right-sizing action lowers the compute component of the RDS bill immediately without sacrificing performance.

Why this answer

The DB instances have low CPU and memory utilization, indicating they are over-provisioned. Resizing to a smaller instance class directly reduces the hourly compute cost without affecting performance, as the current workload does not require the larger instance's capacity.

Exam trap

The AWS exam often tests the misconception that deleting snapshots or changing storage type is the primary cost driver, when in reality, compute costs from over-provisioned instances are the largest contributor to RDS bills in low-utilization scenarios.

How to eliminate wrong answers

Option A is wrong because enabling Multi-AZ deployment increases costs by provisioning a standby replica in another Availability Zone and does not reduce costs; it is a high-availability feature, not a cost-saving measure. Option C is wrong because deleting unused RDS snapshots reduces storage costs but does not address the primary cost driver (compute costs from over-provisioned instances), and the question states the bill is higher than expected due to multiple DB instances with low utilization. Option D is wrong because Provisioned IOPS (io1) storage increases costs due to higher per-GB and per-IOPS charges and is intended for performance-intensive workloads, not for reducing costs on underutilized instances.

99
MCQhard

A SysOps administrator is reviewing AWS Cost Explorer and notices that data transfer costs from EC2 to the internet are high. The EC2 instances are in a VPC with a NAT Gateway in a public subnet. The route table for private subnets sends 0.0.0.0/0 traffic to the NAT Gateway. The application serves content to users over the internet. Which change will LEAST impact application performance while reducing costs?

A.Replace the NAT Gateway with a smaller NAT Gateway to reduce hourly charges.
B.Use an egress-only Internet Gateway for the private subnets.
C.Implement a VPC Gateway Endpoint for Amazon S3 to keep S3 traffic within AWS.
D.Purchase a Dedicated NAT Gateway in the same region to get lower data processing rates.
AnswerC

Creating a VPC Gateway Endpoint for Amazon S3 adds a prefix list route that directs S3 traffic from private subnets directly to S3 without traversing a NAT gateway or the internet. This eliminates the per-gigabyte NAT data processing fee and internet data transfer charge while keeping traffic within the AWS network. The endpoint is horizontally scalable, highly available, and adds no hourly cost, so it has virtually no performance or operational impact.

Why this answer

The high data transfer costs are from EC2 to internet for serving content to users. This traffic flows through the NAT Gateway to the internet. A VPC Gateway Endpoint for Amazon S3 only affects traffic between EC2 and S3, not internet traffic.

Therefore C would not reduce the costs described. Options A would reduce costs but may impact performance; B is for IPv6 only; D is not a real service. Thus, none of the options correctly solves the problem.

The question needs to be revised, perhaps offering a solution like CloudFront or public subnets with public IPs.

Exam trap

The trap is distinguishing between traffic to the internet and traffic to AWS services like S3. A gateway endpoint reduces costs only for S3 traffic, not general internet traffic.

100
Multi-Selectmedium

A company wants to optimize costs for its Amazon EC2 instances. Which TWO strategies are effective for reducing costs?

Select 2 answers
A.Use Spot Instances for fault-tolerant workloads.
B.Rightsize instances based on utilization metrics.
C.Increase the provisioned IOPS for EBS volumes.
D.Use EBS General Purpose SSD (gp2) volumes instead of gp3.
E.Use Dedicated Hosts to meet compliance requirements.
AnswersA, B

Spot Instances are spare EC2 capacity sold at discounts of up to 90% compared to On-Demand pricing, but AWS can reclaim them with a two-minute warning. For fault-tolerant, stateless workloads that can endure interruptions, running on Spot Instances dramatically reduces compute spend without sacrificing performance. This makes Spot a primary cost-optimization lever for interruptible workloads.

Why this answer

Using Spot Instances for fault-tolerant workloads can reduce costs significantly (up to 90%). Rightsizing instances ensures you are not paying for unused capacity. Dedicated Hosts increase costs.

Increasing provisioned IOPS increases costs. Using EBS General Purpose SSD (gp3) is cost-effective but not a primary cost reduction strategy.

101
MCQeasy

A company runs a mix of Amazon EC2 instances and AWS Fargate tasks that are used for both production and development workloads. The usage is steady and predictable. The SysOps administrator wants to maximize cost savings across both compute services without having to manage specific instances or sizes. Which purchasing option should the administrator recommend?

A.Purchase Compute Savings Plans for a 1-year or 3-year term with a commitment that covers the expected compute spend.
B.Purchase EC2 Instance Savings Plans for the most commonly used instance family and region.
C.Purchase Standard Reserved Instances for the EC2 instances and convert Fargate tasks to use Spot Instances.
D.Use On-Demand instances for both EC2 and Fargate because the administrator does not want to make a commitment.
AnswerA

Compute Savings Plans are the right choice for a mixed EC2 and Fargate environment because the hourly commitment automatically applies to eligible compute usage across EC2 instances, Fargate tasks, and Lambda functions within the chosen region. Unlike EC2 Instance Savings Plans, they do not lock you to an instance family or size, so you can change instance types or refactor to containers without losing the discounted rate. A 1-year or 3-year term with a commitment that matches steady-state spend yields significant savings over On-Demand.

Why this answer

Compute Savings Plans offer the most flexibility, automatically applying to EC2 instances (regardless of instance family, size, or region) and Fargate tasks. Since the company has a mix of both services and wants to maximize savings without managing specific instances or sizes, a 1-year or 3-term Compute Savings Plan with a commitment matching expected spend provides up to 66% savings while covering all compute usage. This aligns with the steady and predictable workload described.

Exam trap

AWS often tests the distinction between Compute Savings Plans and EC2 Instance Savings Plans, where candidates mistakenly choose the latter thinking it covers all EC2 usage, but fail to recognize that Compute Savings Plans also include Fargate and Lambda, making them the only option for a mixed compute environment.

How to eliminate wrong answers

Option B is wrong because EC2 Instance Savings Plans are restricted to a specific instance family within a region, which does not cover Fargate tasks and would not provide the cross-service flexibility needed for the mixed workload. Option C is wrong because Standard Reserved Instances apply only to EC2 instances and require a specific instance family and size commitment, while converting Fargate tasks to Spot Instances introduces interruption risk and does not guarantee cost savings for steady workloads. Option D is wrong because On-Demand pricing offers no discount, and the administrator explicitly wants to maximize cost savings, which requires a commitment-based purchasing option.

102
Multi-Selecteasy

A SysOps administrator needs to reduce data transfer costs for a web application hosted on EC2 instances in a VPC. The application serves content to users over the internet. Which TWO actions will help reduce data transfer costs? (Choose TWO.)

Select 2 answers
A.Move all instances to private subnets and use AWS Direct Connect for user access.
B.Use a VPC Gateway Endpoint for Amazon S3 to keep S3 traffic within AWS.
C.Use Amazon CloudFront to cache and serve static content.
D.Use an Application Load Balancer to distribute traffic.
E.Use a larger NAT Gateway to improve throughput.
AnswersB, C

A VPC gateway endpoint routes S3 traffic privately within the AWS network instead of through a NAT gateway or internet gateway, eliminating NAT data processing charges and internet data transfer for that traffic. This directly cuts the transfer costs the stem asks to reduce.

Why this answer

Option B is correct because a VPC Gateway Endpoint for Amazon S3 routes S3 traffic privately within the AWS network instead of through a NAT Gateway or internet gateway, eliminating NAT data processing charges and internet data transfer fees for that traffic. Option C is correct because Amazon CloudFront caches static content at edge locations closer to users, reducing the volume of data transferred out from the EC2 instances and lowering EC2 data transfer out charges. Option A is incorrect because Direct Connect is for private connectivity to AWS, not for serving public internet users, and private subnets do not reduce internet egress costs.

Option D is incorrect because an Application Load Balancer distributes traffic but does not by itself reduce data transfer costs and adds LCU charges. Option E is incorrect because a larger NAT Gateway does not lower per-GB NAT data processing charges and may increase cost.

103
Multi-Selecteasy

A company wants to reduce costs for its Amazon S3 storage. Which TWO strategies are effective?

Select 2 answers
A.Enable S3 Object Tagging to categorize data.
B.Enable S3 Replication to another region for disaster recovery.
C.Use S3 Lifecycle policies to transition objects to S3 Glacier Deep Archive after a period.
D.Use S3 Intelligent-Tiering for data with unknown or changing access patterns.
E.Enable S3 Transfer Acceleration for faster uploads.
AnswersC, D

S3 Lifecycle policies are the correct, native mechanism to reduce storage costs by automatically transitioning objects to more cost-effective storage classes after a defined age, such as moving from S3 Standard to S3 Glacier Deep Archive after 30 days. Glacier Deep Archive offers the lowest per-GB storage price in S3, with retrieval times of up to 12 hours, making it ideal for rarely accessed, long-term retention data. You can define transitions based on object age, prefix, or tags, and also set expiration to delete objects, directly cutting ongoing storage spend.

Why this answer

S3 Lifecycle policies transition objects to lower-cost storage classes. S3 Object Tagging helps organize data but does not directly reduce costs. S3 Transfer Acceleration increases costs.

S3 Replication increases costs. S3 Intelligent-Tiering can be cost-effective for unknown access patterns.

104
MCQeasy

A company is running a stateful web application on a single EC2 instance with a 500 GB gp2 EBS volume. The instance is currently at 80% CPU and memory utilization during peak hours. The company wants to improve performance and scalability without incurring high costs. What should the SysOps administrator do?

A.Implement an Application Load Balancer with an Auto Scaling group to distribute traffic across multiple instances.
B.Upgrade the instance to a larger size (vertical scaling).
C.Increase the swap space on the instance to handle memory pressure.
D.Migrate the EBS volume from gp2 to gp3 to improve I/O performance.
AnswerA

An Application Load Balancer paired with an Auto Scaling group enables horizontal scaling: it distributes incoming traffic across multiple EC2 instances and automatically adjusts the fleet size based on demand. For stateful apps, ALB supports sticky sessions (session affinity) at the target group level, preserving user session data while still adding/removing instances. Because instances are added or removed dynamically, you pay only for the capacity you need, improving availability and cost efficiency.

Why this answer

Implementing an Application Load Balancer (ALB) with an Auto Scaling group allows the application to scale horizontally (scale out) based on demand. This improves both performance and scalability while optimizing costs because you only pay for the resources you use. Option B (vertical scaling) is incorrect because upgrading to a larger instance may require downtime and does not provide the same level of scalability; it also might be more costly.

Option C (increasing swap space) is a temporary fix that does not address the root cause of high CPU and memory utilization; excessive swapping can degrade performance. Option D (migrating to gp3) improves I/O performance but does not help with CPU or memory constraints, and it does not enable scalability.

105
MCQeasy

A SysOps administrator wants to monitor the cost and usage of AWS resources for different departments. Which AWS service should they use to tag resources and generate cost allocation reports?

A.AWS Trusted Advisor
B.AWS Budgets
C.AWS Config
D.AWS Cost Explorer with cost allocation tags
AnswerD

AWS Cost Explorer is a native billing and cost management service that provides interactive charts and reports of AWS costs and usage over time. When cost allocation tags are activated and applied to resources, you can filter and group costs by tags such as department, giving each department its own spend report. It also supports forecasting and granular time-grain views, making it the correct choice for departmental cost reporting.

Why this answer

AWS Cost Explorer with cost allocation tags is the correct answer because it allows you to activate user-defined or AWS-generated tags as cost allocation tags, then filter and group cost and usage data by those tags to produce per-department reports. Cost Explorer is the native billing tool for visualizing spend over time and supports tag-based breakdowns directly. Trusted Advisor, Budgets, and Config do not generate cost allocation reports by tag.

Exam trap

SOA-C02 often tests the confusion between cost monitoring tools, tempting candidates to pick AWS Budgets for anything cost-related even when the question specifically asks for tagging and cost allocation reporting.

How to eliminate wrong answers

Option A is wrong because AWS Trusted Advisor provides best-practice checks (cost optimization, security, fault tolerance, performance, service limits) but does not tag resources or produce cost allocation reports. Option B is wrong because AWS Budgets sets thresholds and alerts on spend/usage but does not itself tag resources or generate departmental cost allocation reports. Option C is wrong because AWS Config records resource configuration changes and evaluates compliance, not cost and usage reporting.

106
MCQhard

A company runs a web application on Amazon EC2 instances in an Auto Scaling group. The application uses Amazon EBS volumes (gp2) for data storage. The SysOps administrator notices that the storage costs are high, and the application's IOPS requirements are consistently below 3000. The administrator wants to reduce storage costs without affecting performance. Which action should the administrator take?

A.Modify the EBS volumes to use Provisioned IOPS (io1) volumes and set IOPS to 2000.
B.Convert the EBS volumes from gp2 to gp3 volume type.
C.Implement an Amazon EBS snapshot lifecycle policy to delete old snapshots and reduce storage costs.
D.Enable EBS optimization on the EC2 instances to improve throughput and reduce costs.
AnswerB

gp3 volumes provide a baseline of 3000 IOPS and 125 MB/s throughput for every volume, independent of size, and the per-GB price is roughly 20% lower than gp2. This makes gp3 both cheaper and more predictable for workloads under 3000 IOPS, as it does not rely on burst credits like gp2. Converting existing gp2 volumes to gp3 can be performed non-disruptively, and would reduce the running EBS cost while still exceeding the application's performance requirements.

Why this answer

Gp3 volumes offer a baseline performance of 3000 IOPS and 125 MB/s throughput at a lower cost than gp2 volumes, making them ideal for workloads with IOPS requirements consistently below 3000. By converting from gp2 to gp3, the administrator can reduce storage costs without any performance impact, as gp3 provides the same or better baseline performance at a lower price per GB.

Exam trap

The trap here is that candidates may confuse cost reduction strategies for EBS volumes with snapshot management or instance-level optimizations, failing to recognize that gp3 is the direct, cost-effective replacement for gp2 when IOPS requirements are below the gp3 baseline.

How to eliminate wrong answers

Option A is wrong because Provisioned IOPS (io1) volumes are designed for high-performance workloads requiring more than 16,000 IOPS and are significantly more expensive than gp2 or gp3, so using io1 with only 2000 IOPS would increase costs unnecessarily. Option C is wrong because deleting old snapshots reduces snapshot storage costs, not the cost of the EBS volumes themselves, and the question specifically asks about reducing storage costs for the EBS volumes used by the application. Option D is wrong because EBS optimization is a feature that provides dedicated network bandwidth for EBS traffic, improving throughput and reducing latency, but it does not directly reduce storage costs; it may even incur additional costs if the instance type requires it.

107
MCQeasy

A company runs a batch processing application on Amazon EC2 instances. The application runs for 3 hours every night and can tolerate interruptions. The SysOps administrator needs to minimize compute costs. Which purchasing option should the administrator use?

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

Spot Instances are the optimal choice for this batch workload because they offer savings of up to 90% compared to On-Demand pricing, and the EC2 Spot service can reclaim the capacity with only a 2-minute interruption warning. Since the batch processing job runs only 3 hours nightly and is inherently fault-tolerant—it can be paused, checkpointed, and resumed—Spot interruptions are easily handled without significant downtime or data loss. This cost-benefit alignment makes Spot Instances the AWS-recommended purchasing model for non-critical, event-driven, or scheduled batch workloads that tolerate variable availability.

Why this answer

Spot Instances are ideal for this workload because the application is fault-tolerant (can tolerate interruptions) and runs on a fixed schedule (3 hours nightly). Spot Instances offer significant cost savings (up to 90% compared to On-Demand) by using spare EC2 capacity, and the batch processing can be designed to resume from checkpoints if interrupted.

Exam trap

The trap here is that candidates often choose Reserved Instances for any scheduled workload, failing to recognize that the application's fault tolerance and short nightly duration make Spot Instances the most cost-effective choice despite the risk of interruption.

How to eliminate wrong answers

Option B (On-Demand Instances) is wrong because they are priced at the full rate and do not offer the cost savings needed for a batch workload that can tolerate interruptions. Option C (Reserved Instances) is wrong because they require a 1- or 3-year commitment and are designed for steady-state workloads, not for a 3-hour nightly job that could be run on cheaper Spot capacity. Option D (Dedicated Instances) is wrong because they are the most expensive option, intended for regulatory or licensing requirements, and provide no cost benefit for a fault-tolerant batch application.

108
MCQhard

A company runs a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application reads data from an Amazon RDS for MySQL database. During peak hours, the database CPU utilization is consistently high, and the application experiences increased latency. The SysOps administrator observes that 90% of database queries are read-only. Which combination of actions will both improve performance and optimize costs?

A.Enable Multi-AZ for the RDS instance and scale up the instance size
B.Implement a read replica for the RDS instance and modify the application to route read queries to the read replica
C.Enable Amazon RDS Performance Insights and increase the storage allocation
D.Implement Amazon ElastiCache for Memcached in front of the database and migrate read-heavy queries to cache
AnswerB

Implementing a read replica creates a separate RDS instance that uses asynchronous replication to maintain a copy of the primary database, and it has its own endpoint that can handle read traffic. By modifying the application to route SELECT queries to the read replica (and keeping write operations on the primary), you offload CPU-intensive read workloads from the primary instance, directly alleviating high CPU utilization. This is a proven pattern for read-heavy applications because it scales read capacity independently and is more cost-effective than scaling up the primary, as you only size the primary for write throughput.

Why this answer

Implementing a read replica offloads read-heavy (90%) queries from the primary RDS instance, reducing CPU utilization and latency. Modifying the application to route read queries to the replica distributes the workload, improving performance while avoiding costly vertical scaling. This optimizes costs by using a smaller primary instance and paying only for the replica's resources.

Exam trap

The trap here is that candidates often confuse Multi-AZ (high availability) with read replicas (performance scaling), or assume caching (ElastiCache) is always the best choice for read-heavy workloads without considering the simplicity and cost-effectiveness of read replicas for database-level offloading.

How to eliminate wrong answers

Option A is wrong because enabling Multi-AZ provides high availability, not performance improvement, and scaling up the instance size increases costs without addressing the read-heavy workload. Option C is wrong because Performance Insights is a monitoring tool that does not reduce CPU utilization or latency, and increasing storage allocation does not improve query performance. Option D is wrong because ElastiCache for Memcached is a caching layer that can reduce database load, but it requires application code changes to cache read queries and does not directly offload read queries like a read replica; it is more suitable for caching specific data, not all read queries.

109
Multi-Selectmedium

An EC2 Auto Scaling group runs a stateless web application with predictable daily peaks. Which two actions can reduce cost while preserving capacity during peak periods? (Choose 2.)

Select 2 answers
A.Configure scheduled scaling actions for the known peak window.
B.Use a mixed instances policy with some Spot capacity where interruption is acceptable.
C.Run all instances as On-Demand at maximum peak size all day.
D.Disable health checks to avoid instance replacement.
AnswersA, B

Scheduled scaling actions are the correct approach for a workload with a known, predictable peak window because they proactively adjust the Auto Scaling group's desired capacity at the specified times, launching instances before traffic increases. This eliminates the delay that dynamic scaling can incur while waiting for metrics like CPU utilization to cross thresholds, ensuring capacity is available exactly when the peak begins. It also lets you scale back down after the window to avoid paying for idle resources.

Why this answer

Scheduled scaling allows you to proactively increase capacity before the predictable daily peak and reduce it afterward, ensuring you only pay for the resources needed during the peak window. This avoids over-provisioning for the entire day, directly reducing costs while maintaining performance during high-demand periods.

Exam trap

The trap here is that candidates may think disabling health checks saves money by avoiding instance replacements, but this actually risks application availability and can increase costs due to undetected failures, while the real cost-saving mechanisms are proactive scaling and using cheaper instance types like Spot.

110
MCQeasy

A company uses S3 standard storage for all data. They have data that is accessed rarely but must be retained for 7 years. Which storage class would be MOST cost-effective?

A.S3 One Zone-IA
B.S3 Standard
C.S3 Glacier Deep Archive
D.S3 Intelligent-Tiering
AnswerC

S3 Glacier Deep Archive is the lowest-cost S3 storage class, offering a storage price of about $0.00099 per GB-month and a standard retrieval time of 12 hours or more. It is explicitly designed for long-term retention of data that is accessed at most once a year, such as regulatory and compliance archives. With a 180-day minimum storage duration and a retrieval fee structure, it perfectly matches the requirement for durable, long-term, low-cost archival.

Why this answer

S3 Glacier Deep Archive is the lowest-cost storage for long-term archival. S3 Standard is expensive, S3 IA is for infrequent access but not long-term, and S3 One Zone IA is less durable.

111
MCQhard

A company runs a critical application on a fleet of EC2 instances that process real-time financial transactions. The application requires consistent low latency. The SysOps administrator notices that the application's latency increases periodically due to noisy neighbors. The administrator wants to optimize performance predictability. Which instance type should the administrator choose?

A.Burstable Performance Instances (T3)
B.Dedicated Instances
C.Spot Instances
D.Reserved Instances
AnswerB

Dedicated Instances run on hardware that is physically isolated from other AWS accounts, meaning there are no 'noisy neighbors' that can monopolize CPU, memory, or I/O resources. This single-tenant environment provides strong performance consistency and can also satisfy strict compliance or licensing requirements. For a critical application running on a fleet, this isolation ensures that the behavior of other customers cannot interfere with your instances, making it the correct choice.

Why this answer

Dedicated Instances run on hardware dedicated to a single customer, eliminating the noisy-neighbor problem because no other AWS accounts share the underlying physical host. This provides the performance predictability required for consistent low-latency financial transaction processing.

Exam trap

SOA-C02 often tests the distinction between tenancy (Dedicated Instances/Hosts) and pricing models (Reserved/Spot) — candidates incorrectly pick Reserved Instances thinking the discount implies isolation, when only dedicated tenancy removes noisy neighbors.

How to eliminate wrong answers

Option A is wrong because T3 burstable instances rely on CPU credits and can be throttled when credits are exhausted, which directly harms latency consistency. Option C is wrong because Spot Instances can be reclaimed by AWS with a two-minute warning, making them unsuitable for a critical always-on application. Option D is wrong because Reserved Instances are a billing discount model, not a distinct hardware isolation model — they do not prevent noisy neighbors.

112
MCQmedium

A company has an Amazon DynamoDB table that stores historical data. The table is accessed infrequently but when queried requires consistent single-digit millisecond latency. The SysOps administrator wants to minimize storage costs while maintaining the required performance. Which DynamoDB table class should the administrator use?

A.DynamoDB Standard
B.DynamoDB Standard-IA (Infrequent Access)
C.DynamoDB On-Demand
D.DynamoDB Provisioned
AnswerB

DynamoDB Standard-IA (Infrequent Access) is a table class designed specifically for data that is read infrequently but still requires DynamoDB's single-digit millisecond latency and full durability. It reduces storage costs by roughly 60% compared to Standard, while adding a small per-GB retrieval fee that only applies when data is actually read. This makes it the ideal choice for historical data that is stored long-term and accessed occasionally, since the storage savings outweigh the modest retrieval charges.

Why this answer

DynamoDB Standard-IA (Infrequent Access) is designed for tables that are accessed less than once per month, offering lower storage costs than DynamoDB Standard while maintaining the same single-digit millisecond latency for queries. Since the table stores historical data with infrequent access but requires consistent performance, Standard-IA minimizes storage costs without sacrificing latency.

Exam trap

The trap here is confusing DynamoDB table classes (Standard vs Standard-IA) with billing modes (On-Demand vs Provisioned), leading candidates to choose a billing mode instead of the correct table class for storage cost optimization.

How to eliminate wrong answers

Option A is wrong because DynamoDB Standard is optimized for frequently accessed data and has higher storage costs, making it suboptimal for infrequently accessed historical data. Option C is wrong because DynamoDB On-Demand is a billing mode (not a table class) that charges per request and is typically more expensive for unpredictable workloads, but it does not address storage cost optimization for infrequent access. Option D is wrong because DynamoDB Provisioned is also a billing mode (not a table class) that requires capacity planning and does not inherently reduce storage costs; it focuses on throughput rather than storage efficiency.

113
MCQeasy

A company runs a batch processing application on Amazon EC2 that runs for 2 hours every night. The workload can tolerate interruptions. Which EC2 purchasing option provides the lowest cost for this use case?

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

Spot Instances operate using spare EC2 capacity that AWS makes available at a significantly reduced hourly rate—often up to 90% off On-Demand pricing. This is the best fit here because the nightly 2-hour batch is both short and fault-tolerant: if capacity is reclaimed, work can be re-queued or resumed without violating the batch window. You can further reduce interruption risk by using a Spot Fleet with multiple instance types and by implementing checkpointing so progress is saved between runs. The result is a dramatic cost reduction for a workload that would otherwise be idling and paying full price.

Why this answer

Spot Instances are the correct choice because the workload is fault-tolerant, runs for a fixed 2-hour window nightly, and can tolerate interruptions. Spot Instances offer significant cost savings (up to 90% off On-Demand) by using spare EC2 capacity, which aligns perfectly with a batch job that can be retried if interrupted.

Exam trap

The trap here is that candidates may choose Reserved Instances because they see a predictable nightly schedule, but they overlook that Reserved Instances are cost-effective only for 24/7 workloads, not for short, interruptible batch jobs where Spot Instances provide far greater savings.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances provide no discount and are not cost-optimal for a predictable, interruptible workload. Option B is wrong because Reserved Instances require a 1- or 3-year commitment and are designed for steady-state, always-on workloads, not a short 2-hour nightly batch job. Option D is wrong because Dedicated Hosts are a physical server dedicated to a single customer, incurring high costs for licensing or compliance needs, and are overkill for a batch processing application that can tolerate interruptions.

114
MCQmedium

A company uses an Application Load Balancer (ALB) to distribute traffic to EC2 instances. The SysOps team wants to reduce costs by ensuring that idle capacity is minimized. Which configuration should they implement?

A.Configure an Auto Scaling group with a step scaling policy based on CPU utilization.
B.Configure an Auto Scaling group with a target tracking scaling policy based on ALB request count per target.
C.Increase the number of EC2 instances in the Auto Scaling group to handle peak load.
D.Set the Auto Scaling group desired capacity to the maximum expected load.
AnswerB

A target tracking scaling policy with the ALBRequestCountPerTarget metric is purpose-built for web workloads behind an ALB because it continuously adjusts capacity to maintain a specified target value (e.g., 1000 requests per instance), automatically creating and managing the required CloudWatch alarms and scaling activities. This policy responds directly to the metric that reflects actual user traffic per instance, so it scales out quickly when request volume increases and scales in when traffic decreases, significantly reducing idle instance capacity. AWS recommends this approach over CPU or memory based scaling for HTTP(S) applications because it aligns scaling with the real bottleneck—request throughput per instance.

Why this answer

A target tracking scaling policy based on ALB request count per target automatically adjusts the number of EC2 instances to keep the request count per instance at a specified target value. This directly ties scaling to actual traffic demand, minimizing idle capacity while maintaining performance. It is the most cost-efficient and responsive configuration for an ALB-fronted workload.

Exam trap

SOA-C02 often tests the difference between reactive scaling (step/CPU-based) and demand-based scaling (target tracking on request count) — candidates pick CPU-based step scaling out of habit, missing that request count per target is the most direct and cost-efficient metric for ALB workloads.

How to eliminate wrong answers

Option A is wrong because a step scaling policy based on CPU utilization requires manual definition of CloudWatch alarms and scaling adjustments, and CPU utilization is a lagging indicator that may not correlate well with request load — it can leave idle capacity during low-traffic periods or fail to scale quickly enough during spikes. Option C is wrong because increasing the number of EC2 instances to handle peak load provisions for the worst case at all times, which maximizes idle capacity and increases cost — the opposite of the stated goal. Option D is wrong because setting desired capacity to the maximum expected load statically over-provisions and guarantees idle capacity during normal and low-traffic periods, directly contradicting the cost-reduction objective.

115
MCQeasy

A company wants to reduce data transfer costs for traffic between EC2 instances in the same AWS Region. Which action should the SysOps administrator take?

A.Use Elastic IP addresses for all instances
B.Place instances in public subnets and route traffic through a NAT Gateway
C.Ensure instances communicate using private IP addresses within the same VPC
D.Use VPC endpoints to communicate between instances
AnswerC

Ensuring instances communicate using private IP addresses within the same VPC is the correct and most cost-effective approach. Traffic sent over private IPv4 addresses stays entirely inside the VPC, never crossing the internet gateway, so it is not subject to public internet data transfer rates. For instances in the same Availability Zone, this traffic is absolutely free; even across Availability Zones, the per-GB charge is only $0.01 each way, which is far cheaper than public IP or gateway-based alternatives.

Why this answer

Traffic between EC2 instances in the same VPC using private IP addresses does not incur public internet data transfer costs. If the instances are in the same Availability Zone, the traffic is free; if they are in different Availability Zones, standard inter-AZ data transfer charges apply. Using private IPs is still the most cost-effective option compared to using public IPs (Elastic IPs) or routing through a NAT Gateway.

Exam trap

The trap is confusing cost reduction with security or availability. Also, be aware that 'same Region' does not guarantee 'same Availability Zone'; inter-AZ traffic is charged.

How to eliminate wrong answers

Option A is wrong because Elastic IP addresses are public IPv4 addresses; traffic sent to or from an Elastic IP address traverses the internet gateway, incurring standard data transfer charges for both inbound and outbound traffic. Option B is wrong because placing instances in public subnets and routing traffic through a NAT Gateway would force traffic to go through the NAT Gateway, which adds per-GB data processing charges and data transfer costs for traffic leaving the VPC, increasing costs unnecessarily. Option D is wrong because VPC endpoints are designed for private connectivity to AWS services (e.g., S3, DynamoDB) and cannot be used for communication between EC2 instances; they do not replace the need for private IP routing within a VPC.

116
MCQhard

A company hosts a multi-tier web application on AWS. The application consists of an Application Load Balancer (ALB), a fleet of Amazon EC2 instances running in an Auto Scaling group, and an Amazon RDS for MySQL database. The application is accessed by users worldwide. Recently, the company has expanded to new geographic regions, and users in those regions are experiencing high latency. The SysOps administrator is tasked with optimizing performance for global users while keeping costs low. The administrator has already implemented Amazon CloudFront as a CDN for static content. However, dynamic content that requires database queries is still slow. The application's Auto Scaling group is configured with a dynamic scaling policy based on average CPU utilization, but the scaling is not responsive enough during traffic spikes, causing performance degradation. Additionally, the database is a single db.r5.large instance in the us-east-1 region, and all traffic must hit that database, causing high latency for remote users. The administrator needs to propose a comprehensive solution that addresses both compute and database performance issues globally, while considering cost. Which solution is MOST effective?

A.Increase the minimum and maximum size of the Auto Scaling group and use a step scaling policy based on memory utilization.
B.Use Amazon Aurora Global Database to create read replicas in other regions, and configure the Auto Scaling group with a target tracking scaling policy based on request count per target.
C.Implement Amazon ElastiCache for Redis to cache database queries, and use predictive scaling for the Auto Scaling group.
D.Use larger EC2 instances (e.g., c5.2xlarge) for the application tier and provision a Multi-AZ RDS instance for better performance.
AnswerB

Amazon Aurora Global Database replicates data across AWS Regions with a typical replication lag of under one second, allowing application reads to be served from regional read replicas. This dramatically reduces cross-region network latency for global users, making database reads fast regardless of user location. Configuring the Auto Scaling group with a target tracking policy based on Application Load Balancer request count per target directly aligns compute capacity with incoming traffic patterns, allowing the web tier to scale quickly during demand spikes without waiting for memory or CPU alarms to fire.

Why this answer

Amazon Aurora Global Database provides low-latency read replicas in other regions for dynamic content, reducing latency for global users. Additionally, a target tracking scaling policy based on request count per target is more responsive to traffic spikes than CPU-based scaling, as it directly reflects application load. Option A is wrong because using step scaling based on memory utilization does not address global latency and memory may not be the bottleneck.

Option C is wrong because ElastiCache caching reduces database load but does not reduce latency for users far from the primary database; predictive scaling may not handle sudden spikes well. Option D is wrong because using larger instances and Multi-AZ does not reduce global latency and increases cost.

117
MCQeasy

A company stores log files in Amazon S3. The logs are accessed frequently for the first 30 days, then rarely after that. The company wants to automatically transition objects to a lower-cost storage class after 30 days. Which S3 feature should be configured?

A.S3 Lifecycle rule
B.S3 Versioning
C.S3 Transfer Acceleration
D.S3 Object Lock
AnswerA

S3 Lifecycle rules automatically transition objects to lower-cost storage classes (e.g., from S3 Standard to S3 Standard-IA or S3 Glacier Deep Archive) based on age or other criteria. For logs that are accessed infrequently after 30 days and must be retained for years, a lifecycle rule is the most cost-effective way to automate the transition and expiration of objects while still meeting retention requirements.

Why this answer

An S3 Lifecycle rule is the correct feature because it allows you to define a transition action that automatically moves objects from a higher-cost storage class (e.g., S3 Standard) to a lower-cost storage class (e.g., S3 Standard-IA or S3 Glacier) after a specified number of days. This directly meets the requirement to transition logs after 30 days without manual intervention, optimizing storage costs based on access patterns.

Exam trap

The trap here is that candidates may confuse S3 Versioning or Object Lock as tools for cost optimization, but they are governance features, not lifecycle management features, and do not automate storage class transitions.

How to eliminate wrong answers

Option B is wrong because S3 Versioning is used to preserve, retrieve, and restore every version of an object, not to automate storage class transitions; it does not provide any cost optimization based on age. Option C is wrong because S3 Transfer Acceleration is a feature that speeds up uploads over long distances using AWS edge locations, and it has no role in managing storage class transitions or lifecycle policies. Option D is wrong because S3 Object Lock is designed to prevent objects from being deleted or overwritten for a fixed retention period, and it does not automate transitions to lower-cost storage classes.

118
Multi-Selectmedium

Which THREE AWS features can be used to improve the performance of an Amazon DynamoDB table that is experiencing high read latency? (Choose THREE.)

Select 3 answers
A.Enable DynamoDB Accelerator (DAX).
B.Use DynamoDB global tables.
C.Enable Auto Scaling for read capacity.
D.Use Time to Live (TTL) to delete old items.
E.Increase the provisioned read capacity units.
AnswersA, B, E

DynamoDB Accelerator (DAX) is an in-memory cache that sits in front of your DynamoDB table, serving reads at microsecond latency by avoiding disk access and the complexity of managing a separate caching tier. As a justified correct answer, it directly addresses read latency for even the most frequently accessed items, offloading repeated read traffic from the table's provisioned capacity and reducing the time each request takes from the database engine itself.

Why this answer

DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory cache that can reduce DynamoDB response times from milliseconds to microseconds. By caching frequently read items, DAX offloads read requests from the underlying table, directly addressing high read latency without requiring additional read capacity units or table modifications.

Exam trap

The trap here is that candidates often confuse Auto Scaling (which prevents throttling) with a performance improvement feature, but Auto Scaling does not reduce latency for individual read requests—it only ensures sufficient capacity to avoid throttling.

119
MCQmedium

A SysOps administrator manages an Amazon RDS for MySQL instance that experiences high CPU utilization during business hours. The application is read-heavy. Which action will most effectively improve performance and reduce cost?

A.Enable Multi-AZ deployment.
B.Scale up the instance size to a larger instance class.
C.Add a read replica.
D.Enable automated backups.
AnswerC

A read replica is an asynchronous MySQL replica that continuously syncs changes from the primary and can serve read-only traffic, including SELECT queries and reporting workloads. By routing non-critical reads to the replica, the primary's CPU cycles are freed up for write operations, reducing overall CPU utilization on the primary instance. This is a cost-effective scale-out approach because you add a smaller replica instance rather than resizing the primary, and read replicas can be promoted or removed as demand changes.

Why this answer

Adding a read replica offloads read traffic from the primary RDS for MySQL instance, directly addressing the read-heavy workload and high CPU utilization. This improves performance by distributing SELECT queries to the replica, and reduces cost because you can use a smaller primary instance and only pay for the replica's resources when needed, rather than scaling up the entire instance.

Exam trap

The trap here is that candidates often confuse Multi-AZ (which is for high availability) with read replicas (which are for read scaling), and assume that any scaling must involve resizing the instance rather than adding a separate read-only endpoint.

How to eliminate wrong answers

Option A is wrong because Multi-AZ deployment provides high availability and automatic failover, but does not offload read traffic or reduce CPU utilization on the primary instance; it only maintains a standby replica that cannot serve reads. Option B is wrong because scaling up to a larger instance class increases cost significantly and may still leave the instance underutilized during off-peak hours, whereas a read replica allows cost-effective scaling of read capacity. Option D is wrong because enabling automated backups adds overhead to the primary instance during backup windows, potentially increasing CPU utilization, and does not improve read performance or reduce cost.

120
Multi-Selecthard

A company runs a production database on Amazon RDS for PostgreSQL. The SysOps administrator wants to improve query performance for a read-heavy application without increasing costs significantly. Which THREE actions should the administrator take? (Choose three.)

Select 3 answers
A.Enable Multi-AZ deployment
B.Increase the allocated storage size
C.Optimize slow queries by reviewing the slow query log
D.Implement an Amazon ElastiCache cluster to cache frequent query results
E.Add one or more Read Replicas
AnswersC, D, E

Reviewing the slow query log is a direct diagnostic step because it captures SQL statements that exceed a configured execution-time threshold, allowing you to identify exactly which queries are problematic. Once identified, you can then add indexes, rewrite the query, or adjust parameters like work_mem (for PostgreSQL) to reduce execution time. This addresses the root cause of the performance issue rather than adding more resources to mask it.

Why this answer

Reviewing the slow query log in RDS for PostgreSQL allows the administrator to identify and optimize poorly performing queries, which directly improves query performance without incurring additional infrastructure costs. This is a standard performance tuning practice that targets the root cause of read-heavy application slowdowns.

Exam trap

The trap here is confusing Multi-AZ deployment with read scaling; candidates often assume Multi-AZ improves read performance, but it only provides a standby replica for failover, not for serving read traffic.

121
MCQeasy

A company uses Amazon CloudFront to distribute content globally. The operations team notices that the data transfer costs are higher than expected. The origin server is an S3 bucket in us-east-1. Which change would reduce data transfer costs?

A.Use Lambda@Edge to resize images on the fly.
B.Increase the default TTL for objects.
C.Use multiple S3 buckets in different regions as origins.
D.Enable compression for compressible content.
AnswerD

Enabling CloudFront's automatic compression for compressible content (HTML, CSS, JavaScript, JSON, etc.) reduces the number of bytes sent to viewers when the request includes an Accept-Encoding header. Since CloudFront egress is billed per gigabyte delivered, compressing responses directly lowers the data transfer cost, often by 60-70%. It also improves latency and page load times, and it is a simple configuration change that does not require code changes or additional AWS services.

Why this answer

Enabling compression reduces the amount of data transferred from CloudFront to viewers, directly lowering data transfer costs. Option A (Lambda@Edge to resize images) can reduce image sizes but adds compute costs and may not be as effective as compression. Option B (increasing default TTL) reduces origin requests but does not reduce data transfer from CloudFront to viewers.

Option C (multiple S3 buckets in different regions) increases complexity and may increase costs due to cross-region replication or multiple origins. Thus, D is the correct choice.

122
MCQeasy

A SysOps administrator needs to reduce costs for a non-production environment that runs 24/7 but is only used during business hours. What is the MOST effective action?

A.Create a schedule to stop instances after business hours and start them before.
B.Switch all instances to Spot Instances.
C.Purchase Reserved Instances for the environment.
D.Reduce the instance sizes to the smallest available.
AnswerA

Stopping EC2 instances outside of business hours eliminates per-second compute charges while they are in the stopped state, while EBS volumes and their data persist. You can use AWS Instance Scheduler or Systems Manager Automation to codify the start/stop routine, ensuring instances are only running when needed. This approach directly targets idle compute waste without deprovisioning the environment.

Why this answer

Creating a schedule to stop instances after business hours and start them before business hours is the most effective cost-saving action because it directly reduces the hours the instances run, which is the primary cost driver for EC2. Since the environment is only used during business hours, stopping instances during off-hours eliminates unnecessary compute charges. This approach is simple, requires no architectural changes, and yields immediate savings.

Exam trap

SOA-C02 often tests the difference between cost-saving measures that reduce usage versus those that reduce rates; candidates may choose Reserved Instances or Spot, but stopping instances is most effective for intermittent usage.

How to eliminate wrong answers

Option B is wrong because Spot Instances can reduce costs but are not suitable for all workloads due to potential interruptions; they are best for fault-tolerant, flexible workloads, and may not be appropriate for a non-production environment that might need to be available. Option C is wrong because Reserved Instances provide discounts for committed usage, but if the instances are only used during business hours, you're still paying for 24/7 reservation, which is not cost-effective. Option D is wrong because reducing instance sizes may not be possible without performance impact, and it doesn't address the fact that instances run 24/7; it's a vertical scaling approach that may not yield significant savings compared to stopping them.

123
MCQeasy

A company uses CloudFront to distribute content globally. They want to reduce data transfer costs and improve performance for users. What feature should they enable?

A.Configure multiple origins with failover.
B.Enable Lambda@Edge to modify requests and responses.
C.Enable Origin Shield to create a central caching layer.
D.Increase the TTL for cache behaviors to the maximum allowed value.
AnswerC

Origin Shield adds a centralized caching layer in a specific AWS Region, so all CloudFront edge locations forward cache misses to that single regional endpoint rather than directly to your origin. This consolidates requests from multiple edges, dramatically improving the global cache hit ratio and reducing both the volume of origin requests and the data transfer from origin to edges—and because you pay less for data transfer and origin load, it directly lowers your cost. Origin Shield is an AWS-native feature purpose-built for this cost-reduction scenario.

Why this answer

Origin Shield adds an additional caching layer between CloudFront edge locations and the origin, consolidating origin fetches through a single regional cache. This reduces the number of requests that reach the origin, lowering data transfer costs and improving cache hit ratios and latency for users. It is the specific CloudFront feature designed for this cost-and-performance goal.

Exam trap

SOA-C02 often tests the confusion between caching optimizations (TTL, Origin Shield) and availability features (multi-origin failover), causing candidates to pick TTL or failover when the question specifically asks about reducing origin load and data transfer cost.

How to eliminate wrong answers

Option A is wrong because multiple origins with failover improves availability and resilience, not caching efficiency or data transfer cost. Option B is wrong because Lambda@Edge runs custom code at edge locations to modify requests/responses; it does not inherently reduce origin fetches or data transfer costs. Option D is wrong because increasing TTL to the maximum can improve cache hit ratio but does not create a centralized caching layer, and it can serve stale content; it is not the targeted feature for reducing origin load and cost.

124
MCQmedium

A company runs a batch processing application on Amazon EC2 instances every night. The job takes exactly 1 hour to complete and is time-sensitive. The SysOps administrator wants to minimize compute costs while ensuring the job can be interrupted and resumed if needed. Which EC2 purchasing option is most cost-effective?

A.On-Demand Instances
B.Reserved Instances (Standard 1-year)
C.Spot Instances
D.Dedicated Hosts
AnswerC

Spot Instances let you bid for unused EC2 capacity at discounts of up to 90% compared to On-Demand pricing. AWS can reclaim that capacity with a two-minute interruption notice, but because this batch processing job is checkpointed and resumable, an interruption simply means restarting from the last saved state and continuing toward completion. This makes Spot the most cost-effective option for this workload, especially since the job is inherently fault-tolerant and runs only for short periods.

Why this answer

Spot Instances are the most cost-effective option because the batch job is fault-tolerant (can be interrupted and resumed) and runs for exactly 1 hour nightly. Spot Instances offer up to 90% discount compared to On-Demand, and with the ability to handle interruptions via checkpointing, they meet the requirement for cost minimization while supporting resumption.

Exam trap

The trap here is that candidates often assume Spot Instances are unsuitable for time-sensitive jobs due to potential interruptions, but the question explicitly states the job can be interrupted and resumed, making Spot the correct cost-effective choice over Reserved Instances or On-Demand.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances provide no discount and are the most expensive option for a predictable nightly workload, failing to minimize costs. Option B is wrong because Reserved Instances require a 1-year commitment and are not cost-effective for a job that runs only 1 hour per night, as the upfront cost would not be amortized efficiently. Option D is wrong because Dedicated Hosts are designed for licensing or compliance requirements, not for cost savings, and are significantly more expensive than other options for this use case.

125
Multi-Selecteasy

A company is using Amazon S3 to store media files. The files are accessed frequently for the first 90 days, then rarely after that. The company wants to optimize storage costs. Which TWO actions should the SysOps administrator take? (Choose two.)

Select 2 answers
A.Configure a lifecycle policy to delete incomplete multipart uploads after 7 days
B.Enable S3 Object Lock to prevent deletion
C.Create a lifecycle policy to transition objects to S3 Standard-IA after 90 days
D.Enable S3 Versioning to keep multiple versions
E.Enable Requester Pays on the bucket
AnswersA, C

A lifecycle rule with the 'Incomplete multipart upload' action (e.g., days after initiation = 7) automatically aborts and deletes all parts of any multipart upload that was not completed due to network failure, timeout, or user cancellation. Because S3 bills for every stored part of an incomplete upload just like a full object, leaving these orphaned parts accrues storage costs indefinitely. Setting a 7-day expiration ensures orphaned data is removed without requiring manual intervention, directly reducing storage waste from failed uploads. This is a native S3 cost-control mechanism, not a data-protection feature.

Why this answer

Configuring a lifecycle policy to delete incomplete multipart uploads after 7 days prevents orphaned parts from incurring storage costs. Option C is correct because creating a lifecycle policy to transition objects to S3 Standard-IA after 90 days reduces storage costs for infrequently accessed data. Option B is incorrect because S3 Object Lock is used for compliance and retention, not cost optimization.

Option D is incorrect because enabling S3 Versioning can increase storage costs by retaining multiple versions of objects. Option E is incorrect because enabling Requester Pays shifts the cost of requests and data transfer to the requester, but does not optimize storage costs for the company.

126
MCQhard

A company runs a web application on Amazon EC2 instances. The application's traffic pattern is unpredictable, often spiking to 3x normal load for short periods. The SysOps administrator needs to ensure that the application can handle spikes without performance degradation while minimizing costs. Which combination of purchasing options and scaling strategies should the administrator use?

A.Use all Spot Instances with a simple scaling policy.
B.Use all On-Demand Instances with a scheduled scaling policy.
C.Use a mix of Reserved Instances for baseline and On-Demand for spikes, with a target tracking scaling policy.
D.Use only Reserved Instances with a manual scaling policy.
AnswerC

This option is correct because Reserved Instances should cover the steady-state, baseline portion of the fleet at a significantly lower hourly rate, while On-Demand instances handle any demand above that baseline without requiring a long-term commitment. A target tracking scaling policy lets the Auto Scaling group proactively maintain a chosen metric, like average CPU utilization, by incrementally adjusting capacity as the actual load fluctuates. This hybrid approach keeps costs down and critically provides immediate elasticity for unpredictable spikes.

Why this answer

It combines Reserved Instances for the predictable baseline load, which reduces costs through a significant discount, with On-Demand Instances to handle unpredictable spikes. The target tracking scaling policy automatically adjusts capacity based on a target metric (e.g., average CPU utilization), ensuring performance is maintained during spikes without manual intervention or over-provisioning.

Exam trap

The trap here is that candidates might choose all Spot Instances (Option A) thinking they are cheapest, but they overlook the risk of interruption during spikes, which violates the requirement to 'handle spikes without performance degradation.'

How to eliminate wrong answers

Option A is wrong because using all Spot Instances risks interruption when AWS reclaims capacity, which can cause performance degradation or application failure during spikes, and a simple scaling policy does not dynamically adjust to unpredictable load. Option B is wrong because using all On-Demand Instances is cost-inefficient for the baseline load, and a scheduled scaling policy cannot handle unpredictable spikes since it relies on fixed time schedules. Option D is wrong because using only Reserved Instances with a manual scaling policy cannot scale to meet unpredictable spikes without over-provisioning (wasting cost) or under-provisioning (causing degradation), and manual scaling is slow and error-prone.

127
MCQeasy

A SysOps administrator wants to identify Amazon EC2 instances that are underutilized to reduce costs. The administrator needs recommendations for rightsizing instances based on historical CPU and memory usage. Which AWS service provides these recommendations?

A.AWS Cost Explorer
B.AWS Trusted Advisor
C.AWS Compute Optimizer
D.AWS CloudTrail
AnswerC

AWS Compute Optimizer is the correct choice because it is purpose-built for this exact need: it continuously analyzes EC2 instance utilization data—CPU, memory, networking, and EBS I/O—collected from CloudWatch (with optional managed or custom metrics). Using machine learning models, it generates actionable rightsizing recommendations that identify both cost savings and performance risks, often suggesting specific instance families or sizes (e.g., moving from m5.large to m6i.large). It also provides estimated monthly savings and reasons for each recommendation, which a sysops administrator can directly use to identify and optimize EC2 instances.

Why this answer

AWS Compute Optimizer is the correct service because it analyzes historical utilization metrics (CPU, memory, I/O, and network throughput) from Amazon CloudWatch and generates rightsizing recommendations for EC2 instances. It uses machine learning to identify underutilized instances and suggests instance types that better match workload requirements, directly addressing the need to reduce costs through rightsizing.

Exam trap

The trap here is that candidates often confuse AWS Trusted Advisor's cost checks (like idle instances) with Compute Optimizer's rightsizing recommendations, but Trusted Advisor does not analyze historical CPU and memory usage for instance type changes.

How to eliminate wrong answers

Option A is wrong because AWS Cost Explorer provides cost and usage data visualization and forecasting, but it does not analyze historical CPU or memory utilization to generate instance-specific rightsizing recommendations. Option B is wrong because AWS Trusted Advisor offers cost optimization checks (e.g., idle instances, underutilized EBS volumes) but does not provide detailed rightsizing recommendations based on historical CPU and memory usage patterns. Option D is wrong because AWS CloudTrail records API activity for auditing and governance, not resource utilization metrics or rightsizing advice.

128
MCQeasy

A company wants to monitor the performance of its EC2 instances and receive alerts when CPU utilization exceeds 80% for 10 minutes. Which AWS service should be used?

A.Amazon CloudWatch
B.AWS CloudTrail
C.AWS Config
D.VPC Flow Logs
AnswerA

Amazon CloudWatch is the correct choice because it provides a comprehensive monitoring service for EC2 instances. CloudWatch collects and tracks metrics such as CPU utilization, network I/O, and disk activity, which can be visualized in dashboards and evaluated against thresholds. When these metrics breach predefined limits, CloudWatch can trigger Amazon Simple Notification Service (SNS) alarms to notify operators or initiate automated actions, making it the appropriate tool for performance monitoring and alerting.

Why this answer

Amazon CloudWatch can monitor CPU utilization metrics for EC2 instances and trigger alarms when a threshold (e.g., 80% for 10 minutes) is exceeded. Option B (AWS CloudTrail) is wrong because it records API activity, not performance metrics. Option C (AWS Config) is wrong because it evaluates resource configurations, not performance.

Option D (VPC Flow Logs) is wrong because it captures network traffic information, not CPU usage.

129
MCQmedium

A company uses multiple AWS accounts and needs to generate a detailed cost and usage report that can be queried using Amazon Athena for custom analysis. Which AWS service should the administrator enable?

A.AWS Cost Explorer
B.AWS Budgets
C.AWS Cost and Usage Reports
D.AWS Application Cost Profiler
AnswerC

The AWS Cost and Usage Reports (CUR) can be configured to deliver granular, hourly or daily line items to an S3 bucket in either CSV or Parquet format. CUR integrates natively with Athena, allowing you to create a table and run SQL queries over the data, making it the correct choice for multi-account cost analysis. The Parquet format is columnar and optimized for query performance, and CUR includes account-level dimensions for filtering across all linked accounts.

Why this answer

AWS Cost and Usage Reports (CUR) is the correct service because it generates detailed cost and usage data in CSV or Parquet format, which can be directly queried using Amazon Athena via integration with AWS Glue and Amazon QuickSight. This enables custom analysis and ad-hoc queries on the full billing dataset, unlike other services that provide pre-aggregated views or alerts.

Exam trap

The trap here is that candidates confuse AWS Cost Explorer's interactive dashboard with the raw, queryable data format of CUR, assuming Cost Explorer can export data in a format suitable for Athena, when in fact it only provides CSV exports of aggregated views, not the full normalized dataset.

How to eliminate wrong answers

Option A is wrong because AWS Cost Explorer provides a pre-built visualization and filtering interface for cost data, but it does not generate a downloadable report that can be queried with Athena for custom analysis. Option B is wrong because AWS Budgets is used to set cost or usage thresholds and send alerts, not to produce detailed cost and usage reports for Athena querying. Option D is wrong because AWS Application Cost Profiler is designed to track and allocate costs at the application or software feature level, not to generate comprehensive account-level cost and usage reports for Athena.

130
Multi-Selecteasy

Which TWO AWS services can be used to monitor the performance of an EC2 instance?

Select 2 answers
A.AWS Systems Manager
B.AWS CloudTrail
C.AWS Trusted Advisor
D.AWS Config
E.Amazon CloudWatch
AnswersA, E

AWS Systems Manager is a hybrid operations service that uses the SSM Agent on managed instances to collect operational data, including inventory details and performance-related information, and can execute diagnostic commands such as CPU or memory checks via Run Command. It provides a central console for aggregating and viewing operational data across instance fleets, making it valid for monitoring performance, though its primary purpose is broader managed-instance operations rather than real-time metric storage.

Why this answer

Amazon CloudWatch is the primary service for monitoring EC2 performance metrics like CPU utilization, network, and disk I/O. AWS Systems Manager can also collect performance data through Inventory and Run Command, providing operational insights. AWS CloudTrail logs API activity for auditing, not performance.

AWS Trusted Advisor offers cost and security recommendations. AWS Config tracks configuration changes, not performance metrics.

131
Multi-Selecthard

A company runs a critical web application on EC2 instances behind an ALB. The application experiences unpredictable traffic spikes. The SysOps administrator wants to ensure that the application can handle spikes without performance degradation while minimizing costs. Which TWO actions should the administrator take?

Select 2 answers
A.Use a mix of On-Demand and Spot Instances in the Auto Scaling group.
B.Use Amazon DynamoDB auto scaling to handle the spikes.
C.Use scheduled scaling to add instances during expected peak hours.
D.Use a target tracking scaling policy based on CPU utilization.
E.Use larger EC2 instance types to handle spikes.
AnswersA, D

A mixed instances policy in an Auto Scaling group lets you define an On-Demand base capacity plus Spot percentage for the remaining instances. This maintains baseline availability through On-Demand instances while using lower-cost Spot capacity to absorb unpredictable traffic spikes. Spot interruptions can occur, but the ASG automatically replenishes capacity, and you can configure instance rebalancing and termination handling.

Why this answer

Spot Instances can reduce costs if the application can handle interruptions. Option D is correct because target tracking scaling adjusts capacity based on load. Option B is wrong because DynamoDB auto scaling is not relevant for EC2.

Option C is wrong because scheduled scaling cannot handle unpredictable spikes. Option E is wrong because increasing instance size may not be as cost-effective as scaling out.

132
MCQeasy

A company runs a stateless web application on Amazon EC2 instances behind an Application Load Balancer. The application usage is consistent throughout the day and is expected to grow steadily over the next year. The SysOps administrator wants to minimize compute costs while ensuring capacity is available. Which purchasing option should the administrator use for the EC2 instances?

A.On-Demand Instances
B.Reserved Instances (Standard, 1-year or 3-year)
C.Spot Instances
D.Dedicated Hosts
AnswerB

Standard Reserved Instances require a 1- or 3-year commitment to a specific instance family and Region, and optionally an Availability Zone. In exchange, AWS provides a significant hourly discount (up to roughly 72% compared to On-Demand) plus a capacity reservation when you specify an Availability Zone. This makes them the most cost-effective and dependable choice for a stateless web app that has a predictable, steady baseline load and must remain consistently available.

Why this answer

The application has a steady, predictable usage pattern and is expected to grow steadily, making Reserved Instances (Standard) the most cost-effective option. By committing to a 1-year or 3-year term, the administrator can receive a significant discount (up to 72% compared to On-Demand) while ensuring capacity is always available. This aligns with the requirement to minimize compute costs without sacrificing availability for a stateless, load-balanced workload.

Exam trap

The trap here is that candidates often choose On-Demand Instances for simplicity, overlooking the significant cost savings of Reserved Instances for predictable, steady workloads, or they incorrectly choose Spot Instances without considering the interruption risk for a production application.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances offer no discount and would result in higher costs over time for a predictable, steady workload. Option C is wrong because Spot Instances can be interrupted with a 2-minute warning, making them unsuitable for a production web application that requires consistent capacity and availability. Option D is wrong because Dedicated Hosts are designed for licensing or compliance requirements (e.g., per-socket licensing) and are significantly more expensive than shared tenancy, providing no cost benefit for a standard stateless web application.

133
MCQmedium

An application uses an RDS MySQL DB instance. The administrator notices that read performance is poor during peak hours. What is a cost-effective way to improve read performance?

A.Use Amazon ElastiCache for caching.
B.Enable Multi-AZ deployment.
C.Scale up the DB instance to a larger size.
D.Create a read replica in the same region.
AnswerD

A read replica in the same region is the most direct and cost-effective way to offload read traffic from the primary RDS MySQL instance. It uses asynchronous replication to keep a copy of the database and can handle a large number of SELECT queries, reducing the load on the source instance. Because it is in the same region, replication latency is low, and it also offers the benefit of being promotable to a standalone instance if needed for disaster recovery or migration scenarios.

Why this answer

Creating a read replica offloads read traffic from the primary RDS instance, improving read performance during peak hours at a relatively low cost. Option A (ElastiCache) adds complexity and additional cost. Option B (Multi-AZ) is for high availability and disaster recovery, not for read performance.

Option C (scaling up) addresses performance but is more expensive than adding a read replica.

134
MCQmedium

A company is running a web application on a fleet of EC2 instances behind an Application Load Balancer. The application experiences variable traffic patterns with predictable spikes every day at 2 PM. The company wants to optimize costs while maintaining performance. Which solution is MOST cost-effective?

A.Use manual scaling by adjusting the desired capacity each day at 2 PM.
B.Purchase Reserved Instances for the entire fleet to reduce costs.
C.Use scheduled scaling to add instances before the spike and remove them after.
D.Use dynamic scaling policies based on CPU utilization.
AnswerC

Scheduled scaling is the correct approach for a predictable, recurring daily spike because it allows you to add capacity in advance and remove it afterward based on a schedule, without any manual intervention. You can configure the Auto Scaling group to increase the desired capacity at, for example, 1:30 PM to give new instances time to enter the InService state and start receiving traffic before the 2 PM spike, then decrease it at 4 PM to terminate unneeded instances. This directly balances performance and cost, and it integrates with CloudWatch metrics and ELB health checks to ensure the added instances are truly ready. It is the idiomatic AWS solution for traffic patterns that repeat on a known timetable.

Why this answer

Scheduled scaling is the correct answer because the traffic spikes are predictable and occur at a known time (2 PM daily). Scheduled scaling allows you to define a schedule (using cron expressions) to automatically increase the desired capacity of the Auto Scaling group before the spike and decrease it afterward, ensuring performance while minimizing costs during off-peak hours. This is more cost-effective than manual scaling because it eliminates the need for human intervention and ensures instances are only running when needed.

Exam trap

SOA-C02 often tests the difference between reactive and proactive scaling; candidates may choose dynamic scaling because it is more commonly discussed, but for predictable spikes, scheduled scaling is the most cost-effective.

How to eliminate wrong answers

Option A is wrong because manual scaling requires human intervention and is error-prone; it does not automatically adjust capacity and may lead to over-provisioning or under-provisioning. Option B is wrong because Reserved Instances provide a billing discount for steady-state usage but do not automatically scale capacity; purchasing RIs for the entire fleet would be cost-inefficient if the fleet size varies. Option D is wrong because dynamic scaling based on CPU utilization reacts to traffic changes but may not provision instances quickly enough for predictable spikes, and it may not be as cost-effective as scheduled scaling for known patterns.

135
MCQeasy

A company runs a batch processing job every Saturday for 3 hours. The job can be interrupted and resumed at any point. The SysOps administrator wants to minimize compute costs for this workload. Which EC2 purchasing option should the administrator use?

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

Spot Instances offer access to spare EC2 capacity at discounts of up to 90% off On-Demand prices, which makes them the most cost-effective choice for a batch job that runs for only 3 hours every Saturday. The key trade-off is that Spot capacity can be reclaimed with a 2-minute warning, so the workload must be fault-tolerant—for example, using checkpoints or saving results to S3 and restarting on new Spot capacity. Because the job is batch-oriented and resumable, interruption is not a blocker; you can also use a Spot Fleet with multiple instance types and Availability Zones to improve the odds of maintaining capacity.

Why this answer

Spot Instances are ideal for fault-tolerant, interruptible workloads like batch processing that can be resumed. They offer significant cost savings (up to 90% compared to On-Demand) because they use spare EC2 capacity, which can be reclaimed by AWS with a 2-minute interruption notice. Since the job runs only 3 hours weekly and can be interrupted and resumed, Spot Instances minimize compute costs effectively.

Exam trap

The trap here is that candidates may choose Reserved Instances because the workload runs weekly, but they overlook the fact that Reserved Instances require a long-term commitment and are not cost-effective for a short, interruptible batch job, whereas Spot Instances are specifically designed for such fault-tolerant, transient workloads.

How to eliminate wrong answers

Option A is wrong because On-Demand Instances provide no discount and are the most expensive option for a predictable, recurring 3-hour weekly workload. Option B is wrong because Reserved Instances require a 1- or 3-year commitment and are cost-effective only for steady-state, always-on usage, not for a short weekly batch job. Option D is wrong because Dedicated Hosts are a physical server dedicated to your use, incurring high costs per host regardless of usage, and are intended for licensing or compliance needs, not for minimizing compute costs on an interruptible batch job.

136
MCQhard

A company stores application log files in an Amazon S3 bucket. The logs are accessed frequently for the first 30 days, then rarely accessed but must be retrievable within 12 hours. After 1 year, the logs must be archived for compliance with a retention period of 5 years, during which retrievals are expected to be extremely rare (one or two per year) and retrieval time of 12 hours is acceptable. The SysOps administrator wants to minimize storage costs. Which S3 lifecycle policy configuration should be used?

A.After 30 days, transition to S3 Standard-IA; after 365 days, transition to S3 Glacier Deep Archive; delete after 5 years.
B.After 30 days, transition to S3 Glacier Flexible Retrieval; after 365 days, transition to S3 Glacier Deep Archive; delete after 5 years.
C.After 30 days, transition to S3 Glacier Flexible Retrieval; delete after 5 years.
D.After 30 days, transition to S3 Glacier Deep Archive; delete after 5 years.
AnswerB

This lifecycle provides cost-optimized storage: S3 Standard for the first 30 days (frequent access), S3 Glacier Flexible Retrieval for the next 335 days (rare access, 12-hour retrieval acceptable), and S3 Glacier Deep Archive for the final 4+ years (extremely rare access, lowest cost). This minimizes overall costs while meeting retrieval requirements.

Why this answer

It uses S3 Glacier Flexible Retrieval for the first year after the initial 30 days, which meets the 12-hour retrieval requirement at lower cost than S3 Standard-IA, then transitions to S3 Glacier Deep Archive for the remaining 4 years to minimize storage costs for extremely rare retrievals. The lifecycle policy transitions objects after 30 days to S3 Glacier Flexible Retrieval (retrieval time minutes to 12 hours), then after 365 days to S3 Glacier Deep Archive (retrieval time 12 hours), and deletes after 5 years, aligning with the access patterns and compliance retention.

Exam trap

The trap here is that candidates often choose S3 Standard-IA (Option A) because it seems logical for infrequent access, failing to recognize that S3 Glacier Flexible Retrieval provides lower storage costs for data that is rarely accessed but still needs retrieval within 12 hours, and that a multi-tier lifecycle (Option B) is more cost-effective than a single transition.

How to eliminate wrong answers

Option A is wrong because transitioning to S3 Standard-IA after 30 days is not cost-optimal for data that is rarely accessed after the first 30 days; S3 Glacier Flexible Retrieval offers lower storage costs for infrequent access with a 12-hour retrieval window. Option C is wrong because it does not transition to S3 Glacier Deep Archive after 1 year, missing the opportunity to further reduce storage costs for the 4-year archival period where retrievals are extremely rare. Option D is wrong because transitioning directly to S3 Glacier Deep Archive after 30 days is premature and more expensive than using S3 Glacier Flexible Retrieval for the first year, as Deep Archive has higher retrieval costs and is designed for long-term archival, not for data that may still be accessed occasionally within 12 hours.

137
MCQmedium

A company uses an Amazon DynamoDB table with on-demand capacity mode. The table handles a workload with a steady baseline of 500 writes per second but spikes to 2,000 writes per second for a few hours each day. The SysOps administrator wants to reduce costs without affecting application performance during spikes. Which action should the administrator take?

A.Switch to provisioned capacity with auto scaling to handle the spikes.
B.Enable DynamoDB Accelerator (DAX) to cache reads.
C.Create a global table to distribute write traffic.
D.Use Amazon ElastiCache to buffer write requests.
AnswerA

For a workload with a predictable baseline and only occasional spikes, on-demand capacity's per-request pricing leads to unnecessary cost during the sustained baseline. Provisioned capacity bills a fixed hourly rate per read/write capacity unit, and DynamoDB auto scaling adjusts the provisioned units based on target utilization (e.g., 70%), so you pay for the baseline plus a small margin instead of paying each time a request occurs. This approach significantly reduces costs when the baseline traffic is steady, as the auto-scaling can scale up during known spike windows and scale down afterward. Because the question highlights cost reduction for recurring spikes, this is the correct action.

Why this answer

On-demand capacity mode is ideal for unpredictable workloads but costs more per write than provisioned capacity. Since this workload has a predictable baseline and spikes, switching to provisioned capacity with auto scaling allows you to pay a lower rate for the steady 500 writes per second while auto scaling automatically adds capacity to handle the 2,000 writes per second spikes, reducing overall cost without impacting performance.

Exam trap

The trap here is that candidates assume on-demand is always the cheapest for spiky workloads, but the question specifies a predictable spike pattern, making provisioned with auto scaling more cost-effective; also, candidates may confuse DAX (read cache) with a write optimization tool.

How to eliminate wrong answers

Option B is wrong because DynamoDB Accelerator (DAX) is an in-memory cache for reads, not writes, and does not reduce write costs or handle write spikes. Option C is wrong because creating a global table replicates writes across regions, increasing write costs and complexity without reducing the cost of the write workload in a single region. Option D is wrong because using Amazon ElastiCache to buffer write requests would introduce latency and complexity, and does not reduce DynamoDB write costs; it would only temporarily hold data before writing to DynamoDB, potentially causing data loss if the cache fails.

138
MCQmedium

A SysOps administrator notices that an Amazon RDS for MySQL instance has high read activity. The application performs many read queries but few writes. The database is currently a single db.r5.large instance. What change would improve read performance and reduce cost?

A.Enable Multi-AZ for high availability and use the standby for reads.
B.Increase the instance size to db.r5.xlarge.
C.Migrate the database to Amazon DynamoDB.
D.Create a read replica and use a smaller instance type for the replica.
AnswerD

Creating a read replica allows you to offload read traffic to a separate, dedicated instance, freeing the primary to handle writes. You can specify a smaller instance type for the replica, such as a db.t3.medium, because read replicas do not need to match the primary's size; this reduces cost while still providing the read scaling needed. This directly addresses the read-heavy workload without migrating or overprovisioning the primary.

Why this answer

Creating a read replica offloads read traffic from the primary instance, improving performance for read-heavy workloads. Using a smaller instance type for the replica reduces cost compared to scaling up the primary. Option A is wrong because Multi-AZ provides high availability via a standby instance that cannot serve reads; it does not improve read performance.

Option B (increasing instance size) is a vertical scaling approach that increases cost without the same cost-efficiency as a read replica. Option C is incorrect because migrating to DynamoDB would require application changes and may not be compatible with the existing MySQL schema and queries.

139
MCQmedium

A SysOps administrator needs to reduce costs for an Amazon RDS for MySQL DB instance that is used for development. The instance is only needed during business hours (9 AM to 5 PM) on weekdays. Which solution is the MOST cost-effective while maintaining the ability to start and stop the instance on a schedule?

A.Create a read replica and promote it when needed.
B.Purchase a reserved instance for the DB instance.
C.Use a Lambda function to stop the instance at 5 PM and start it at 9 AM on weekdays.
D.Use AWS Instance Scheduler to stop and start the RDS instance on a schedule.
AnswerD

AWS Instance Scheduler is a purpose-built solution that uses a CloudFormation stack and tags to automatically start and stop RDS instances on a defined schedule. It leverages Lambda functions and an Amazon DynamoDB state table to track and apply the schedule without requiring you to build a custom scheduler. This reduces compute charges during off hours while storage and backup costs continue, precisely matching the requirement for a business-hours-only database.

Why this answer

AWS Instance Scheduler is a fully managed solution designed specifically to start and stop RDS instances on a defined schedule, such as weekdays from 9 AM to 5 PM. This eliminates compute costs during non-business hours while preserving the instance's storage and configuration, making it the most cost-effective and reliable approach for a development environment.

Exam trap

The trap here is that candidates often choose a Lambda function (Option C) thinking it is the most flexible, but they overlook that AWS Instance Scheduler is a pre-built, managed solution that reduces operational overhead and is the recommended pattern for scheduled start/stop of RDS instances in the AWS Well-Architected Framework.

How to eliminate wrong answers

Option A is wrong because creating a read replica and promoting it does not reduce costs; it incurs additional charges for the replica instance and storage, and the original instance remains running. Option B is wrong because purchasing a reserved instance commits to a 1- or 3-year term, which is not cost-effective for a development instance that is only used part-time and does not align with the need to stop and start on a schedule. Option C is wrong because while a Lambda function can stop and start an RDS instance, it requires custom code, IAM roles, and CloudWatch Events or EventBridge rules to trigger the schedule, which adds complexity and maintenance overhead compared to the purpose-built AWS Instance Scheduler.

140
MCQmedium

A company runs a web application on Amazon EC2 instances that are part of an Auto Scaling group. The application's traffic is predictable with regular peaks during business hours and low traffic at night. The SysOps administrator wants to optimize costs while ensuring that performance meets demand. The administrator also needs to minimize manual intervention. Which scaling policy should be used?

A.Scheduled scaling
B.Target tracking scaling
C.Simple scaling
D.Manual scaling
AnswerA

Scheduled scaling allows you to define a recurring or one-time schedule to adjust the desired capacity of an Auto Scaling group at a future time. Because the company's workload follows a predictable pattern (e.g., a morning peak), scheduled scaling can proactively add EC2 instances before the traffic arrives, eliminating the lag inherent in reactive methods. After the initial configuration, it runs automatically without manual intervention, making it the most efficient choice for a known, consistent demand curve.

Why this answer

Scheduled scaling is the correct choice because the traffic pattern is predictable with regular peaks during business hours and low traffic at night. This policy allows the administrator to define specific times to increase or decrease the desired capacity of the Auto Scaling group, matching capacity to demand without manual intervention and optimizing costs by reducing instances during off-peak hours.

Exam trap

The trap here is that candidates often confuse target tracking scaling with scheduled scaling, assuming dynamic metric-based policies are always optimal, but for predictable patterns, scheduled scaling provides more precise cost control and avoids unnecessary scaling events.

How to eliminate wrong answers

Option B is wrong because target tracking scaling adjusts capacity dynamically based on a real-time metric (e.g., CPU utilization) and is designed for unpredictable or variable traffic patterns, not for a predictable schedule. Option C is wrong because simple scaling requires manual definition of alarms and cooldown periods, and it does not handle predictable time-based changes efficiently, often leading to over-provisioning or under-provisioning. Option D is wrong because manual scaling requires direct human action to change the desired capacity, which contradicts the requirement to minimize manual intervention.

141
MCQmedium

A company runs a production web application on a single Amazon EC2 instance. The application experiences a predictable and steady workload 24/7. The SysOps administrator wants to minimize compute costs for this instance while ensuring it remains available during the expected workload. Which EC2 purchasing option should the administrator use?

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

Reserved Instances offer a significant hourly discount in exchange for a one- or three-year commitment, and a Standard RI is best suited for steady-state, predictable production workloads like this always-on web app. By paying all or part of the cost upfront, you can reduce the effective hourly price by up to 72% compared to On-Demand. Because the workload is constant, the utilization will easily justify the commitment, making this the optimal cost-optimization strategy.

Why this answer

Reserved Instances (RIs) are the most cost-effective option for a predictable, steady-state workload running 24/7. By committing to a 1- or 3-year term, you receive a significant discount (up to 72%) compared to On-Demand pricing, while still ensuring the instance remains available for the expected workload. This matches the requirement to minimize compute costs without sacrificing availability.

Exam trap

The trap here is that candidates often choose Spot Instances for cost savings, overlooking the critical requirement of 'remaining available during the expected workload' — Spot Instances can be interrupted at any time, making them unsuitable for production workloads that need consistent availability.

How to eliminate wrong answers

Option A (On-Demand Instances) is wrong because, while they provide full availability, they are the most expensive option for a steady 24/7 workload and do not minimize costs. Option C (Spot Instances) is wrong because they can be terminated by AWS with a 2-minute notification when capacity is reclaimed, making them unsuitable for a production web application that must remain available during the expected workload. Option D (Dedicated Hosts) is wrong because they are designed for regulatory or licensing requirements (e.g., per-socket or per-core licensing) and are significantly more expensive than Reserved Instances, offering no cost benefit for a standard single-instance workload.

← PreviousPage 2 of 2 · 141 questions total

Ready to test yourself?

Try a timed practice session using only Cost and Performance Optimization questions.