A Distributed Denial of Service (DDoS) attack is when many computers send a huge amount of traffic to a target system to overwhelm it and make it unavailable to real users.
Click to reveal answer
beginner
Name one common strategy to protect against DDoS attacks.
Using a Content Delivery Network (CDN) to absorb and distribute traffic, reducing the load on the main server.
Click to reveal answer
intermediate
How does rate limiting help in DDoS protection?
Rate limiting controls how many requests a user or IP can make in a time period, preventing attackers from flooding the system with too many requests.
Click to reveal answer
intermediate
What role does a Web Application Firewall (WAF) play in DDoS protection?
A WAF filters and blocks malicious traffic before it reaches the server, helping to stop harmful requests that could be part of a DDoS attack.
Click to reveal answer
intermediate
Why is traffic monitoring important in DDoS defense?
Traffic monitoring helps detect unusual spikes or patterns early, so defenses can activate quickly to block or mitigate attacks.
Click to reveal answer
Which of the following is NOT a typical DDoS protection method?
ARate limiting
BDeploying a WAF
CUsing a CDN
DIncreasing server CPU speed
✗ Incorrect
Increasing server CPU speed alone does not protect against DDoS attacks, which overwhelm network or application resources.
What does a CDN do to help against DDoS attacks?
ADistributes traffic across many servers
BEncrypts data
CLimits user login attempts
DBlocks all traffic
✗ Incorrect
A CDN spreads incoming traffic across many servers to reduce the load on any single server.
Rate limiting is best described as:
AControlling the number of requests per user/IP
BBlocking all traffic
CAllowing unlimited requests
DEncrypting user data
✗ Incorrect
Rate limiting controls how many requests a user or IP can make in a set time to prevent flooding.
Which tool filters malicious web traffic to protect applications?
ADatabase
BLoad balancer
CWeb Application Firewall (WAF)
DCache
✗ Incorrect
A WAF filters and blocks harmful web traffic before it reaches the application.
Why is early traffic monitoring important in DDoS defense?
ATo increase server speed
BTo detect attacks quickly and respond
CTo block all users
DTo reduce bandwidth
✗ Incorrect
Early detection through monitoring allows quick response to stop or reduce attack impact.
Explain the main strategies used to protect a system from DDoS attacks.
Think about how to reduce load, block bad traffic, and spot attacks early.
You got /4 concepts.
Describe how rate limiting and WAF complement each other in DDoS protection.
One limits quantity, the other filters quality of requests.
You got /3 concepts.
Practice
(1/5)
1. Which of the following is a primary goal of DDoS protection strategies?
easy
A. Keep the service available during attack
B. Increase the number of incoming requests
C. Slow down legitimate user traffic
D. Disable firewalls to allow all traffic
Solution
Step 1: Understand the purpose of DDoS protection
DDoS protection aims to prevent attacks from making a service unavailable by handling malicious traffic.
Step 2: Evaluate each option against this purpose
Increasing requests or slowing legitimate traffic harms availability. Disabling firewalls reduces security. Only keeping service available matches the goal.
Final Answer:
Keep the service available during attack -> Option A
Quick Check:
DDoS protection = Keep service available [OK]
Hint: DDoS protection means keeping service up, not blocking all traffic [OK]
Common Mistakes:
Confusing DDoS protection with traffic blocking
Thinking DDoS protection increases traffic
Assuming firewalls should be disabled during attacks
2. Which component is commonly used to distribute incoming traffic and help mitigate DDoS attacks?
easy
A. Load balancer
B. Cache server
C. Database server
D. Application server
Solution
Step 1: Identify components that manage traffic
Load balancers distribute incoming requests across multiple servers to prevent overload.
Step 2: Match component to DDoS mitigation role
Load balancers help absorb and spread traffic, reducing attack impact. Other options do not distribute traffic.
Final Answer:
Load balancer -> Option A
Quick Check:
Traffic distribution = Load balancer [OK]
Hint: Load balancers spread traffic to avoid overload [OK]
Common Mistakes:
Confusing cache or database servers as traffic distributors
Thinking application servers handle traffic distribution
Ignoring the role of load balancers in DDoS defense
3. Consider a system using a CDN and a firewall with rate limiting. Which of the following best describes the request flow during a DDoS attack?
medium
A. Requests go directly to the origin server, bypassing CDN and firewall
B. CDN absorbs traffic, firewall filters requests, then origin server processes allowed requests
C. Firewall blocks all requests, CDN caches nothing
D. Origin server handles all requests before CDN and firewall
Solution
Step 1: Understand CDN and firewall roles
CDNs cache content and absorb traffic near users. Firewalls filter malicious requests before reaching origin.
Step 2: Trace request flow during attack
Requests first hit CDN, which reduces load. Firewall then filters suspicious traffic. Only allowed requests reach origin server.
Final Answer:
CDN absorbs traffic, firewall filters requests, then origin server processes allowed requests -> Option B
Quick Check:
Request flow = CDN -> Firewall -> Origin [OK]
Hint: Traffic flows CDN -> Firewall -> Origin server during attack [OK]
Common Mistakes:
Assuming requests bypass CDN or firewall
Thinking firewall blocks all requests indiscriminately
Believing origin server handles all traffic first
4. A system uses IP blacklisting to block attackers, but legitimate users are still affected. What is the likely issue?
medium
A. Firewall is disabled
B. Blacklist is empty, no IPs blocked
C. Blacklist is too broad, blocking shared IPs
D. System does not log blocked IPs
Solution
Step 1: Analyze impact of IP blacklisting
Blacklisting blocks specific IPs. If too broad, it may block IPs shared by many users.
Step 2: Identify why legitimate users are affected
Blocking shared IPs causes collateral damage to good users. Other options do not explain this effect.
Final Answer:
Blacklist is too broad, blocking shared IPs -> Option C
Quick Check:
Legitimate users blocked = Broad blacklist [OK]
Hint: Too broad blacklist blocks good users too [OK]
Common Mistakes:
Assuming empty blacklist blocks users
Ignoring shared IP usage in blacklisting
Thinking firewall status causes this issue
5. You design a DDoS protection system combining CDN, rate limiting, and real-time traffic analysis. Which approach best balances user experience and attack mitigation?
hard
A. Apply strict rate limits globally, blocking many users during spikes
B. Allow all traffic and rely on origin server capacity
C. Disable CDN and rely only on manual IP blocking
D. Use CDN to absorb traffic, apply adaptive rate limits based on analysis, and alert admins on anomalies
Solution
Step 1: Evaluate each strategy's impact on users and attack defense
Strict global limits block many users, hurting experience. Disabling CDN or manual blocking is slow and risky.
Step 2: Identify balanced approach
Using CDN to absorb traffic reduces load. Adaptive rate limits adjust to traffic patterns, minimizing false blocks. Real-time alerts enable quick response.
Final Answer:
Use CDN to absorb traffic, apply adaptive rate limits based on analysis, and alert admins on anomalies -> Option D