exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 164 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 164
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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?

  • A. Create a target tracking auto scaling policy for the Redis cluster's ElastiCachePrimaryEngineCPUUtilization metric. Configure the auto scaling policy to increase and decrease shards to the Redis cluster. Update the recommendation applications to use the clusters configuration endpoint to access Redis.
  • B. Create a target tracking auto scaling policy for the Redis cluster's ElastiCachePrimaryEngineCPUUtilization metric. Configure the auto scaling policy to increase and decrease shards to the Redis cluster. Update the recommendation applications to use the cluster's read replica endpoint to access Redis.
  • C. Create a scheduled auto scaling policy for the Redis cluster's ElastiCachePrimaryEngineCPUUtilization metric. Configure the auto scaling policy to add read replicas to the Redis cluster. Update the recommendation applications to use the clusters configuration endpoint to access Redis.
  • D. Create a scheduled auto scaling policy for the Redis cluster's ElastiCachePrimaryEngineCPUUtilization metric. Configure the auto scaling policy to add read replicas to the Redis cluster. Update the recommendation applications to use the database's read replica endpoint instead of Redis.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Dimidrol
Highly Voted 2 years, 3 months ago
Selected Answer: 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/
upvoted 5 times
...
auxwww
Most Recent 9 months, 4 weeks ago
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
upvoted 1 times
...
Dgix
1 year, 6 months ago
A. Redis clusters do not support read replicas, which are mentioned in all other options.
upvoted 1 times
...
harrura
2 years, 2 months ago
what is this crap? robot answers are different from the user poll. this sucks. what is the correct answer damn it!!
upvoted 1 times
...
bgc1
2 years, 2 months ago
Selected Answer: 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.
upvoted 2 times
...
Piccaso
2 years, 2 months ago
Selected Answer: B
No idea why D is suggested by this web. Are the peak periods come regularly every day ?
upvoted 1 times
...
LoveToronto
2 years, 2 months ago
Selected Answer: A
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html
upvoted 2 times
...
Piccaso
2 years, 2 months ago
Selected Answer: A
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Endpoints.html
upvoted 2 times
...
DerekKey
2 years, 2 months ago
Selected Answer: 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
upvoted 3 times
USalo
2 years, 2 months ago
regarding cluster mode, ready attentively: A DevOps engineer already has created a new ElastiCache for Redis cluster with cluster mode enabled.
upvoted 1 times
...
...
Zek
2 years, 3 months ago
Selected Answer: 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"
upvoted 3 times
USalo
2 years, 3 months ago
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"
upvoted 4 times
...
dailydoseofDevops
1 year, 5 months ago
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.
upvoted 1 times
...
...
Bulti
2 years, 3 months ago
Selected Answer: 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.
upvoted 3 times
...
saeidp
2 years, 3 months ago
Selected Answer: 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
upvoted 3 times
saeidp
2 years, 3 months ago
By the way cluster mode disabled only uses one shard
upvoted 1 times
...
...
Christina666
2 years, 3 months ago
Selected Answer: B
read replicas endpoint for traffic
upvoted 4 times
...
devops7
2 years, 3 months ago
Selected Answer: 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
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago