CompTIA Cloud+ (CV0-004) — Question 104

A cloud solutions architect needs to design a solution that will collect a report and upload it to an object storage service every time a virtual machine is gracefully or non-gracefully stopped. Which of the following will best satisfy this requirement?

Answer options

Correct answer: A

Explanation

The correct answer, A, utilizes an event-driven architecture to monitor VM shutdowns and automatically processes logs, ensuring timely uploads. Option B relies on API calls which may not capture non-graceful shutdowns, while option C suggests a less efficient scraping method that may not be reliable. Option D depends on the VM's OS to function correctly, which could fail during abrupt shutdowns.