AWS Certified Security – Specialty (SCS-C02) — Question 270

A company’s developers are using AWS Lambda function URLs to invoke functions directly. The company must ensure that developers cannot configure or deploy unauthenticated functions in production accounts. The company wants to meet this requirement by using AWS Organizations. The solution must not require additional work for the developers.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Using a Service Control Policy (SCP) with a Deny effect is the correct way to enforce security guardrails across member accounts in AWS Organizations. Denying the creation or modification of function URLs when the authentication type is set to NONE successfully prevents unauthenticated public access. Conversely, using an Allow SCP (Option C) does not grant permissions by itself and is not the correct mechanism for enforcing this restriction, as IAM permissions in the member accounts would still dictate access.