CompTIA Project+ (PK0-005)Basics of IT and GovernanceHard
A project aims to deploy a new web application that requires high availability and can dynamically scale its resources up or down based on user demand. Which combination of cloud infrastructure services would best meet these requirements?
- ALoad Balancer and Auto-Scaling Group
- BVirtual Private Network (VPN) and Content Delivery Network (CDN)
- CDatabase as a Service (DBaaS) and Object Storage
- DServerless Functions and Scheduled Tasks
Show answer & explanationAnswer & explanation
Correct answer: A. Load Balancer and Auto-Scaling Group
A load balancer distributes incoming traffic across multiple instances, ensuring high availability, while an auto-scaling group automatically adjusts the number of instances based on demand, providing dynamic scalability.
Why the other options are wrong
- B. VPNs provide secure connectivity, and CDNs cache content, neither directly addresses dynamic scaling or high availability for application processing.
- C. DBaaS and Object Storage are for data management, not for dynamically scaling application compute resources or distributing traffic.
- D. Serverless functions offer scalability but are typically for event-driven, short-lived tasks, and scheduled tasks are for fixed operations, not dynamic demand-based scaling of a web application.
Load Balancing & Auto-Scaling
Load balancing distributes incoming network traffic across multiple servers to ensure high availability and optimal resource utilization. Auto-scaling dynamically adjusts the number of compute resources (e.g., virtual machines) in response to changes in demand.
- Load balancing ensures high availability and distributes traffic.
- Auto-scaling provides elasticity by matching resources to demand.
- Together, they deliver resilient and cost-effective cloud applications.
Memory trick: Balance the Load, Auto-Scale for demand.