Courseiva
Network Security, Compliance and GovernancemediumMultiple SelectObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

A company is designing a security group configuration for a three-tier web application (web, application, database). The web tier is accessible from the internet. Which TWO rules should be applied to meet security best practices?

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

App tier security group: inbound from the web tier security group on port 8080.

In a three-tier architecture, the web tier should be accessible from the internet, so the web tier security group should allow inbound traffic on port 443 (HTTPS) from 0.0.0.0/0 (option D). The application tier should be accessible only from the web tier, so its security group should allow inbound traffic on port 8080 from the web tier security group (option C). The database tier should be accessible only from the application tier, not directly from the web tier or internet. Therefore, options C and D meet best practices.

Answer analysis

Option-by-option breakdown

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

  • App tier security group: inbound from 0.0.0.0/0 on port 8080.

    Why it's wrong here

    The app tier should not be directly accessible from the internet; it should only accept traffic from the web tier.

  • Database tier security group: inbound from the web tier security group on port 3306.

    Why it's wrong here

    The database tier should only accept traffic from the app tier, not directly from the web tier.

  • App tier security group: inbound from the web tier security group on port 8080.

    Why this is correct

    The app tier should only accept traffic from the web tier.

  • Web tier security group: inbound from 0.0.0.0/0 on port 443.

    Why this is correct

    The web tier must accept HTTPS traffic from the internet.

  • Database tier security group: inbound from 0.0.0.0/0 on port 3306.

    Why it's wrong here

    The database tier should never be accessible from the internet.

About these practice questions

This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.