Courseiva
Question 722 of 318
Management and Security GovernancehardMultiple SelectObjective-mapped

SCS-C02 Management and Security Governance Practice Question

A security engineer is designing a solution to automatically remediate noncompliant EC2 security groups. The company uses AWS Organizations with multiple accounts. The engineer wants to deploy an AWS Config rule and a custom Lambda function in a central security account to evaluate and remediate security groups across all accounts. Which combination of steps is REQUIRED to allow the Lambda function to modify security groups in member accounts? (Choose TWO.)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create an IAM role in each member account that allows the central security account to assume it.

The correct approach is to use AWS Config aggregated rules with remediation actions that invoke Lambda cross-account. Option A is required to allow the central account to assume a role in member accounts; Option C is required to invoke the Lambda function from Config. Option B (same account) is not cross-account. Option D is not required because Config aggregates can work with individual accounts. Option E is redundant.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create an IAM role in each member account that allows the central security account to assume it.

    Why this is correct

    This enables cross-account access for the Lambda function to modify security groups.

  • Use AWS CloudFormation StackSets to deploy the Lambda function to all member accounts.

    Why it's wrong here

    This still requires per-account remediation setup, not central.

  • Configure an AWS Config remediation action that invokes the Lambda function in the central account.

    Why this is correct

    Config remediation can invoke a Lambda function cross-account if permissions are set up correctly.

  • Attach a resource-based policy to the Lambda function granting access to Config from all member accounts.

    Why it's wrong here

    Config invokes Lambda via a service-linked role, not resource-based policy cross-account.

  • Create the Lambda function in each member account and configure Config rules in each account.

    Why it's wrong here

    This is operationally inefficient; the goal is central management.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SCS-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SCS-C02 exam.