A company has an application that runs periodically in an on-premises environment. The
application runs for a few hours most days, but runs for 8 hours a day for a week at the end
of each month.
Which AWS service or feature should be used to host the application in the AWS Cloud?
Show answerHide answer
Correct answer: BAmazon EC2 On-Demand Instances
Explanation
Explanation: Amazon EC2 On-Demand Instances are instances that you pay for by the
second, with no long-term commitments or upfront payments4. This option is suitable for
applications that have unpredictable or intermittent workloads, such as the one described in
the question. Amazon EC2 Standard Reserved Instances are instances that you purchase for a one-year or three-year term, and pay a lower hourly rate compared to On-Demand
Instances. This option is suitable for applications that have steady state or predictable
usage. AWS Wavelength is a service that enables developers to build applications that
deliver ultra-low latency to mobile devices and users by deploying AWS compute and
storage at the edge of the 5G network. This option is not relevant for the application
described in the question. Application Load Balancer is a type of load balancer that
operates at the application layer and distributes traffic based on the content of the request.
This option is not a service or feature to host the application, but rather to balance the
traffic among multiple instances.
Question 52Choose 2
Which statements explain the business value of migration to the AWS Cloud? (Select
TWO.)
Show answerHide answer
Correct answer: B, DCompanies that migrate to the AWS Cloud eliminate the need to plan for high availability
and disaster recovery.Applications are modernized because migration to the AWS Cloud requires companies
to rearchitect and rewrite all
enterprise applications.
Explanation
Explanation: B and D are correct because AWS availability and security enable customers
to improve their SLAs while reducing risk and unplanned downtime1, and AWS reduces IT
costs related to infrastructure, allowing customers to reinvest in other areas2. A is incorrect
because migrating to the AWS Cloud does not automatically make applications available
on mobile devices, as it depends on the application design and compatibility. C is incorrect
because companies that migrate to the AWS Cloud still need to plan for high availability
and disaster recovery, as AWS is a shared responsibility model3. E is incorrect because
migrating to the AWS Cloud does not require companies to rearchitect and rewrite all
enterprise applications, as AWS offers different migration strategies depending on the
application complexity and business objectives4.
Question 53Choose 1
A company wants to migrate its on-premises application to the AWS Cloud. The company
is legally obligated to retain certain data in its onpremises data center.
Which AWS service or feature will support this requirement?
Show answerHide answer
Correct answer: DAWS Outposts
Explanation
Explanation: AWS Outposts is a fully managed service that extends AWS infrastructure,
AWS services, APIs, and tools to virtually any datacenter, co-location space, or onpremises
facility for a truly consistent hybrid experience. AWS Outposts enables you to run
AWS services in your on-premises data center, which can support the requirement of
retaining certain data on-premises due to legal obligations5.
Question 54Choose 1
A company processes personally identifiable information (Pll) and must keep data in the
country where it was generated. The company wants to use Amazon EC2 instances for
these workloads.
Which AWS service will meet these requirements?
Show answerHide answer
Correct answer: AAWS Outposts
Explanation
Explanation: AWS Outposts is an AWS service that extends AWS infrastructure, services,
APIs, and tools to virtually any datacenter, co-location space, or on-premises facility. AWS
Outposts enables you to run Amazon EC2 instances and other AWS services locally, while
maintaining a consistent and seamless connection to the AWS Cloud. AWS Outposts is
ideal for workloads that require low latency, local data processing, or data residency. By
using AWS Outposts, the company can process personally identifiable information (PII) and
keep data in the country where it was generated, while leveraging the benefits of AWS.
Question 55Choose 1
A company is planning to migrate its application to the AWS Cloud.
Which AWS tool or set of resources should the company use to analyze and asses its
readiness for migration?
Explanation: AWS Cloud Adoption Framework (AWS CAF) is a tool that helps
organizations understand how cloud adoption transforms the way they work, and it
provides structure to identify and address gaps in skills and processes. Applying the AWS
CAF in your organization results in an actionable plan that helps you prepare the cloud
environment, enable your staff with new skills, and migrate your applications. AWS Pricing
Calculator is a tool that helps you estimate the cost of AWS services for your use cases
and compare the cost of different AWS service configurations. AWS Well-Architected
Framework is a tool that helps you review and improve your cloud-based architectures and
better understand the business impact of your design decisions. AWS Budgets is a tool that
helps you plan your service usage, service costs, and instance reservations, and track how
close your plan is to your budgeted amount.
Question 56Choose 1
A company wants to grant users in one AWS account access to resources in another AWS
account. The users do not currently have permission to access the resources.
Which AWS service will meet this requirement?
Show answerHide answer
Correct answer: BIAM role
Explanation
Explanation: IAM roles are a way to delegate access to resources in different AWS
accounts. IAM roles allow users to assume a set of permissions for a limited time without
having to create or share long-term credentials. IAM roles can be used to grant cross account
access by creating a trust relationship between the accounts and specifying the
permissions that the role can perform. Users can then switch to the role and access the
resources in the other account using temporary security credentials provided by the
role.
Question 57Choose 1
A user has a stateful workload that will run on Amazon EC2 for the next 3 years.
What is the MOST cost-effective pricing model for this workload?
Show answerHide answer
Correct answer: BReserved Instances
Explanation
Explanation: Reserved Instances are a pricing model that offers significant discounts on
Amazon EC2 usage compared to On-Demand Instances. Reserved Instances are suitable
for stateful workloads that have predictable and consistent usage patterns for a long-term
period. By committing to a one-year or three-year term, customers can reduce their total
cost of ownership and optimize their cloud spend. Reserved Instances also provide
capacity reservation, ensuring that customers have access to the EC2 instances they need
when they need them.
Question 58Choose 1
Which AWS service or feature offers security for a VPC by acting as a firewall to control
traffic in and out of subnets?
Show answerHide answer
Correct answer: CNetwork ACL
Explanation
Explanation: A network access control list (network ACL) is a feature that acts as a firewall
for controlling traffic in and out of one or more subnets in a virtual private cloud (VPC).
AWS Security Hub is a service that provides a comprehensive view of the security posture
of AWS accounts and resources. Security groups are features that act as firewalls for
controlling traffic at the instance level. AWS WAF is a web application firewall that helps
protect web applications from common web exploits.
Question 59Choose 1
A company needs to control inbound and outbound traffic for an Amazon EC2 instance.
Which AWS service or feature can the company associate with the EC2 instance to meet
this requirement?
Show answerHide answer
Correct answer: BSecurity group
Explanation
Explanation: A security group is a virtual firewall that can be associated with an Amazon
EC2 instance to control the inbound and outbound traffic for the instance. You can specify
which protocols, ports, and source or destination IP ranges are allowed or denied by the
security group. A network ACL is a stateless filter that can be associated with a subnet to
control the traffic to and from the subnet, but it is not associated with an EC2 instance4.
AWS WAF is a web application firewall that helps protect your web applications or APIs
against common web exploits that may affect availability, compromise security, or consume
excessive resources. VPC route tables are used to determine where network traffic is
directed within a VPC or to an internet gateway, virtual private gateway, NAT device, VPC
peering connection, or VPC endpoint.
Question 60Choose 1
A company must be able to develop, test, and launch an application in the AWS Cloud
quickly.
Which advantage of cloud computing will meet these requirements?
Show answerHide answer
Correct answer: DIncrease speed and agility
Explanation
Explanation: One of the benefits of cloud computing is that it enables customers to
increase speed and agility in developing, testing, and launching applications. Cloud
computing provides on-demand access to a variety of IT resources, such as compute,
storage, networking, databases, and analytics, without requiring upfront investments or
long-term commitments. Customers can provision and release resources in minutes, scale
up and down as needed, and experiment with new technologies and features. This allows
customers to accelerate their innovation cycles, deliver faster time-to-market, and respond to changing customer needs and demands.
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.