nerdexam
CompTIA

CV0-004 · Question #102

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…

The correct answer is A. An event-driven architecture that will send a message when the VM shuts down to a log-collecting. An event-driven architecture is suited for this scenario, where an event (like a VM shutdown) triggers a function to execute specific tasks (log collection and upload). This approach is efficient and ensures that the logs are collected and uploaded to an object storage service…

Cloud architecture

Question

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?

Options

  • AAn event-driven architecture that will send a message when the VM shuts down to a log-collecting
  • BCreating a webhook that will trigger on VM shutdown API calls and upload the requested files
  • CAn API of the object-defined storage service that will scrape the stopped VM disk and self-upload
  • DA script embedded on the stopping VM's OS that will upload the logs on system shutdown

How the community answered

(31 responses)
  • A
    71% (22)
  • B
    10% (3)
  • C
    3% (1)
  • D
    16% (5)

Explanation

An event-driven architecture is suited for this scenario, where an event (like a VM shutdown) triggers a function to execute specific tasks (log collection and upload). This approach is efficient and ensures that the logs are collected and uploaded to an object storage service every time the VM is stopped, regardless of whether it is a graceful or non-graceful shutdown.

Topics

#Event-driven architecture#Cloud monitoring#Object storage#VM lifecycle management

Community Discussion

No community discussion yet for this question.

Full CV0-004 Practice