SOA-C02 exam dumps

SOA-C02 practice question 320 of 341

AWS Certified SysOps Administrator - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SOA-C02 Question 320

Select 3

Your organization runs a high-traffic e-commerce website hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The website has been experiencing slow response times during peak hours. Upon investigation, you identify that the EC2 instances are under high CPU utilization and the database queries are taking longer than usual. Which combination of actions should you take to optimize performance?

  1. A

    Enable Auto Scaling for the EC2 instances with a policy to scale out based on CPU utilization

  2. B

    Move the database to a larger Amazon RDS instance class with more compute resources

  3. C

    Enable ALB access logs to analyze incoming traffic patterns

  4. D

    Use Amazon ElastiCache to cache frequently accessed database queries

  5. E

    Migrate the EC2 instances to a smaller instance type to reduce costs

Show answer and explanation

Correct answers: A, B, D

Explanation

To optimize performance for the e-commerce website during peak traffic, it is critical to address both the high CPU utilization on the EC2 instances and the slow database queries. Enabling Auto Scaling allows the application to handle increased traffic dynamically, while scaling up the database instance improves its ability to handle query loads. Additionally, using Amazon ElastiCache to cache commonly accessed queries reduces database load and improves response times. These actions together ensure the application can handle peak traffic efficiently.

  • A. Correct.

    Enabling Auto Scaling allows the application to handle increased load by automatically adding more EC2 instances when CPU utilization is high, optimizing performance during peak hours.

  • B. Correct.

    Scaling up the Amazon RDS instance provides more compute resources to handle the increased query load, reducing query latency during peak traffic.

  • C. Incorrect.

    While enabling ALB access logs can help analyze traffic patterns, it does not directly address the immediate performance issue caused by high CPU utilization and slow database queries.

  • D. Correct.

    Using Amazon ElastiCache to cache frequently accessed queries reduces the load on the database and improves response times, which is a key optimization strategy.

  • E. Incorrect.

    Migrating to smaller instance types would reduce costs but worsen the performance issue by providing less compute power, which is not a viable optimization strategy in this scenario.

Timed practice exam

Take a SOA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam