Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 6

Question 28 — AZ-104 Practice Exam 6

You are designing security for an online retailer with two tiers: web servers and application servers. Web servers must accept HTTP/HTTPS from the internet, and application servers must only accept SQL requests from the web servers. Which combination of rules best secures the environment? (Select one answer)

  1. Allow internet → web servers (ports 80/443), deny all traffic between web and app servers

  2. Allow web servers → app servers (port 1433), deny all traffic to web servers, allow internet → app servers (ports 80/443)

  3. Allow internet → app servers (ports 80/443), allow web servers → app servers (port 1433), allow HTTP/HTTPS to app servers

  4. Allow internet → web servers (ports 80/443), allow web servers → app servers (port 1433), deny HTTP/HTTPS to app servers

Correct answers

  1. Allow internet → web servers (ports 80/443), allow web servers → app servers (port 1433), deny HTTP/HTTPS to app servers

Explanations

Correct
Allow internet → web servers (ports 80/443), allow web servers → app servers (port 1433), deny HTTP/HTTPS to app servers – This matches the example configuration and ensures customers can reach the site while protecting databases.

Wrong
Allow internet → app servers (ports 80/443)… – This exposes the database tier directly to the internet, insecure.
Allow web servers → app servers (port 1433), deny all traffic to web servers… – Customers would not be able to access the site at all.
Allow internet → web servers (ports 80/443), deny all traffic between web and app servers… – Breaks application function by blocking SQL queries.