AI0-001 Implementing AI Solutions Practice Question
A developer is integrating an AI microservice that accepts image uploads and returns classification labels. The service must handle spikes of up to 1,000 requests per minute but average 100 requests per minute. Which deployment architecture BEST meets these requirements with cost efficiency?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use an async processing queue (e.g., RabbitMQ) with a pool of worker instances that auto-scale based on queue depth
Async processing with a queue allows buffering during spikes, scaling workers as needed. A synchronous always-on service would be over-provisioned for average load. Serverless with auto-scaling offers cost efficiency.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Expose the model via a serverless function (e.g., AWS Lambda) with synchronous invocation
Why it's wrong here
Serverless synchronous functions have timeout limits; long-running image classification may exceed them, and cold starts affect latency.
- ✓
Use an async processing queue (e.g., RabbitMQ) with a pool of worker instances that auto-scale based on queue depth
Why this is correct
Async queue buffers spikes, workers scale only when needed, reducing cost while handling bursts.
- ✗
Deploy the service as a synchronous REST API on a single always-on VM sized for peak load
Why it's wrong here
A single VM sized for peak load is expensive during low traffic and may still be a single point of failure.
- ✗
Stream results directly from the model to the client using WebSockets
Why it's wrong here
WebSockets are for persistent connections; not suitable for handling high concurrency of requests without a queue.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
About these practice questions
Courseiva writes every AI0-001 question from scratch — 754 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.