0
0
AWScloud~20 mins

Why defense in depth matters in AWS - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Defense in Depth Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why use multiple security layers in AWS?

Imagine your house has a lock on the front door. Why might you also want a security alarm and a fence?

In AWS, this idea is called defense in depth. Why is it important to have several security layers instead of just one?

ABecause one strong layer is enough to stop all attacks
BBecause if one layer fails, others still protect the system
CBecause AWS requires at least three security layers by default
DBecause it makes the system slower and harder to use
Attempts:
2 left
💡 Hint

Think about what happens if a single lock breaks.

Architecture
intermediate
2:00remaining
Identify the defense in depth layers in this AWS setup

Look at this AWS architecture:

  • Public subnet with a web server behind a security group
  • Private subnet with a database protected by a network ACL
  • IAM roles controlling access to resources
  • CloudTrail logging all API calls

Which of these is NOT a layer of defense in depth?

ASecurity group on the web server
BNetwork ACL on the private subnet
CUsing a single password for all users
DCloudTrail logging API calls
Attempts:
2 left
💡 Hint

Think about what helps protect versus what weakens security.

security
advanced
2:00remaining
What happens if you rely only on perimeter security in AWS?

You set up a firewall (security group) to block all traffic except from your office IP. What risk remains if you do not add other security layers?

AIf the firewall is misconfigured or breached, attackers can access resources easily
BNo risk remains because the firewall blocks all traffic
CAWS automatically adds other layers so you are safe
DYour office IP can never be spoofed, so no risk exists
Attempts:
2 left
💡 Hint

Consider what happens if the firewall rule is changed by mistake.

Best Practice
advanced
2:00remaining
Which AWS service adds a defense layer by monitoring and alerting on suspicious activity?

You want to detect unusual API calls or access patterns in your AWS account. Which service helps add this layer of defense?

AAWS CloudTrail
BAmazon S3
CAWS Lambda
DAmazon EC2
Attempts:
2 left
💡 Hint

Think about which service records actions in your account.

service_behavior
expert
2:00remaining
What is the effect of enabling AWS WAF with multiple rules on your web application?

You configure AWS WAF with rules to block SQL injection, cross-site scripting, and IP blacklists. What is the combined effect on incoming traffic?

ARules conflict and cause all traffic to be allowed without filtering
BTraffic must match all rules to be blocked, so only very specific attacks are stopped
CAWS WAF only logs traffic but does not block it automatically
DTraffic matching any rule is blocked, protecting the application from multiple attack types
Attempts:
2 left
💡 Hint

Consider how firewall rules usually combine to protect.