Amazon Web Services certification · Exam CLF-C02

CLF-C02 Mock Exam Page 3

AWS Certified Cloud Practitioner

Free CLF-C02 questions on Topic 3: Exam Pool C, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 3: Exam Pool C questions

21–30 of 60 free
Question 21 Choose 1
An AWS user wants to proactively detect when an instance or account might be compromised or if there are threats from attacks. Which AWS service should the user choose?
Show answerHide answer

Correct answer: A Amazon GuardDuty

Explanation

Explanation: Amazon GuardDuty is a threat detection service that continuously monitors AWS accounts and workloads for malicious activity and unauthorized behavior to help protect your AWS resources. It uses machine learning, anomaly detection, and integrated threat intelligence to detect when an instance or account might be compromised or if there are threats from attacks.
B. AWS WAF: Incorrect, as it is a web application firewall that protects against common web exploits but does not provide comprehensive threat detection.
C. AWS Shield: Incorrect, as it provides protection against DDoS attacks but does not detect compromises within AWS accounts.
D. Amazon Inspector: Incorrect, as it is a service that helps improve the security and compliance of applications deployed on AWS by assessing for vulnerabilities, not for threat detection.
Question 22 Choose 1
Which AWS service or feature identifies whether an Amazon S3 bucket or an IAM role has been shared with an external entity?
Show answerHide answer

Correct answer: C AWS IAM Access Analyzer

Explanation

Explanation: AWS IAM Access Analyzer is a service that helps you identify the resources in your organization and accounts, such as Amazon S3 buckets or IAM roles, that are shared with an external entity. This lets you identify unintended access to your resources and data, which is a security risk. IAM Access Analyzer uses logic-based reasoning to analyze the resource-based policies in your AWS environment. For each instance of a resource shared outside of your account, IAM Access Analyzer generates a finding. Findings include information about the access and the external principal granted to it345.
Question 23 Choose 1
At what support level do users receive access to a support concierge?
Show answerHide answer

Correct answer: D Enterprise Support

Explanation

Explanation: Users receive access to a support concierge at the Enterprise Support level. A support concierge is a team of AWS billing and account experts that specialize in working with enterprise accounts. They can help users with billing and account inquiries, cost optimization, FinOps support, cost analysis, and prioritized answers to billing questions. The support concierge is included as part of the Enterprise Support plan, which also provides access to a Technical Account Manager (TAM), Infrastructure Event Management, AWS Trusted Advisor, and 24/7 technical support.
Question 24 Choose 1
Which AWS Cloud service can send alerts to customers if custom spending thresholds are exceeded?
Show answerHide answer

Correct answer: A AWS Budgets

Explanation

Explanation: AWS Budgets is a service that allows you to set custom budgets for your AWS costs and usage, and receive alerts via email or Amazon SNS notifications if you exceed or are forecasted to exceed your budgeted amount1. You can create budgets based on different dimensions, such as service, linked account, tag, or purchase option, and define various types of alerts, such as actual, forecasted, or RI utilization alerts2. You can also configure custom actions to automatically execute remediation tasks or workflows when a budget threshold is breached3. AWS Budgets is the only service among the options that can send alerts to customers if custom spending thresholds are exceeded. The other options are not AWS services that provide this functionality.
Question 25 Choose 1
A company wants to quickly implement a continuous integration/continuous delivery (CI/CD) pipeline. Which AWS service will meet this requirement?
Show answerHide answer

Correct answer: D AWS CodeStar

Explanation

Explanation: AWS CodeStar is a service that enables you to quickly develop, build, and deploy applications on AWS. It provides a unified user interface for managing your application lifecycle, including code repositories, build pipelines, deployments, and project dashboards. AWS CodeStar also integrates with other AWS services, such as AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline, to create a complete CI/CD pipeline for your application12.
Question 26 Choose 1
Which AWS service can a company use to visually design and build serverless applications?
Show answerHide answer

Correct answer: C AWS Application Composer

Explanation

Explanation: AWS Application Composer is a service that allows users to visually design and build serverless applications. Users can drag and drop components, such as AWS Lambda functions, Amazon API Gateway endpoints, Amazon DynamoDB tables, and Amazon S3 buckets, to create a serverless application architecture. Users can also configure the properties, permissions, and dependencies of each component, and deploy the application to their AWS account with a few clicks. AWS Application Composer simplifies the design and configuration of serverless applications, and reduces the need to write code or use AWS CloudFormation templates.
Question 27 Choose 1
Which tool should a developer use lo integrate AWS service features directly into an application?
Show answerHide answer

Correct answer: A AWS Software Development Kit

Explanation

Explanation: AWS Software Development Kit (SDK) is a set of platform-specific tools for developers that let them integrate AWS service features directly into their applications. AWS SDKs provide libraries, code samples, documentation, and other resources to help developers write code that interacts with AWS APIs. AWS SDKs support various programming languages, such as Java, Python, Ruby, .NET, Node.js, Go, and more. AWS SDKs make it easier for developers to access AWS services, such as Amazon S3, Amazon EC2, Amazon DynamoDB, AWS Lambda, and more, from their applications. AWS SDKs also handle tasks such as authentication, error handling, retries, and data serialization, so developers can focus on their application logic.
Question 28 Choose 2
Which guidelines are best practices for using AWS Identity and Access Management (1AM)? (Select TWO.)
Show answerHide answer

