Courseiva
Network Management and OperationsmediumMultiple ChoiceObjective-mapped

ANS-C01 Network Management and Operations Practice Question

Exhibit

Refer to the exhibit.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ec2:CreateNetworkInterface",
                "ec2:DescribeNetworkInterfaces",
                "ec2:DeleteNetworkInterface"
            ],
            "Resource": "*"
        }
    ]
}
```

A network engineer is troubleshooting an AWS Lambda function that needs to create and manage ENIs in a VPC. The Lambda function is unable to create ENIs. The IAM policy attached to the Lambda execution role is shown in the exhibit. What is the issue?

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

The policy is missing the ec2:AttachNetworkInterface action.

The policy includes permissions for ec2:CreateNetworkInterface, ec2:DescribeNetworkInterfaces, and ec2:DeleteNetworkInterface, but it is missing ec2:AttachNetworkInterface. Without this action, the Lambda function cannot attach an ENI to the VPC, which is necessary for Lambda to manage ENIs. Option A is incorrect because the resource restriction in the policy is not the issue; the actions are allowed on any resource. Option B is incorrect because the policy does include ec2:CreateNetworkInterface. Option C is incorrect because it states the policy does not allow ec2:DeleteNetworkInterface, but it does.

Answer analysis

Option-by-option breakdown

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

  • The policy restricts the resource to a specific VPC.

    Why it's wrong here

    Resource is *, so no restriction.

  • The policy does not allow the ec2:CreateNetworkInterface action.

    Why it's wrong here

    The policy allows it.

  • The policy does not allow the ec2:DeleteNetworkInterface action.

    Why it's wrong here

    The policy allows it.

  • The policy is missing the ec2:AttachNetworkInterface action.

    Why this is correct

    Lambda also needs ec2:AttachNetworkInterface to attach the ENI.

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

One of 1,621 original ANS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ANS-C01 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 ANS-C01 exam.