AWS Certified SysOps Administrator - Associate (SOA-C02) · AWS

Cost and Performance Optimization

12 practice questions covering 12% of the official AWS Certified SysOps Administrator - Associate (SOA-C02) blueprint. Every item includes a worked explanation of the correct answer.

View all 6 domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

Syllabus Coverage & Domain Overview

On the current exam, the AWS Certified CloudOps Engineer - Associate (SOA-C03), cost and performance optimization is no longer a domain of its own. The older exam had a separate domain for it, and the current guide moves that material into Task 1.3 of Domain 1, Monitoring, Logging, Analysis, Remediation, and Performance Optimization. That domain carries 22% of scored content and is shared with two monitoring and remediation tasks, so the guide gives no separate weighting for this topic. Task 1.3 is about implementing performance strategies for compute, storage, and database resources. The guide also lists analyzing costs, total cost of ownership, and billing management as out of scope. Cost shows up as an outcome of sizing and storage choices, not as a billing or budgeting topic.

The task breaks into six skills. For compute, you fix performance problems using metrics, resource tags, and AWS tools. For EBS, you read volume metrics, troubleshoot, and choose volume types that improve performance or lower cost. For S3, you apply transfer and storage strategies such as DataSync, Transfer Acceleration, multipart uploads, and lifecycle policies. For shared storage, you choose between options such as EFS, FSx, and S3 Files, then tune the choice, for example with EFS lifecycle policies. For RDS, you watch metrics with Performance Insights and CloudWatch alarms and change configuration in response, including acting on proactive recommendations and using RDS Proxy. For EC2, you tune instances together with their storage and networking, and placement groups are the named example.

Most of the difficulty lies in separating options that sound alike. Multipart upload helps with large objects, while Transfer Acceleration helps with distance to the bucket. DataSync moves data, whereas a lifecycle policy changes where data already stored is kept. EFS suits shared Linux access, while FSx suits workloads that need a specific file system. Performance Insights shows which queries and waits load a database, while RDS Proxy addresses connection handling. Placement groups influence how instances sit relative to each other, which matters for latency and throughput between them. Also keep in mind that the right EBS volume type depends on whether the limit is IOPS, throughput, or capacity.

The exam uses only multiple-choice and multiple-response questions, so there are no hands-on labs, and you are judged on choosing correctly from written options. Questions typically describe a symptom, such as slow queries, a slow transfer, or storage cost that has grown, along with some metrics and a constraint. The common traps are fixing the wrong layer, for instance resizing an instance when the evidence points at storage, and picking an option that works but costs more or takes more effort than the constraint allows. In multiple-response questions, check that each selected option is correct on its own and that together they answer the whole question.

For preparation, practise in a test account because the skills are about reading metrics and then changing a setting. Look at EBS and RDS metrics, change a volume type, enable Performance Insights, add a lifecycle policy to an S3 bucket and an EFS file system, and try a multipart upload. Then, for each service in Task 1.3, note the one metric that shows pressure and the one change you would make in response.

In the official AWS Certified SysOps Administrator - Associate (SOA-C02) examination blueprint, Cost and Performance Optimization carries a weightage of 12%. Out of the total examination duration of 3 hr, candidates should budget approximately 22 min for questions from this domain to maintain pace across the paper.

How to Master Cost and Performance Optimization for AWS Certified SysOps Administrator - Associate (SOA-C02)

Our 12 published questions in Cost and Performance Optimization are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the AWS exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Cost and Performance Optimization items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The AWS Certified SysOps Administrator - Associate (SOA-C02) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Cost and Performance Optimization item.
  • Benchmark Target: Aim for at least 72% accuracy in Cost and Performance Optimization drills before moving to full-paper simulations.

Cost and Performance Optimization worked examples

