A company provides a web-based ecommerce service that runs in two Availability Zones
within a single AWS Region. The web service distributes content that is stored in the
Amazon S3 Standard storage class. The company wants to improve the web service's
performance globally.
What should the company do to meet this requirement?
Show answerHide answer
Correct answer: BDeploy an Amazon CloudFront distribution to cache web server content in edge
locations.
Explanation
Explanation: Amazon CloudFront is a fast content delivery network (CDN) service that
securely delivers data, videos, applications, and APIs to customers globally with low
latency, high transfer speeds, all within a developer-friendly environment. CloudFront can
cache web server content in edge locations, which are located closer to the end users, to
improve the web service’s performance globally2.
Question 32Choose 2
A company needs a repository that stores source code. The company needs a way to
update the running software when the code changes.
Which combination of AWS services will meet these requirements? (Select TWO.)
Show answerHide answer
Correct answer: A, BAWS CodeCommit
AWS CodeDeploy
Explanation
Explanation: A and B are correct because AWS CodeCommit is the AWS service that
provides a fully managed source control service that hosts secure Git-based repositories1,
and AWS CodeDeploy is the AWS service that automates code deployments to any
instance, including Amazon EC2 instances and servers running on-premises2. These two
services can be used together to store source code and update the running software when
the code changes. C is incorrect because Amazon DynamoDB is the AWS service that
provides a fully managed NoSQL database service that supports key-value and document
data models3. It is not related to storing source code or updating software. D is incorrect
because Amazon S3 is the AWS service that provides object storage through a web
service interface4. It can be used to store source code, but it does not provide source
control features or update software. E is incorrect because Amazon Elastic Container
Service (Amazon ECS) is the AWS service that allows users to run, scale, and secure
Docker container applications. It can be used to deploy containerized software, but it does
not store source code or update software.
Question 33Choose 1
A company has an Amazon S3 bucket containing images of scanned financial invoices.
The company is building an artificial intelligence (Al)-based application on AWS. The
company wants the application to identify and read total balance amounts on the invoices.
Which AWS service will meet these requirements?
Show answerHide answer
Correct answer: BAmazon Textract
Explanation
Explanation: Amazon Textract is a service that automatically extracts text and data from
scanned documents. Amazon Textract goes beyond simple optical character recognition
(OCR) to also identify the contents of fields in forms and information stored in
tables. Amazon Textract can analyze images of scanned financial invoices and extract the
total balance amounts, as well as other relevant information, such as invoice number, date,
vendor name, etc5.
Question 34Choose 1
A company wants to move its iOS application development and build activities to AWS.
Which AWS service or resource should the company use for these activities?
Show answerHide answer
Correct answer: BAmazon EC2 M1 Mac instances
Explanation
Explanation: Amazon EC2 M1 Mac instances are the AWS service or resource that the
company should use for its iOS application development and build activities, as they enable
users to run macOS on AWS and access a broad and growing set of AWS services. AWS
CodeCommit is a service that provides a fully managed source control service that hosts
secure Git-based repositories. AWS Amplify is a set of tools and services that enable
developers to build full-stack web and mobile applications using AWS. AWS App Runner is
a service that makes it easy for developers to quickly deploy containerized web
applications and APIs. These concepts are explained in the AWS Developer Tools page4.
Question 35Choose 1
Which option is a pillar of the AWS Well-Architected Framework?
Show answerHide answer
Correct answer: BCost optimization
Explanation
Explanation: The AWS Well-Architected Framework helps you understand the pros and
cons of decisions you make while building systems on AWS. By using the Framework, you
will learn architectural best practices for designing and operating reliable, secure, efficient,
and cost-effective systems in the cloud. The Framework consists of five pillars: operational
excellence, security, reliability, performance efficiency, and cost optimization2.
Question 36Choose 1
A company has an application workload that is stateless by design and can sustain
occasional downtime. The application performs massively parallel computations.
Which Amazon EC2 pricing model should the company choose for its application to reduce
cost?
Show answerHide answer
Correct answer: BSpot Instances
Explanation
Explanation: Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity
in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-
Demand prices. You can use Spot Instances for various stateless, fault-tolerant, or flexible
applications such as big data, containerized workloads, CI/CD, web servers, high-performance computing (HPC), and other test & development workloads. Spot Instances
are well-suited for massively parallel computations, as they can provide large amounts of
compute capacity at a low cost, and can be interrupted with a two-minute notice3.
Question 37Choose 1
What is an AWS responsibility under the AWS shared responsibility model?
Show answerHide answer
Correct answer: BEnsure the security of the internal network in the AWS data centers.
Explanation
Explanation: Under the AWS shared responsibility model, AWS is responsible for ensuring
the security of the internal network in the AWS data centers, as well as the physical
security of the hardware and facilities that run AWS services. AWS customers are
responsible for configuring the security group rules that determine which ports are open on
an EC2 Linux instance, patching the guest operating system with the latest security
patches on EC2, and turning on server-side encryption for S3 buckets.
Question 38Choose 1
A developer needs to maintain a development environment infrastructure and a production
environment infrastructure in a repeatable fashion.
Which AWS service should the developer use to meet these requirements?
Show answerHide answer
Correct answer: DAWS CloudFormation
Explanation
Explanation: AWS CloudFormation is a service that allows you to model and provision
your AWS and third-party application resources in a repeatable and predictable way. You
can use AWS CloudFormation to create, update, and delete a collection of resources as a
single unit, called a stack. You can also use AWS CloudFormation to manage your development and production environments in a consistent and efficient manner4.
Question 39Choose 1
A company wants to develop a shopping application that records customer orders. The
application needs to use an AWS managed database service to store data.
Which AWS service should the company use to meet these requirements?
Show answerHide answer
Correct answer: AAmazon RDS
Explanation
Explanation: A is correct because Amazon RDS is the AWS service that provides a
managed relational database service that supports various database engines, such as
MySQL, PostgreSQL, Oracle, and SQL Server. B is incorrect because Amazon Redshift is
the AWS service that provides a managed data warehouse service that is optimized for
analytical queries. C is incorrect because Amazon ElastiCache is the AWS service that
provides a managed in-memory data store service that supports Redis and Memcached. D
is incorrect because Amazon Neptune is the AWS service that provides a managed graph
database service that supports property graph and RDF models.
Question 40Choose 1
A company has a compliance requirement to record and evaluate configuration changes,
as well as perform remediation actions on AWS resources.
Which AWS service should the company use?
Show answerHide answer
Correct answer: AAWS Config
Explanation
Explanation: AWS Config is a service that enables you to assess, audit, and evaluate the
configurations of your AWS resources. AWS Config continuously monitors and records
your AWS resource configurations and allows you to automate the evaluation of recorded
configurations against desired configurations. With AWS Config, you can review changes in
configurations and relationships between AWS resources, dive into detailed resource
configuration histories, and determine your overall compliance against the configurations
specified in your internal guidelines. This can help you simplify compliance auditing,
security analysis, change management, and operational troubleshooting1.
Full mock exam
Sit the CLF-C02 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real CLF-C02 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.