aws CLF-C02: AWS Certified Cloud Practitioner · Practice questions

Domain 3: Cloud Technology and Services Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

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?

  1. AWS Config
  2. AWS CloudFormation — Correct
  3. AWS Trusted Advisor
  4. 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?

  1. Amazon SNS — Correct
  2. Amazon SQS
  3. Amazon Kinesis
  4. 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?

  1. Data is replicated across three Regions automatically for durability.
  2. Data is lost when the instance stops or terminates, so it suits temporary data. — Correct
  3. They are the default storage option for Amazon RDS databases.
  4. 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?

  1. VPC endpoints — Correct
  2. Elastic IP addresses
  3. Public subnets
  4. 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?

  1. An AWS SDK, such as Boto3 — Correct
  2. AWS Trusted Advisor
  3. AWS CloudShell only
  4. 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?

  1. EC2 instance store
  2. S3 Glacier Flexible Retrieval
  3. S3 Glacier Deep Archive
  4. 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?

  1. A networking feature that generates IP addresses for new resources
  2. AI that only classifies existing data into predefined categories without creating content
  3. A database feature that generates indexes automatically for faster queries
  4. 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?

  1. Amazon S3 Glacier
  2. Amazon EBS
  3. Amazon RDS
  4. 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?

  1. Amazon Bedrock — Correct
  2. Amazon Rekognition
  3. Amazon SageMaker Ground Truth
  4. 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?

  1. Amazon Route 53
  2. AWS Site-to-Site VPN — Correct
  3. Amazon VPC peering
  4. 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.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz