Which of the following can be components of a VPC in the AWS Cloud?
(Choose two.)
Amazon API Gateway
Amazon S3 buckets and objects
AWS Storage Gateway
Internet gateway
Subnet
Explanations:
Amazon API Gateway is a managed service for creating, publishing, and managing APIs but does not reside within a VPC by default. It can be used with VPC endpoints but is not a component of a VPC itself.
Amazon S3 buckets and objects are stored in the S3 service, which is not part of a VPC. S3 is a global service accessible over the internet and does not reside within a VPC environment.
AWS Storage Gateway is a hybrid cloud storage service that connects on-premises environments with AWS cloud storage. It does not directly constitute a component of a VPC.
An Internet gateway is a VPC component that allows communication between instances in the VPC and the internet, enabling resources to be accessible externally.
A subnet is a range of IP addresses in a VPC. Subnets are a core component of VPCs, enabling the segmentation of resources and the organization of network topology within the VPC.