nerdexam
Amazon

SAP-C02 · Question #243

A company hosts its primary API on AWS by using an Amazon API Gateway API and AWS Lambda functions that contain the logic for the API methods. The company s internal applications use the API for…

The correct answer is C. Use AWS WAF to protect the API Gateway API. Configure Amazon inspector to analyze the. Single EC2 instance, so legacy API does not apply WAF (WAF for ALB, API gateway, cloudfront).

Submitted by the_admin· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A company hosts its primary API on AWS by using an Amazon API Gateway API and AWS Lambda functions that contain the logic for the API methods. The company s internal applications use the API for core functionality and business logic. The company's customers use the API to access data from their accounts Several customers also have access to a legacy API that is running on a single standalone Amazon EC2 instance. The company wants to increase the security for these APIs to better prevent denial of service (DoS) attacks, check for vulnerabilities, and guard against common exploits. What should a solutions architect do to meet these requirements?

Options

  • AUse AWS WAF to protect both APIs. Configure Amazon Inspector to analyze the legacy API.
  • BUse AWS WAF to protect the API Gateway API. Configure Amazon Inspector to analyze both
  • CUse AWS WAF to protect the API Gateway API. Configure Amazon inspector to analyze the
  • DUse AWS WAF to protect the API Gateway API. Configure Amazon inspector to protect the

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    9% (3)
  • C
    70% (23)
  • D
    15% (5)

Explanation

Single EC2 instance, so legacy API does not apply WAF (WAF for ALB, API gateway, cloudfront).

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice