Which combination of AWS services or features will meet these requirements?
(Choose two.)
AWS Batch
Network Load Balancer
Application Load Balancer
Amazon EC2 Auto Scaling
Amazon S3 website hosting
Explanations:
AWS Batch is designed for batch processing jobs and does not provide the capability for routing traffic or scaling web applications based on demand. It is not suitable for managing traffic patterns of websites.
A Network Load Balancer is optimized for handling TCP traffic and is ideal for use cases requiring high throughput and low latency. However, it does not provide features like content-based routing or path-based routing, which are essential for web applications serving different content based on subdomains.
An Application Load Balancer is designed for routing HTTP/HTTPS traffic and supports advanced routing capabilities, such as directing traffic to different backends based on subdomains. It can also integrate with Auto Scaling to adjust capacity based on traffic patterns.
Amazon EC2 Auto Scaling allows for automatic scaling of EC2 instances based on predefined policies or real-time metrics. This feature is essential for adjusting capacity during peak usage times while keeping costs low by reducing resources during off-peak times.
Amazon S3 website hosting is used for serving static content directly from S3 buckets. While it can host static websites, it does not support server-side scripts like PHP or JavaScript that require a backend, and does not handle traffic routing to different EC2 instances.