exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 238 discussion

In the context of Amazon ElastiCache CLI, which of the following commands can you use to view all ElastiCache instance events for the past 24 hours?

  • A. elasticache-events --duration 24
  • B. elasticache-events --duration 1440
  • C. elasticache-describe-events --duration 24
  • D. elasticache describe-events --source-type cache-cluster --duration 1440
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
In Amazon ElastiCache, the code "aws elasticache describe-events --source-type cache-cluster -- duration 1440" is used to list the cache-cluster events for the past 24 hours (1440 minutes).
Reference:
http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ECEvents.Viewing.html

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
amministrazione
8 months, 3 weeks ago
D. elasticache describe-events --source-type cache-cluster --duration 1440
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: D
The correct command is D. elasticache describe-events --source-type cache-cluster --duration 1440. The elasticache describe-events command is used to list events for ElastiCache resources. The -d or --duration option specifies the number of minutes to look back for events. In this case, we want to look back for the past 24 hours, so we will use the value 1440. The -t or --source-type option specifies the type of ElastiCache resource to list events for. In this case, we want to list events for cache clusters, so we will use the value cache-cluster.
upvoted 1 times
...
Sizuma
2 years, 8 months ago
D Explanation: In Amazon ElastiCache, the code “aws elasticache describe-events –source-type cache-cluster — duration 1440” is used to list the cache-cluster events for the past 24 hours (1440 minutes).
upvoted 1 times
...
Hasitha99
3 years ago
Selected Answer: D
**By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary. ** the "--duration (integer)" parameter specifies the number of minutes worth of events to retrieve. Ref: https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-events.html
upvoted 1 times
...
RVivek
3 years, 3 months ago
Answer D. https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html
upvoted 1 times
...
cldy
3 years, 5 months ago
D. elasticache describe-events --source-type cache-cluster --duration 1440
upvoted 1 times
...
Pb55
3 years, 6 months ago
D. As per link below.
upvoted 1 times
...
01037
3 years, 6 months ago
D is correct Answer:
upvoted 1 times
...
ExtHo
3 years, 6 months ago
D is correct Answer: aws elasticache describe-events --source-type cache-cluster --duration 1440 https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html
upvoted 1 times
...
sam_1975
3 years, 6 months ago
I would go with D http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/ECEvents.Viewing.html
upvoted 2 times
...
sergza
3 years, 7 months ago
So i would answer B
upvoted 3 times
...
sergza
3 years, 7 months ago
Question does not mention anything about cluster event filtering https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html
upvoted 1 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