Exam DOP-C01 All QuestionsBrowse all questions from this exam
Question 164

A company has an application that monitors user activity on the company's website and mobile apps. The application uses Amazon ElastiCache for Redis as a write-through cache and uses an Amazon RDS for PostgreSQL database for longer storage. When the application receives a request to record a user's action, the application writes to the Redis cluster and the database at the same time. Internal recommendation applications consume the data to produce content recommendations for each user.

During peak periods, the recommendation applications cannot generate recommendations for users because of stale and missing data. The Redis cache is configured with cluster mode turned off, and the database is configured with a single read replica.

The company wants to ensure that the recommendation applications can generate content recommendations during peak periods. A DevOps engineer already has created a new ElastiCache for Redis cluster with cluster mode enabled.

What should the DevOps engineer do next to meet the company's requirements?

    Correct Answer: A

    The best course of action is to create a target tracking auto scaling policy for the Redis cluster's ElastiCachePrimaryEngineCPUUtilization metric. This will allow the system to automatically adjust the number of shards in the Redis cluster based on CPU usage, ensuring that the workload is handled efficiently during peak periods. Additionally, updating the recommendation applications to use the cluster's configuration endpoint will enable them to interact with the Redis cluster properly when cluster mode is enabled. This setup allows dynamic scaling and efficient data handling for generating content recommendations.

Discussion
DimidrolOption: B

I think between A and B. Choose B because no need to write.https://aws.amazon.com/ru/about-aws/whats-new/2019/06/amazon-elasticache-launches-reader-endpoint-for-redis/

Christina666Option: B

read replicas endpoint for traffic

DerekKeyOption: D

A & B - wrong - cluster mode is turned-off - it means that there is only one shard (one primary and up to 5 secondary nodes), it can not be changed - you can not increase/decrease shards C - wrong - configuration endpoint is for cluster enabled Redis D - correct - the recommendation app should use read replica endpoint

USalo

regarding cluster mode, ready attentively: A DevOps engineer already has created a new ElastiCache for Redis cluster with cluster mode enabled.

zekOption: B

I think the answer is B from link: https://aws.amazon.com/ru/about-aws/whats-new/2019/06/amazon-elasticache-launches-reader-endpoint-for-redis/. "You can now use a single reader endpoint to connect to your Redis read replicas"

USalo

In the same link: "Reader endpoints work with ElastiCache for Redis clusters with cluster-mode disabled." But it the question it was clearly mentioned that new Redis cluster was created with cluster mode ENABLED. Also please read another URL: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html Redis (cluster mode disabled) clusters, use the Primary Endpoint for all write operations. Use the Reader Endpoint to evenly split incoming connections to the endpoint between all read replicas. Redis (cluster mode enabled) clusters, use the cluster's Configuration Endpoint for all operations that support cluster mode enabled commands. The answer should be "A"

dailydoseofDevops

Cluster mode is turned off thus disabled, as a result the Read Replica Endpoint is correct. Standalone Node o One endpoint for read and write operations. Cluster Mode Disabled Cluster o Primary Endpoint – for all write operations. o Reader Endpoint – Split read operations across all read replicas evenly. o Node Endpoint – for read operations. Cluster Mode Enabled Cluster o Configuration Endpoint –for all read/write operations that support Cluster Mode Enabled commands. (way to connect to cluster) o Node Endpoint –for read operations.

BultiOption: A

A is the right answer. use Cluster configuration endpoint and when target tracking scaling policy is used with a predefined metric of ElastiCachePrimaryEngineCPUUtilization it scale out the shards and not the replicas.

saeidpOption: A

A for me cluster mode is enabled. https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html answere B is good for cluster mode disabled

saeidp

By the way cluster mode disabled only uses one shard

bgc1Option: A

Its A based on this - https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html Redis (cluster mode enabled) clusters, use the cluster's Configuration Endpoint for all operations that support cluster mode enabled commands.

LoveTorontoOption: A

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html

PiccasoOption: A

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html

devops7Option: A

I agree the answer is either A or B but I don't see "cluster's read replica" in the question. So, I select A

auxwww

A - ElastiCache cluster with configuration endpoint ensures writes go to the primary and reads go to the replica shards. The cache needs to be written to as well, and read too

Dgix

A. Redis clusters do not support read replicas, which are mentioned in all other options.

harrura

what is this crap? robot answers are different from the user poll. this sucks. what is the correct answer damn it!!

PiccasoOption: B

No idea why D is suggested by this web. Are the peak periods come regularly every day ?