Practice Free CLF-C02 Exam Online Questions
A company wants to ensure that two Amazon EC2 instances are in separate data centers with minimal communication latency between the data centers.
How can the company meet this requirement?
- A . Place the EC2 instances in two separate AWS Regions connected with a VPC peering connection.
- B . Place the EC2 instances in two separate Availability Zones within the same AWS Region.
- C . Place one EC2 instance on premises and the other in an AWS Region. Then connect them by using an AWS VPN connection.
- D . Place both EC2 instances in a placement group for dedicated bandwidth.
B
Explanation:
The correct answer is B because placing the EC2 instances in two separate Availability Zones within the same AWS Region is the best way to meet the requirement. Availability Zones are isolated locations within an AWS Region that have independent power, cooling, and networking. Users can launch their resources, such as Amazon EC2 instances, in multiple Availability Zones to increase the fault tolerance and resilience of their applications. Availability Zones within the same AWS Region are connected with low-latency, high-throughput, and highly redundant networking. The other options are incorrect because they are not the best ways to meet the requirement. Placing the EC2 instances in two separate AWS Regions connected with a VPC peering connection is not the best way to meet the requirement because AWS Regions are geographically dispersed and may have higher communication latency between them than Availability Zones within the same AWS Region. VPC peering connection is a networking connection between two VPCs that enables users to route traffic between them using private IP addresses. Placing one EC2 instance on premises and the other in an AWS Region, and then connecting them by using an AWS VPN connection is not the best way to meet the requirement because on-premises and AWS Region are geographically dispersed and may have higher communication latency between them than Availability Zones within the same AWS Region. AWS VPN connection is a secure and encrypted connection between a user’s network and their VPC.
Placing both EC2 instances in a placement group for dedicated bandwidth is not the best way to meet the requirement because a placement group is a logical grouping of instances within a single Availability Zone that enables users to launch instances with specific performance characteristics. A placement group does not ensure that the instances are in separate data centers, and it does not provide low-latency communication between instances in different AvailabilityZones.
Reference: [Regions, Availability Zones, and Local Zones], [VPC Peering], [AWS VPN], [Placement Groups]
A cloud practitioner wants a repeatable way to deploy identical AWS resources by using infrastructure templates.
Which AWS service will meet these requirements?
- A . AWS CloudFormation
- B . AWS Directory Service
- C . Amazon Lightsail
- D . AWS CodeDeploy
A company wants to migrate its high-performance computing (HPC) application to Amazon EC2 instances. The application has multiple components. The application must have fault tolerance and must have the ability to fail over automatically.
Which AWS infrastructure solution will meet these requirements with the LEAST latency between components?
- A . Multiple AWS Regions
- B . Multiple edge locations
- C . Multiple Availability Zones
- D . Regional edge caches
C
Explanation:
Using EC2 instances in multiple Availability Zones is an AWS infrastructure solution that meets the requirements of migrating a high performance computing (HPC) application to AWS with fault tolerance and failover capabilities, and with the least latency between components. An Availability Zone is a physically isolated location within an AWS Region that has its own power, cooling, and network connectivity. EC2 instances within the same Region can communicate with each other using low-latency private IP addresses. By using EC2 instances in multiple Availability Zones, the company can achieve fault tolerance and failover for their HPC application, because they can distribute the workload and data across different locations that are independent of each other. If one Availability Zone becomes unavailable or impaired, the company can redirect the traffic and data to another Availability Zone without affecting the performance and availability of the application5
An ecommerce company wants to provide relevant product recommendations to its customers. The recommendations will include products that are frequently purchased with other products that the customer already purchased. The recommendations also will include products of a specific color and products from the customer’s favorite brand.
Which AWS service or feature should the company use to meet these requirements with the LEAST development effort?
- A . Amazon Comprehend
- B . Amazon Forecast
- C . Amazon Personalize
- D . Amazon SageMaker Studio
C
Explanation:
Amazon Personalize is a service that provides real-time personalized recommendations based on the user’s behavior, preferences, and context. It can also incorporate metadata such as product color and brand to generate more relevant recommendations. Amazon Comprehend is a natural language processing (NLP) service that can analyze text for entities, sentiments, topics, and more. Amazon Forecast is a service that provides accurate time-series forecasting based on machine learning. Amazon SageMaker Studio is a web-based integrated development environment (IDE) for machine learning.
Which AWS service can run a managed PostgreSQL database that provides online transaction processing (OLTP)?
- A . Amazon DynamoDB
- B . Amazon Athena
- C . Amazon RDS
- D . Amazon EMR
C
Explanation:
Amazon RDS is a fully managed relational database service that supports several database engines, including PostgreSQL. Amazon RDS can run a managed PostgreSQL database that provides online transaction processing (OLTP), which is a type of database workload that handles frequent read and write operations on small amounts of data. Amazon RDS for PostgreSQL offers high performance, availability, scalability, security, and compatibility with the PostgreSQL community edition. Amazon RDS also provides automated backups, point-in-time recovery, encryption, monitoring, and maintenance for PostgreSQL databases.
Reference: Hosted PostgreSQL – Amazon RDS for PostgreSQL
OLTP Database, MySQL And PostgreSQL Managed Database – Amazon Aurora PostgreSQL options on AWS: Self- managed, managed, and serverless
Which AWS service can a company use to build conversational chatbots for customer service?
- A . Amazon Lex
- B . AWS Amplify
- C . Amazon Comprehend
- D . Amazon Polly
A company wants a report that lists the status of multi-factor authentication (MFA) devices that all users in the company’s AWS account use.
Which AWS feature or service will meet this requirement?
- A . AWS Cost and Usage Reports
- B . IAM credential reports
- C . Detailed Billing Reports
- D . AWS Cost Explorer reports
A company wants to use the AWS Cloud as an offsite backup location for its on-premises infrastructure.
Which AWS service will meet this requirement MOST cost-effectively?
- A . Amazon S3
- B . Amazon Elastic File System (Amazon EFS)
- C . Amazon FSx
- D . Amazon Elastic Block Store (Amazon EBS)
A
Explanation:
Amazon S3 is the most cost-effective service for storing offsite backups of on-premises infrastructure. Amazon S3 offers low-cost, durable, and scalable storage that can be accessed from anywhere over the internet. Amazon S3 also supports lifecycle policies, versioning, encryption, and cross-region replication to optimize the backup and recovery process. Amazon EFS, Amazon FSx, and Amazon EBS are more suitable for storing data that requires high performance, low latency, and frequent access12
Which AWS service or tool does AWS Control Tower use to create resources?
- A . AWS CloudFormation
- B . AWS Trusted Advisor
- C . AWS Directory Service
- D . AWS Cost Explorer
A
Explanation:
AWS Control Tower uses AWS CloudFormation to create resources in your landing zone. AWS CloudFormation is a service that helps you model and set up your AWS resources using templates. AWS Control Tower supports creating AWS::ControlTower::EnabledControl resources in AWS CloudFormation. Therefore, the correct answer is A. You can learn more about AWS Control Tower and AWS CloudFormation
A company uses a third-party identity provider (IdP). The company wants to provide its employees with access to AWS accounts and services without requiring another set of login credentials.
Which AWS service will meet this requirement?
- A . AWS Directory Service
- B . Amazon Cognito
- C . AWS IAM Identity Center
- D . AWS Resource Access Manager (AWS RAM)
C
Explanation:
AWS IAM Identity Center (formerly AWS Single Sign-On or AWS SSO) provides a single sign-on experience for accessing AWS accounts and applications by integrating with third-party identity providers (IdPs) like Microsoft Active Directory, Okta, or any SAML 2.0-compliant IdP. This service allows employees to log in once using their existing corporate credentials managed by the third-party IdP and gain access to multiple AWS accounts and services without needing separate AWS credentials.
Why other options are not suitable: