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. Reference: CompTIA Cloud+ Study Guide (Exam CV0-004) - Chapter on Cloud Delivery Implementations