A company has set up a VPC in its AWS account and has created a subnet in the VPC.
The company wants to make the subnet public.
Which AWS features should the company use to meet this requirement? (Select TWO.)
Show answerHide answer
Correct answer: A, CAmazon VPC internet gateway
Amazon VPC route tables
Explanation
Explanation: To make a subnet public, the company should use an Amazon VPC internet
gateway and an Amazon VPC route table. An internet gateway is a horizontally scaled,
redundant, and highly available VPC component that allows communication between your
VPC and the internet. A route table contains a set of rules, called routes, that are used to
determine where network traffic from your subnet or gateway is directed. To enable internet
access for a subnet, you need to attach an internet gateway to your VPC and add a route
to the internet gateway in the route table associated with the subnet.
Question 22Choose 1
Which AWS service is designed to help users build conversational interfaces into
applications using voice and text?
Show answerHide answer
Correct answer: AAmazon Lex
Explanation
Explanation: A is correct because Amazon Lex is the AWS service that helps users build
conversational interfaces into applications using voice and text. B is incorrect because
Amazon Transcribe is the AWS service that helps users convert speech to text. C is incorrect because Amazon Comprehend is the AWS service that helps users analyze text
using natural language processing. D is incorrect because Amazon Timestream is the AWS
service that helps users collect, store, and process time series data.
Question 23Choose 1
A company is setting up AWS Identity and Access Management (IAM) on an AWS account.
Which recommendation complies with IAM security best practices?
Show answerHide answer
Correct answer: CTurn on multi-factor authentication (MFA) for added security during the login process.
Explanation
Explanation: C is correct because turning on multi-factor authentication (MFA) for added
security during the login process is one of the IAM security best practices recommended by
AWS. MFA adds an extra layer of protection on top of the user name and password,
making it harder for attackers to access the AWS account. A is incorrect because using the
account root user access keys for administrative tasks is not a good practice, as the root
user has full access to all the resources in the AWS account and can cause irreparable
damage if compromised. AWS recommends creating individual IAM users with the least
privilege principle and using roles for applications that run on Amazon EC2 instances. B is
incorrect because granting broad permissions so that all company employees can access
the resources they need is not a good practice, as it increases the risk of unauthorized or
accidental actions on the AWS resources. AWS recommends granting only the permissions
that are required to perform a task and using groups to assign permissions to IAM users. D
is incorrect because avoiding rotating credentials to prevent issues in production
applications is not a good practice, as it increases the risk of credential leakage or
compromise. AWS recommends rotating credentials regularly and using temporary security
credentials from AWS STS when possible.
Question 24Choose 1
A company is using AWS Organizations to configure AWS accounts.
A company is planning its migration to the AWS Cloud. The company is identifying its
capability gaps by using the AWS Cloud Adoption Framework (AWS CAF) perspectives.
Which phase of the cloud transformation journey includes these identification activities?
Show answerHide answer
Correct answer: AEnvision
Explanation
Explanation: The Envision phase of the cloud transformation journey is where the
company defines its vision, business drivers, and desired outcomes for the cloud
adoption. The company also identifies its capability gaps by using the AWS Cloud Adoption Framework (AWS CAF) perspectives, which are business, people, governance, platform,
security, and operations2.
Question 25Choose 1
A user discovered that an Amazon EC2 instance is missing an Amazon Elastic Block Store
(Amazon EBS) data volume. The user wants to determine when the EBS volume was
removed.
Which AWS service will provide this information?
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. AWS Config can help you determine when
an EBS volume was removed from an EC2 instance by providing a timeline of configuration
changes and compliance status. AWS Trusted Advisor, Amazon Timestream, and Amazon
QuickSight do not provide the same level of configuration tracking and auditing as AWS
Config.
Question 26Choose 1
A company is running an application that is hosted on Amazon EC2 instances. The usage
of the EC2 instances is higher during daytime hours than nighttime hours. The company
wants to optimize the number of EC2 instances based on this usage pattern.
Which AWS service or instance purchasing option should the company use to meet these
requirements?
Show answerHide answer
Correct answer: DAWS Auto Scaling
Explanation
Explanation: AWS Auto Scaling is the AWS service that allows users to optimize the
number of EC2 instances based on the usage pattern, as it automatically adjusts the
capacity to maintain steady and predictable performance at the lowest possible cost. Spot
Instances are a way to reduce the cost of EC2 instances by bidding on unused EC2
capacity, but they are not suitable for applications that require steady and reliable
performance. Reserved Instances are a way to reduce the cost of EC2 instances by
committing to a certain amount of usage for a period of time, but they are not flexible to
adjust to the usage pattern. AWS CloudFormation is a way to automate the creation and
management of AWS resources, but it does not optimize the number of EC2 instances
based on the usage pattern. These concepts are explained in the AWS Cloud Practitioner
Essentials course3.
Question 27Select all that apply
A company migrated its core application onto multiple workloads in the AWS Cloud. The
company wants to improve the application's reliability.
Which cloud design principle should the company implement to achieve this goal?
Show answerHide answer
Correct answer: BDecouple the components.
Explanation
Explanation: Decoupling the components of an application means reducing the
dependencies and interactions between them, which can improve the application’s
reliability, scalability, and performance. Decoupling can be achieved by using services such
as Amazon Simple Queue Service (Amazon SQS), Amazon Simple Notification Service
(Amazon SNS), and AWS Lambda1
Question 28Choose 1
How should the company deploy the application to meet these requirements?
Show answerHide answer
Correct answer: DIn multiple Availability Zones
Explanation
Explanation: Deploying the application in multiple Availability Zones is the best way to
ensure high availability for the application. Availability Zones are isolated locations within
an AWS Region that are engineered to be fault-tolerant from failures in other Availability
Zones. By deploying the application in multiple Availability Zones, the company can reduce
the impact of outages and increase the resilience of the application. Deploying the
application in a single Availability Zone, on AWS Direct Connect, or on Reserved Instances
does not provide the same level of high availability as deploying the application in multiple
Availability Zones. Source: Availability Zones
Question 29Choose 1
Which aspect of security is the customer's responsibility, according to the AWS shared
responsibility model?
Show answerHide answer
Correct answer: APatch and configuration management
Explanation
Explanation: According to the AWS shared responsibility model, AWS is responsible for
the security of the cloud, while the customer is responsible for the security in the cloud. This means that AWS provides the physical and environmental controls, the service
and communications protection, and the awareness and training for its employees, while
the customer provides the patch and configuration management, the identity and access
management, the data encryption, and the firewall configuration for its resources3.
Question 30Choose 1
A company manages factory machines in real time. The company wants to use AWS
technology to deploy its monitoring applications as close to the factory machines as possible.
Which AWS solution will meet these requirements with the LEAST latency?
Show answerHide answer
Correct answer: AAWS 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 on-premises
facility for a truly consistent hybrid experience. AWS Outposts enables you to run
AWS services in your on-premises data center1.
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.