Correct answer: B, E Create individual 1AM users. Use groups to assign permissions to 1AM users.

Explanation

Explanation: Best practices for using AWS Identity and Access Management (IAM) include:
B. Create individual IAM users: Each user should have their own IAM credentials to ensure accountability, control, and traceability. Sharing credentials can lead to security risks and difficulty in auditing.
E. Use groups to assign permissions to IAM users: Assigning permissions through IAM groups simplifies permission management. You can assign the necessary permissions to the group, and then add or remove users from the group as needed, rather than managing permissions for each user individually.
Why other options are not suitable:
  • A. Share access keys: Sharing access keys is a security risk and violates AWS security best practices. Each user should have their own credentials.
  • C. Use inline policies instead of customer-managed policies: Customer-managed policies are preferred over inline policies because they offer better control, reusability, and versioning.
  • D. Grant maximum privileges to IAM users: Granting the least privilege necessary is a best practice to reduce the risk of accidental or malicious actions.
Why other options are not suitable:
  • A. Share access keys: Sharing access keys is a security risk and violates AWS security best practices. Each user should have their own credentials.
  • C. Use inline policies instead of customer-managed policies: Customer-managed policies are preferred over inline policies because they offer better control, reusability, and versioning.
  • D. Grant maximum privileges to IAM users: Granting the least privilege necessary is a best practice to reduce the risk of accidental or malicious actions.
Why other options are not suitable:
  • A. Share access keys: Sharing access keys is a security risk and violates AWS security best practices. Each user should have their own credentials.
  • C. Use inline policies instead of customer-managed policies: Customer-managed policies are preferred over inline policies because they offer better control, reusability, and versioning.
  • D. Grant maximum privileges to IAM users: Granting the least privilege necessary is a best practice to reduce the risk of accidental or malicious actions.
Question 29 Choose 1
An ecommerce company has deployed a new web application on Amazon EC2 Instances. The company wants to distribute incoming HTTP traffic evenly across all running instances. Which AWS service or resource will meet this requirement?
Show answerHide answer

Correct answer: B Application Load Balancer

Explanation

Explanation:
  • An Application Load Balancer (ALB) is the best choice for distributing incoming HTTP/HTTPS traffic evenly across multiple Amazon EC2 instances. It operates at the application layer (Layer 7 of the OSI model) and is specifically designed to handle HTTP and HTTPS traffic, which is ideal for web applications.
Here is why the ALB is the correct choice:
  • Layer 7 Load Balancing: The ALB works at the application layer and provides advanced routing capabilities based on content. It can inspect the incoming HTTP requests and make decisions on how to route traffic to various backend targets, which include Amazon EC2 instances, containers, or Lambda functions. This is particularly useful for web applications where you need to make routing decisions based on HTTP headers, paths, or query strings.
  • HTTP and HTTPS Support: The ALB natively supports HTTP and HTTPS protocols, making it the ideal load balancer for web-based applications. It can efficiently manage and route these types of traffic and handle tasks such as SSL/TLS termination.
  • Health Checks: The ALB can continuously monitor the health of the registered EC2 instances and only route traffic to healthy instances. This ensures high availability and reliability of the web application.
  • Path-based and Host-based Routing: The ALB can route traffic based on the URL path or host header. This feature allows the same load balancer to serve multiple applications hosted on different domains or subdomains.
  • Integration with Auto Scaling: The ALB can integrate seamlessly with Amazon EC2 Auto Scaling. As the number of EC2 instances increases or decreases, the ALB automatically includes the new instances in its traffic distribution pool, ensuring even distribution of incoming requests.
  • WebSocket Support: It also supports WebSocket and HTTP/2 protocols, which are essential for modern web applications that require real-time, bidirectional communication.
Why other options are not suitable:
  • A. Amazon EC2 Auto Scaling: This service is used to automatically scale the number of EC2 instances up or down based on specified conditions. However, it does not provide load balancing capabilities. It works well with load balancers but does not handle the distribution of incoming traffic by itself.
  • C. Gateway Load Balancer: This is designed to distribute traffic to virtual appliances like firewalls, IDS/IPS systems, or deep packet inspection systems. It operates at Layer 3 (Network Layer) and is not ideal for distributing HTTP/HTTPS traffic to EC2 instances.
  • D. Network Load Balancer: This load balancer operates at Layer 4 (Transport Layer) and is designed to handle millions of requests per second while maintaining ultra-low latencies. It is best suited for TCP, UDP, and TLS traffic but does not provide advanced Layer 7 routing features required for HTTP/HTTPS traffic.
Question 30 Choose 1
Which AWS service or resource provides answers to the most frequently asked security related questions that AWS receives from its users'?
Show answerHide answer

Correct answer: A AWS Artifact

Explanation

Explanation: AWS Artifact is your go-to, central resource for compliance-related information that matters to you. It provides on-demand access to AWS’s security and compliance reports and select online agreements. Reports available in AWS Artifact include our Service Organization Control (SOC) reports, Payment Card Industry (PCI) attestation of compliance, and certifications from accreditation bodies across geographies and compliance verticals that validate the implementation and operating effectiveness of AWS security controls. Agreements available in AWS Artifact include the Business Associate Addendum (BAA) and the Nondisclosure Agreement (NDA). AWS Artifact helps you answer the most frequently asked security and compliance questions that AWS receives from its users.
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.

Get full CLF-C02 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 817questions in the bank
  • Newmock on every attempt