Question 1
A company wants to define its AWS infrastructure in template files so that environments can be created repeatably. Which service should it use?
- AWS Config
- AWS CloudFormation — Correct
- AWS Trusted Advisor
- AWS Systems Manager
Correct answer
AWS CloudFormation
Explanation
CloudFormation provisions resources from templates (infrastructure as code). Config records configurations. Systems Manager manages operations. Trusted Advisor gives recommendations.
Question 2
A company wants to send a message once and have it delivered to many subscribers, such as email addresses, SQS queues, and Lambda functions. Which service should it use?
- Amazon SNS — Correct
- Amazon SQS
- Amazon Kinesis
- AWS Step Functions
Correct answer
Amazon SNS
Explanation
SNS is a publish/subscribe service that fans out messages to many subscribers. SQS queues messages for consumers. Step Functions orchestrates workflows. Kinesis streams data.
Question 3
Which statement about Amazon EC2 instance store volumes is correct?
- Data is replicated across three Regions automatically for durability.
- Data is lost when the instance stops or terminates, so it suits temporary data. — Correct
- They are the default storage option for Amazon RDS databases.
- They can be detached and attached to another instance like EBS volumes.
Correct answer
Data is lost when the instance stops or terminates, so it suits temporary data.
Explanation
Instance store is temporary storage tied to the instance's host. It is not replicated across Regions, cannot be moved between instances, and is not used for RDS storage.
Question 4
A company wants to give its applications private access to AWS services such as S3 without sending traffic over the internet. Which VPC feature should it use?
- VPC endpoints — Correct
- Elastic IP addresses
- Public subnets
- Internet gateways
Correct answer
VPC endpoints
Explanation
VPC endpoints provide private connectivity to AWS services. Internet gateways, Elastic IPs, and public subnets use the internet.
Question 5
A developer wants to call AWS services from a Python application by using language-specific APIs. What should the developer use?
- An AWS SDK, such as Boto3 — Correct
- AWS Trusted Advisor
- AWS CloudShell only
- The AWS Management Console
Correct answer
An AWS SDK, such as Boto3
Explanation
AWS SDKs provide language-specific APIs, such as Boto3 for Python. The console is for manual use. CloudShell is a browser-based shell. Trusted Advisor gives recommendations.
Question 6
A company wants to store objects that are accessed infrequently but need to be available within milliseconds when requested. Which S3 storage class fits BEST?
- EC2 instance store
- S3 Glacier Flexible Retrieval
- S3 Glacier Deep Archive
- S3 Standard-Infrequent Access — Correct
Correct answer
S3 Standard-Infrequent Access
Explanation
Standard-IA is for infrequently accessed data that still needs millisecond access. Deep Archive and Flexible Retrieval have longer retrieval times. Instance store is not S3.
Question 7
Which statement describes generative AI?
- A networking feature that generates IP addresses for new resources
- AI that only classifies existing data into predefined categories without creating content
- A database feature that generates indexes automatically for faster queries
- AI that creates new content such as text, images, or code based on patterns learned from data — Correct
Correct answer
AI that creates new content such as text, images, or code based on patterns learned from data
Explanation
Generative AI creates new content. Classification is a different type of machine learning. The other options are not AI.
Question 8
A company needs a shared file system that many Linux EC2 instances can access at the same time and that grows automatically. Which service should it use?
- Amazon S3 Glacier
- Amazon EBS
- Amazon RDS
- Amazon EFS — Correct
Correct answer
Amazon EFS
Explanation
EFS is a shared, elastic NFS file system. EBS volumes typically attach to one instance. Glacier is for archives. RDS is a database.
Question 9
A company wants to build a generative AI application by using foundation models from several providers through a single API, without managing infrastructure. Which AWS service should it use?
- Amazon Bedrock — Correct
- Amazon Rekognition
- Amazon SageMaker Ground Truth
- Amazon Comprehend
Correct answer
Amazon Bedrock
Explanation
Amazon Bedrock provides access to foundation models from multiple providers through one API. Ground Truth labels data. Rekognition analyzes images and video. Comprehend analyzes text.
Question 10
A company wants a quick, encrypted connection between its on-premises network and a VPC over the internet. Which service should it use?
- Amazon Route 53
- AWS Site-to-Site VPN — Correct
- Amazon VPC peering
- AWS Direct Connect
Correct answer
AWS Site-to-Site VPN
Explanation
Site-to-Site VPN creates encrypted tunnels over the internet and can be set up quickly. Direct Connect takes longer to provision. VPC peering connects VPCs. Route 53 is DNS.