What Is a Denial-of-Service Attack? (Explained Clearly) - DoS vs. DDoS
CompTIA Security+ SY0-801: Cybersecurity Fundamentals
Learn what a denial of service attack is, how DoS differs from DDoS, and what defenders check to tell an attack from an ordinary service outage.
👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn what a denial-of-service (DoS) attack is, how it differs from a distributed denial-of-service (DDoS) attack, and why both threaten availability in the CIA triad. This beginner-friendly CompTIA Security+ guide explains what defenders check before calling an outage an attack.
Chapters:
0:00 Intro
0:16 What is a denial-of-service attack?
0:56 What’s the difference between DoS and DDoS?
1:37 Does a DoS attack always flood the network?
2:33 How do defenders recognize and respond to a DoS attack?
3:37 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
- A denial-of-service (DoS) attack deliberately disrupts availability. A site can still load while a critical function like checkout fails; that alone doesn’t show data was stolen or changed.
- DDoS is DoS from multiple systems, not necessarily multiple attackers. Traffic from many IP addresses isn’t proof of an attack: a surge of legitimate users can look similar.
- Identify the bottleneck first: bandwidth saturation can take several services offline, connection exhaustion can block new sessions, and application overload can break just one feature. Not every DoS attack causes a traffic spike.
- An outage isn’t proof of an attack. Compare traffic, connection errors, and backend health against normal levels, then check whether a recent deployment, a failing dependency, or legitimate demand explains the symptoms.
- Match mitigation to the bottleneck and verify recovery. Use upstream filtering for a saturated link or targeted rate limits and caching for application overload. Confirm users can complete a critical task, not just load the homepage. See the UK NCSC’s DoS response plan.
- 👉 Ready to put these concepts to work? Try Pluralsight for guided labs and feedback, plus assessments and practice exams to focus your Security+ prep.
A denial-of-service (DoS) attack is a deliberate attempt to keep legitimate users from accessing a system, application, or network resource. The service doesn’t have to go completely offline. If an online store’s homepage loads but shoppers can’t complete checkout, the store has lost an essential function even though the website still appears to be up.
The key word is deliberate. A broken checkout page tells you there’s an availability problem. It doesn’t tell you whether the cause is an attack, a software bug, or more customers than the store can handle.
What Does a Denial-of-Service Attack Target?
A DoS attack primarily targets , the “A” in the : confidentiality, integrity, and availability. Availability means authorized users can access a service when they need it and get a response in time to use it. An emergency dispatch system that still responds, but too slowly for responders to rely on, has an availability problem even if it never goes fully offline.
FAQ
Quick answers to the questions people usually ask about this topic.
Does an HTTP 503 error mean a website is under a denial-of-service attack?
Does an HTTP 503 error mean a website is under a denial-of-service attack?
No. A 503 Service Unavailable error means the server is temporarily unable to handle the request. Maintenance, legitimate traffic spikes, and problems with backend systems can all produce the same error. To investigate, compare when the errors began with normal traffic patterns, recent deployments, and the health of systems the website depends on.
Can a DDoS attack affect some users but not others?
Can a DDoS attack affect some users but not others?
Yes. The impact depends on which part of the service is disrupted. If a DNS provider is affected, for example, users whose devices or DNS resolvers still have a valid cached address may reach the site, while users who need a fresh lookup may not. A successful check from one location doesn't rule out an availability problem elsewhere.
How long does a denial-of-service attack last?
How long does a denial-of-service attack last?
There’s no fixed duration. Disruption can be brief, sustained, or recur in waves. The end of the attack and the return of normal service are separate milestones: even after unwanted traffic subsides, responders should verify that users can complete essential tasks, such as signing in or checking out.
What should a small business prepare before a DDoS attack?
What should a small business prepare before a DDoS attack?
Keep an up-to-date contact list for your hosting provider, internet provider, and DNS provider. Assign someone to coordinate the response, record what normal traffic and error rates look like, and decide which customer functions you’ll test to confirm recovery. The UK National Cyber Security Centre’s minimal denial-of-service response plan is a starting point.
How can I practice reasoning through DoS and DDoS scenarios for CompTIA Security+?
How can I practice reasoning through DoS and DDoS scenarios for CompTIA Security+?
Start with a tabletop scenario and explain what you’d check first, what evidence you’d need before calling the outage an attack, and how you’d confirm recovery. For a hands-on next step, try a guided cybersecurity lab with Pluralsight. Use lab feedback to refine your reasoning, then use assessments and practice exams to identify what to review next.
Comments
Add a comment...Pinned by @jaymayor
@jaymayor👉 Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Some links may earn a commission. Thanks for your support.
