Which AWS service is used to host static websites?
Amazon S3
Amazon Elastic Block Store (Amazon EBS)
AWS CloudFormation
Amazon Elastic File System (Amazon EFS)
Explanations:
Amazon S3 is a highly scalable and durable storage service that is ideal for hosting static websites. It allows you to store static files (HTML, CSS, JavaScript, images) and serve them directly to users.
Amazon Elastic Block Store (Amazon EBS) provides block-level storage for EC2 instances but is not designed for hosting static websites.
AWS CloudFormation is a service used for deploying infrastructure as code (templates) to create and manage AWS resources. It is not intended for hosting static websites.
Amazon Elastic File System (Amazon EFS) is a scalable file storage service for use with EC2 instances. While it supports file sharing, it is not typically used for hosting static websites.