AWS Certified Solutions Architect – Professional — Question 160
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?
Answer options
- 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
Correct answer: D
Explanation
The correct answer is D because it specifies the source type as cache-cluster and correctly sets the duration to 1440 minutes, which equals 24 hours. Options A, B, and C are incorrect due to either using the wrong command format or not specifying the required source type for accurate event retrieval.