Practice Free CLF-C02 Exam Online Questions
Which AWS service or feature improves network performance by sending traffic through the AWS worldwide network infrastructure?
- A . Route table
- B . AWS Transit Gateway
- C . AWS Global Accelerator
- D . Amazon VPC
C
Explanation:
AWS Global Accelerator is a service that improves network performance by sending traffic through the AWS worldwide network infrastructure. It uses the AWS global network to direct TCP or UDP traffic to a healthy application endpoint in the closest AWS Region to the client. This provides improvements in terms of latency, throughput, and jitter. Global Accelerator also introduces features such as TCP termination at the edge, jumbo frame support, and large receive side window and TCP buffers to optimize data transfer12. Route table, AWS Transit Gateway, and Amazon VPC are not services or features that improve network performance by sending traffic through the AWS worldwide network infrastructure. Route table is a resource that defines how traffic is routed within a VPC3. AWS Transit Gateway is a service that enables you to connect your VPCs and on-premises networks to a single gateway4. Amazon VPC is a service that lets you provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define5.
Reference: Achieve up to 60% better performance for internet traffic with AWS Global Accelerator, Improving Performance on AWS and Hybrid Networks, Route tables, AWS Transit Gateway, Amazon Virtual Private Cloud (VPC)
A company is building a new application on AWS. The company needs the application to remain available if an individual application component fails.
Which design principle should the company use to meet this requirement?
- A . Disposable resources
- B . Automation
- C . Rightsizing
- D . Loose coupling
D
Explanation:
Loose coupling is a design principle that involves reducing dependencies between application components so that they can operate independently. This approach ensures that the failure of one component does not affect the availability of the others, thereby improving the application’s fault tolerance and resilience. Disposable resources, automation, and rightsizing are valuable principles in cloud architecture, but they do not directly address the requirement of remaining available despite the failure of an individual component like loose coupling does.
Reference: AWS Well-Architected Framework – Design Principles
A company provides a software as a service (SaaS) application. The company has a new customer that is based in a different country.
The new customer’s data needs to be hosted in that country.
Which AWS service or infrastructure component should the company use to meet this requirement?
- A . AWS Shield
- B . Amazon S3 Object Lock
- C . AWS Regions
- D . Placement groups
C
Explanation:
AWS Regions are geographic areas around the world where AWS has clusters of data centers. Each AWS Region consists of multiple, isolated, and physically separate AZ’s within a geographic area. By hosting the customer’s data in a specific AWS Region, the company can meet the requirement of hosting the data in the customer’s country. AWS Shield is a service that provides always-on detection and automatic inline mitigations that minimize application downtime and latency, so there is no need to engage AWS Support to benefit from DDoS protection. Amazon S3 Object Lock is afeature that allows you to store objects using a write-once-read-many (WORM) model. You can use it to prevent an object from being deleted or overwritten for a fixed amount of time or indefinitely. Placement groups are logical grouping of instances within a single Availability Zone. Placement groups enable applications to participate in a low-latency, 10 Gbps network. None of these services or infrastructure components can help the company host the customer’s data in a different country.
A user wants to invoke an AWS Lambda function when an Amazon EC2 instance enters the "stopping" state.
Which AWS service is appropriate for this use case?
- A . Amazon EventBridge
- B . AWS Config
- C . Amazon Simple Notification Service (Amazon SNS)
- D . AWS CloudFormation
A
Explanation:
Amazon EventBridge (formerly CloudWatch Events) allows users to respond to changes in the state of AWS resources. It can be configured to invoke an AWS Lambda function when an EC2 instance enters the “stopping” state, providing a serverless way to automate responses to changes in EC2 instance states. AWS Config, SNS, and CloudFormation do not provide direct triggering for specific instance state changes.
Which of the following promotes AWS Cloud architectural best practices for designing and operating reliable, secure, efficient, and cost-effective systems?
- A . AWS Serverless Application Model framework
- B . AWS Business Support
- C . Principle of least privilege
- D . AWS Well-Architected Framework
D
Explanation:
AWS Well-Architected Framework promotes AWS Cloud architectural best practices for designing and operating reliable, secure, efficient, and cost-effective systems. AWS Well-Architected Framework is a set of guidelines and best practices that help the user to evaluate and improve the architecture of their applications and workloads on AWS. AWS Well-Architected Framework consists of five pillars: operational excellence, security, reliability, performance efficiency, and cost optimization. Each pillar provides a set of design principles, questions, and best practices that help the user to achieve the desired outcomes for their systems.
A company wants a key-value NoSQL database that is fully managed and serverless.
Which AWS service will meet these requirements?
- A . Amazon DynamoDB
- B . Amazon RDS
- C . Amazon Aurora
- D . Amazon Memory DB for Redis
A
Explanation:
Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It is a fully managed, serverless database that does not require provisioning, patching, or backup. It offers built-in security, backup and restore, and in-memory caching3. Amazon RDS is a relational database service that makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups. However, it is not a key-value NoSQL database, and it is not serverless, as it requires you to choose an instance type and size4. Amazon Aurora is a MySQL and Postgre SQL compatible relational database built for the cloud, that combines the performance and availability of traditional enterprise databases with the simplicity and cost-effectiveness of open source databases.
However, it is also not a key-value NoSQL database, and it is not serverless, as it requires you to choose an instance type and size. Amazon Memory DB for Redis is a Redis-compatible, durable, in memory database service that delivers ultra-fast performance and multi-AZ reliability for the most demanding applications. However, it is also not a key-value NoSQL database, and it is not serverless, as it requires you to choose a node type and size.
A company wants to use a serverless compute service for an application.
Which AWS service will meet this requirement?
- A . AWS Lambda
- B . AWS Cloud Formation
- C . AWS Elastic Beanstalk
- D . Elastic Load Balancing
A
Explanation:
AWS Lambdais a serverless compute service that allows users to run code in response to events without provisioning or managing servers. It automatically scales the application by running code only when needed, and users are charged only for the compute time consumed. This service is ideal for applications that require event-driven compute functions.
B. AWS CloudFormation: Incorrect, as it is an infrastructure-as-code service that helps users automate the deployment of AWS resources, not a serverless compute service.
C. AWS Elastic Beanstalk: Incorrect, as it is a Platform-as-a-Service (PaaS) that still involves managing servers, even though it abstracts much of the infrastructure management.
D. Elastic Load Balancing: Incorrect, as it is a service for distributing incoming application or network traffic across multiple targets, not a serverless compute service.
AWS Cloud
Reference: AWS Lambda
A company needs to implement identity management for a fleet of mobile apps that are running in the AWS Cloud.
Which AWS service will meet this requirement?
- A . Amazon Cognito
- B . AWS Security Hub
- C . AWS Shield
- D . AWS WAF
A
Explanation:
Amazon Cognito is a service that provides identity management for mobile and web applications, allowing users to sign up, sign in, and access AWS resources with different identity providers. AWS Security Hub is a service that provides a comprehensive view of the security posture of AWS accounts and resources. AWS Shield is a service that provides protection against distributed denial of service (DDoS) attacks. AWS WAF is a web application firewall that helps protect web applications from common web exploits.
A software engineer wants to launch a virtual machine (VM) and MySQL database on AWS.
Which AWS service will meet these requirements with the LEAST operational effort?
- A . Amazon Elastic Container Service (Amazon ECS)
- B . AWS Elastic Beanstalk
- C . Amazon Lightsail
- D . Amazon EC2
B
Explanation:
AWS Elastic Beanstalk is a service that enables you to quickly deploy and manage applications in the AWS Cloud without worrying about the infrastructure that runs those applications. You simply upload your application, and Elastic Beanstalk automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring. Elastic Beanstalk supports several platform configurations for Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker web applications that can run on familiar servers such as Apache, Nginx, Passenger, and IIS. You can also use Elastic Beanstalk to launch a virtual machine (VM) and MySQL database on AWS with theleast operational effort. Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service that enables you to easily run, scale, and secure Docker containerized applications on AWS. However, it requires more operational effort than Elastic Beanstalk, as you need to define your application architecture and the specifications of the containers that run it. Amazon Lightsail is an easy-to-use cloud platform that offers everything you need to build an application or website, plus a cost-effective, monthly plan. It is designed for developers who have little or no prior cloud experience and want to launch and manage applications on AWS with minimal complexity. However, it does not support MySQL databases, and it requires more operational effort than Elastic Beanstalk, as you need to configure your VM and database settings. Amazon EC2 is a web service that provides secure, resizable compute capacity in the cloud. It allows you to launch a virtual machine (VM) and MySQL database on AWS, but it requires the most operational effort, as you need to provision, monitor, and manage your EC2 instances and database.
Which of the following is a cloud benefit that AWS offers to its users?
- A . The ability to configure AWS data center hypervisors
- B . The ability to purchase hardware in advance of increased traffic
- C . The ability to deploy to AWS on a global scale
- D . Compliance audits for user IT environments
C
Explanation:
The ability to deploy to AWS on a global scale is a cloud benefit that AWS offers to its users. AWS has a global infrastructure that consists of AWS Regions, Availability Zones, and edge locations. Users can choose from multiple AWS Regions around the world to deploy their applications and data closer to their end users, while also meeting their compliance and regulatory requirements. Users can also leverage AWS services, such as Amazon CloudFront, Amazon Route 53, and AWS Global Accelerator, to improve the performance and availability of their global applications. AWS also provides tools and guidance to help users optimize their global deployments, such as AWS Well-Architected Framework, AWS CloudFormation, and AWS Migration Hub. AWS Global Infrastructure [AWS Cloud Value Framework] AWS Certified Cloud Practitioner – aws.amazon.com