A social media startup wants to run a photo-processing routine anytime a user uploads a file. They plan to avoid maintaining dedicated servers. Which approach is BEST for meeting these needs?
Run periodic tasks on a reserved machine checking for new files at preset intervals
Deploy an autoscaling container cluster online at all times to handle photo uploads
Use dedicated instances behind a gateway that remain active even when no files are uploaded
Implement a pay‑per‑use environment for short‑lived routines that execute when a file is received
The correct solution uses a model where code runs for brief intervals when triggered, and the provider manages the environment behind the scenes. This reduces overhead and allows developers to focus on the logic. Other options fail to offer the same reduction in manual server management, either by relying on always-on resources or running at set times rather than when a file upload occurs.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does 'pay‑per‑use environment' mean in this context?
Open an interactive chat with Bash
What is serverless computing, and why is it ideal for this scenario?
Open an interactive chat with Bash
How does event-driven architecture relate to the solution?
Open an interactive chat with Bash
CompTIA Cloud+ CV0-004
Cloud Architecture
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access