SAP-C02 exam dumps

SAP-C02 practice question 553 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 553

Select 2

A company is migrating its web application to AWS. The application is stateful, requires high availability, and must handle sudden bursts of traffic. It also needs to maintain session state for users across multiple availability zones. Which combination of AWS services would best meet these requirements?

  1. A

    Amazon EC2 with Auto Scaling and Elastic Load Balancer (ELB)

  2. B

    Amazon DynamoDB for session management

  3. C

    Amazon ElastiCache with Redis for session management

  4. D

    Amazon RDS Multi-AZ deployment for handling session state

  5. E

    AWS Lambda with Amazon S3 for session management

Show answer and explanation

Correct answers: A, C

Explanation

To meet the requirements of a stateful, highly available application that can handle traffic bursts and maintain session state across multiple availability zones, a combination of Amazon EC2 with Auto Scaling and Elastic Load Balancer (ELB) is used for compute and traffic distribution, while session state management is best handled with either Amazon DynamoDB or Amazon ElastiCache with Redis. DynamoDB provides a scalable, highly available datastore, and ElastiCache with Redis offers low-latency, in-memory caching for session management.

  • A. Correct.

    Amazon EC2 with Auto Scaling and Elastic Load Balancer (ELB) is ideal for handling high availability and traffic bursts by distributing traffic and scaling compute resources automatically. However, it does not inherently manage session state.

  • B. Incorrect.

    Amazon DynamoDB can be used for session management as it provides low-latency, highly available, and scalable data storage across multiple availability zones. This makes it a suitable choice for storing session state.

  • C. Correct.

    Amazon ElastiCache with Redis is designed for in-memory caching and can be used for managing session state efficiently. It supports high-performance, stateful applications and works well for session data.

  • D. Incorrect.

    Amazon RDS Multi-AZ deployment provides high availability for relational databases, but it is not the best choice for managing session state due to higher latency compared to in-memory solutions like ElastiCache.

  • E. Incorrect.

    AWS Lambda with Amazon S3 is not suitable for session management because S3 is object storage, which is not designed for low-latency or stateful operations required for session management.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

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

Start timed exam