Courseiva
Network DesignmediumDrag & DropObjective-mapped

ANS-C01 Network Design Practice Question

Arrange the steps to configure VPC Flow Logs for a VPC and publish logs to CloudWatch Logs:

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

1. Create a CloudWatch Logs log group. 2. Create an IAM role with permissions to write to CloudWatch Logs. 3. Create the VPC Flow Log, specifying the log group and IAM role. 4. Verify that flow log records are delivered to the log group. 5. Analyze the logs using CloudWatch Logs Insights.

First create the log group, then the IAM role, then the flow log, then verify, then analyze.

Answer analysis

Option-by-option breakdown

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

  • 1. Create a CloudWatch Logs log group. 2. Create an IAM role with permissions to write to CloudWatch Logs. 3. Create the VPC Flow Log, specifying the log group and IAM role. 4. Verify that flow log records are delivered to the log group. 5. Analyze the logs using CloudWatch Logs Insights.

    Why this is correct

    This is the correct sequence because the log group must exist before the flow log is created, and the IAM role must be available to grant permissions. After creating the flow log, verification ensures logs are flowing, and analysis is the final step.

  • 1. Create an IAM role with permissions to write to CloudWatch Logs. 2. Create a CloudWatch Logs log group. 3. Create the VPC Flow Log, specifying the log group and IAM role. 4. Verify that flow log records are delivered to the log group. 5. Analyze the logs using CloudWatch Logs Insights.

    Why it's wrong here

    This order is incorrect because the log group should be created before the IAM role? Actually, the IAM role can be created before the log group, but the typical order is log group first. However, the more critical mistake is that some users might think the role must come first; but the flow log creation requires both, so order of 1 and 2 doesn't affect functionality. However, best practice is to create the log group first. Still, this is plausible but not the recommended order. Explanation: While technically both orders work, the standard approach is to create the log group first to ensure it exists before configuring permissions.

  • 1. Create the VPC Flow Log, specifying a log group and IAM role. 2. Create a CloudWatch Logs log group. 3. Create an IAM role with permissions to write to CloudWatch Logs. 4. Verify that flow log records are delivered to the log group. 5. Analyze the logs using CloudWatch Logs Insights.

    Why it's wrong here

    This is incorrect because the flow log cannot be created before the log group and IAM role exist. The flow log creation will fail if the log group or role is missing.

  • 1. Create a CloudWatch Logs log group. 2. Create the VPC Flow Log, specifying the log group but without an IAM role. 3. Create an IAM role with permissions to write to CloudWatch Logs. 4. Verify that flow log records are delivered to the log group. 5. Analyze the logs using CloudWatch Logs Insights.

    Why it's wrong here

    This is incorrect because the flow log requires an IAM role at creation time. Without it, the flow log creation will fail. The role must be created before the flow log.

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.