DOP-C02 exam dumps

DOP-C02 practice question 153 of 411

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

DOP-C02 Question 153

Select 2

Your team manages a stateful application running in an Amazon ECS cluster using the Fargate launch type. The application stores session data in Amazon ElastiCache for Redis, and you need to ensure high availability and disaster recovery in case of a regional failure. What steps can you take to implement a robust replication and failover strategy for the session data?

  1. A

    Enable Multi-AZ for Amazon ElastiCache with automatic failover.

  2. B

    Set up a global datastore in ElastiCache to replicate data across multiple AWS Regions.

  3. C

    Use Amazon S3 to store the session data as an additional backup.

  4. D

    Implement read replicas in the same AWS Region to handle failover.

  5. E

    Use AWS Global Accelerator to route traffic to the closest region with active ElastiCache nodes.

Show answer and explanation

Correct answers: A, B

Explanation

To ensure high availability and disaster recovery for a stateful application using ElastiCache, you need to leverage features designed for failover and cross-region replication. Multi-AZ with automatic failover provides resilience within a region, while a global datastore ensures redundancy across multiple regions. These strategies work together to maintain application availability and protect against data loss during regional outages.

  • A. Correct.

    Enabling Multi-AZ for Amazon ElastiCache with automatic failover ensures that in case of a primary node failure, a replica in another availability zone is promoted to primary, maintaining high availability within the region.

  • B. Correct.

    Setting up a global datastore in ElastiCache allows asynchronous replication of data to a secondary region, enabling disaster recovery in case of a regional outage.

  • C. Incorrect.

    While Amazon S3 is a durable storage solution, it is not suitable for managing session data for a stateful application due to higher latency and lack of in-memory performance.

  • D. Incorrect.

    Read replicas improve performance for read-heavy workloads but are not designed for high availability or disaster recovery, as they do not support automatic promotion in case of primary node failure.

  • E. Incorrect.

    AWS Global Accelerator is helpful for routing traffic across regions but does not directly address the replication and failover needs of the ElastiCache service.

Timed practice exam

Take a DOP-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