Cost and Performance Optimization questions from the AWS Certified SysOps Administrator - Associate (SOA-C02) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Cost and Performance Optimization · easy

    A FinOps team attached the custom resource tag CostCenter = Marketing to 150 EC2 instances, RDS databases, and S3 buckets last week. However, when they open AWS Cost Explorer and AWS Budgets today to group monthly spend by the CostCenter tag, the tag does not appear in the Cost Explorer tag filter list. What step did the SysOps administrator miss?

    • AReboot all 150 EC2 instances and RDS databases so tags flush to the hypervisor
    • BRename the tag key to start with the reserved aws: prefix (aws:CostCenter)
    • CActivate CostCenter under Cost Allocation Tags in the Billing and Cost Management console
    • DConvert the AWS Organizations account from Consolidated Billing to All Features mode in IAM
    Show answer and explanation

    Correct answer: C. Activate CostCenter under Cost Allocation Tags in the Billing and Cost Management console

    Why

    User-defined resource tags (and AWS-generated tags like aws:createdBy) do not appear in AWS Cost Explorer, AWS Budgets, or Cost and Usage Reports (CUR) until they are explicitly activated as Cost Allocation Tags in the AWS Billing and Cost Management console (after activation, it takes up to 24 hours for tags to populate forward in Cost Explorer).

    • A. Reboot all 150 EC2 instances and RDS databases so tags flush to the hypervisor — Rebooting compute or database instances has no effect on AWS Billing tag indexing.
    • B. Rename the tag key to start with the reserved aws: prefix (aws:CostCenter) — Users are prohibited from creating tag keys starting with the reserved aws: system prefix.
    • D. Convert the AWS Organizations account from Consolidated Billing to All Features mode in IAM — Activating Cost Allocation Tags in the Billing console is required even when All Features is already enabled.
  2. Example 2 · Cost and Performance Optimization · hard

    A SysOps administrator reviews AWS Compute Optimizer recommendations for an EC2 instance family migration from m5.2xlarge (x86_64) to m7g.xlarge (AWS Graviton3 arm64). To ensure Compute Optimizer analyzes in-guest OS memory utilization (mem_used_percent) alongside CPU and network metrics — and to verify compatibility before switching the Auto Scaling Launch Template AMI — which two requirements must be met? (Select two.)

    • AInstall the CloudWatch Agent publishing mem_used_percent in the CWAgent namespace
    • BAttach an AWS WAF Web ACL to the EC2 instance's primary elastic network interface
    • CReuse the existing x86_64 AMI on m7g.xlarge without changing architecture
    • DSelect an arm64-compatible AMI and verify application dependencies for AWS Graviton
    Show answer and explanation

    Correct answers: A. Install the CloudWatch Agent publishing mem_used_percent in the CWAgent namespace; D. Select an arm64-compatible AMI and verify application dependencies for AWS Graviton

    Why

    By default, Amazon EC2 only sends hypervisor-level metrics (CPUUtilization, NetworkIn/Out, DiskRead/Write) to Compute Optimizer. Installing the Amazon CloudWatch Agent on the instances to publish the mem_used_percent metric into the CWAgent namespace allows Compute Optimizer to right-size memory capacity accurately (A). Additionally, migrating from x86_64 (m5) to AWS Graviton (arm64, m7g) requires an arm64-compatible AMI and software binaries/containers (D).

    • B. Attach an AWS WAF Web ACL to the EC2 instance's primary elastic network interface — AWS WAF inspects HTTP Layer 7 web traffic on ALBs/CloudFront and does not collect EC2 memory metrics.
    • C. Reuse the existing x86_64 AMI on m7g.xlarge without changing architecture — Graviton (m7g) processors use the arm64 instruction set and cannot boot an x86_64 AMI.
  3. Example 3 · Cost and Performance Optimization · medium

    An engineering team shares a 100 TB Amazon EFS (Elastic File System) across 40 Linux EC2 instances. Usage analytics reveal that 80% (80 TB) of the files are never accessed again after 30 days. Standard EFS storage costs $0.30 / GB-month, whereas EFS Infrequent Access (EFS IA) storage costs $0.016 / GB-month. If the administrator enables EFS Lifecycle Management (TransitionToIA = AFTER_30_DAYS), how much monthly storage cost is saved on that 80 TB (80,000 GB) of cold files?

    • A$22,720 / month ($24,000 on EFS Standard minus $1,280 on EFS IA)
    • B$1,280 / month ($0.016 / GB-month multiplied by 80,000 GB total)
    • C$24,000 / month because EFS Infrequent Access stores all files at $0.00 / GB
    • D$5,680 / month by compressing 20 TB of hot files in RAM
    Show answer and explanation

    Correct answer: A. $22,720 / month ($24,000 on EFS Standard minus $1,280 on EFS IA)

    Why

    Calculate the monthly storage cost difference on the 80,000 GB of cold data: - EFS Standard cost: $80,000\text{ GB} \times \$0.30 = \$24,000\text{ / month}$ - EFS IA cost: $80,000\text{ GB} \times \$0.016 = \$1,280\text{ / month}$ - Monthly Storage Savings: $\$24,000 - \$1,280 = \mathbf{\$22,720\text{ / month}}$.

    • B. $1,280 / month ($0.016 / GB-month multiplied by 80,000 GB total) — $1,280 / month is the new EFS IA storage bill for those 80,000 GB, not the amount saved from $24,000.
    • C. $24,000 / month because EFS Infrequent Access stores all files at $0.00 / GB — EFS Infrequent Access charges $0.016 / GB-month ($1,280 / month), not $0.00.
    • D. $5,680 / month by compressing 20 TB of hot files in RAM — 80% of 100 TB is 80 TB (80,000 GB), saving $0.284 / GB * 80,000 GB = $22,720 / month.
  4. Example 4 · Cost and Performance Optimization · easy

    A SysOps administrator notices an EC2 instance's 500 GiB gp2 EBS volume (1,500 baseline IOPS, 250 MB/s max throughput) is bottlenecking a database migration that requires 6,000 IOPS and 500 MB/s throughput without increasing the 500 GiB storage size. How can the administrator upgrade the volume to gp3 (6,000 IOPS, 500 MB/s) with zero downtime?

    • AStop the EC2 instance, detach the gp2 volume, copy data to S3, and recreate the instance
    • BUse EBS Elastic Volumes (ModifyVolume) to convert gp2 to gp3 with 6,000 IOPS online
    • CConvert the EBS volume to sc1 (Cold HDD) for 16,000 IOPS
    • DIncrease the gp2 volume size to 20,000 GiB on a single volume to reach 6,000 IOPS
    Show answer and explanation

    Correct answer: B. Use EBS Elastic Volumes (ModifyVolume) to convert gp2 to gp3 with 6,000 IOPS online

    Why

    Amazon EBS Elastic Volumes allows you to dynamically modify an attached EBS volume's type (e.g., from gp2 to gp3), size, IOPS (up to 16,000 IOPS on gp3 independently of storage size), and throughput (up to 1,000 MB/s on gp3) online while the volume remains attached and in use, with zero downtime.

    • A. Stop the EC2 instance, detach the gp2 volume, copy data to S3, and recreate the instance — Stopping and recreating the instance causes downtime, whereas EBS Elastic Volumes modifies gp2 to gp3 live.
    • C. Convert the EBS volume to sc1 (Cold HDD) for 16,000 IOPS — sc1 Cold HDD volumes are designed for infrequent sequential throughput (250 MB/s max) and cannot be boot volumes or provide 6,000 IOPS.
    • D. Increase the gp2 volume size to 20,000 GiB on a single volume to reach 6,000 IOPS — gp2 maxes out at 16,384 GiB (16 TiB) and 250 MB/s throughput; gp3 decouples IOPS and throughput from GiB capacity at lower cost.
  5. Example 5 · Cost and Performance Optimization · medium

    A SysOps administrator needs to build a 6,400 GiB (6.4 TB) high-throughput scratch filesystem on a Linux EC2 instance by combining 4 identical 1,600 GiB EBS volumes using Linux software RAID (mdadm). The workload is temporary daily scientific simulation cache that can be regenerated from S3 if a volume fails, and the team wants the maximum possible aggregate IOPS (4x), maximum throughput (4x), and 100% usable storage capacity (6,400 GiB). Which RAID level should they configure, and what is the resulting usable capacity?

    • AConfigure RAID 0 (striping) yielding 6,400 GiB usable capacity and 4x aggregate IOPS
    • BConfigure RAID 1 (mirroring) yielding 6,400 GiB usable capacity and 4x write IOPS
    • CConfigure RAID 5 (single parity) as recommended by AWS for high-write EBS databases
    • DConfigure JBOD sequential concatenation yielding 4x single-file IOPS on disk 1 (mdadm)
    Show answer and explanation

    Correct answer: A. Configure RAID 0 (striping) yielding 6,400 GiB usable capacity and 4x aggregate IOPS

    Why

    RAID 0 (striping) stripes reads and writes across all 4 EBS volumes without mirroring or parity: - Usable capacity: $4 \times 1,600\text{ GiB} = \mathbf{6,400\text{ GiB}}$ (100% utilization) - Aggregate IOPS & Throughput: $4 \times$ a single volume's IOPS and throughput. By contrast, RAID 1 (mirroring) halves usable capacity (50%) for fault tolerance, and AWS recommends against RAID 5 / RAID 6 on EBS because parity writes consume 20–30% of provisioned IOPS.

    • B. Configure RAID 1 (mirroring) yielding 6,400 GiB usable capacity and 4x write IOPS — RAID 1 mirrors data across pairs, yielding only 50% capacity (3,200 GiB) and 1x write throughput per mirrored pair.
    • C. Configure RAID 5 (single parity) as recommended by AWS for high-write EBS databases — AWS explicitly recommends against RAID 5 and RAID 6 on Amazon EBS because parity calculations consume IOPS and reduce performance.
    • D. Configure JBOD sequential concatenation yielding 4x single-file IOPS on disk 1 (mdadm) — Linear concatenation does not stripe a single hot workload across all 4 volumes simultaneously like RAID 0.
  6. Example 6 · Cost and Performance Optimization · medium

    A company stores 200 TB of shared Linux application data on Amazon EFS (Elastic File System) using the General Purpose performance mode. An audit reveals that 80% of the files are read once on the day they are created and are never accessed again unless an archive inquiry occurs months later. Which EFS configuration automatically transitions files that have not been accessed for 30 days to a lower-cost storage class AND immediately transitions them back to Standard storage if accessed again?

    • AEnable Amazon EBS Snapshot Archive via Amazon Data Lifecycle Manager (DLM)
    • BConfigure EFS Lifecycle Management to transition to EFS IA and back on access
    • CSwitch the EFS file system from Regional availability to One Zone without lifecycle rules
    • DMount an Amazon S3 bucket as a POSIX kernel block device on the EC2 instances
    Show answer and explanation

    Correct answer: B. Configure EFS Lifecycle Management to transition to EFS IA and back on access

    Why

    Amazon EFS Lifecycle Management (with EFS Intelligent-Tiering) can be configured with a lifecycle policy (Transition into IA: 30 days and Transition out of IA: On first access) to automatically move cold files to EFS Infrequent Access (EFS IA) or EFS Archive and promote them back to EFS Standard when read.

    • A. Enable Amazon EBS Snapshot Archive via Amazon Data Lifecycle Manager (DLM) — Amazon DLM manages point-in-time EBS block snapshots, not live NFS files inside an Amazon EFS file system.
    • C. Switch the EFS file system from Regional availability to One Zone without lifecycle rules — One Zone reduces availability to a single AZ and does not tier cold files back and forth based on access patterns.
    • D. Mount an Amazon S3 bucket as a POSIX kernel block device on the EC2 instances — Amazon S3 is an object store, whereas the workload already uses POSIX-compliant Amazon EFS.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 6 Cost and Performance Optimization questions with answers

All Syllabus Domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.