nerdexam
Amazon

CLF-C02 · Question #134

A company wants to monitor and block malicious HTTP and HTTPS requests that its Amazon CloudFront distributions receive. Which AWS service should the company use to meet these requirements?

The correct answer is C. AWS WAF. To monitor and block malicious HTTP and HTTPS requests for Amazon CloudFront distributions, AWS WAF is the service designed for this purpose. It provides a web application firewall to protect web applications from common web exploits.

Submitted by krish.m· Mar 6, 2026Security and Compliance

Question

A company wants to monitor and block malicious HTTP and HTTPS requests that its Amazon CloudFront distributions receive. Which AWS service should the company use to meet these requirements?

Options

  • AAmazon GuardDuty
  • BAmazon Inspector
  • CAWS WAF
  • DAmazon Detective

How the community answered

(26 responses)
  • B
    4% (1)
  • C
    88% (23)
  • D
    8% (2)

Why each option

To monitor and block malicious HTTP and HTTPS requests for Amazon CloudFront distributions, AWS WAF is the service designed for this purpose. It provides a web application firewall to protect web applications from common web exploits.

AAmazon GuardDuty

Amazon GuardDuty is a threat detection service that monitors for malicious activity and unauthorized behavior to protect AWS accounts and workloads, but it does not block specific HTTP/HTTPS requests at the application layer.

BAmazon Inspector

Amazon Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS by identifying vulnerabilities, not blocking HTTP/HTTPS requests.

CAWS WAFCorrect

AWS WAF (Web Application Firewall) allows users to create custom rules to filter and block malicious HTTP and HTTPS requests targeting web applications, including those served by Amazon CloudFront. It specifically protects against common web exploits such as SQL injection and cross-site scripting.

DAmazon Detective

Amazon Detective is a security service that investigates the root cause of security findings or suspicious activities and helps analyze, investigate, and identify the root cause of security issues, not block requests in real-time.

Concept tested: Web application firewall for CloudFront

Source: https://docs.aws.amazon.com/waf/latest/developerguide/cloudfront-features.html

Community Discussion

No community discussion yet for this question.

Full CLF-C02 Practice