Cyber Security · সাইবার নিরাপত্তা
Protecting systems — cryptography, common attacks, and network & application security.
- Past MCQs
- 76
- Written
- 164
- Chapters
- 6
How Cyber Security is asked · পরীক্ষায় যেভাবে আসে
Our 135 papers that ask Cyber Security (2012–2026) hold 240 of its questions; Attacks & Threats alone makes up 47.9% of them. It makes up 4.8% of the questions in our Bank IT jobs papers, against 0.7% in ICT teaching posts (NTRCA). 2 of its MCQs came back in a second exam.
- Papers that ask it
- 135
- Years covered
- 2012–2026
- MCQ / written
- 76 / 164
- MCQs asked again
- 2
Most asked chapters · বেশি আসা অধ্যায়
Each chapter's share of the 240 past-exam questions
Share of each exam's questions · পরীক্ষাভিত্তিক অংশ
Cyber Security questions in each exam's papers, and their share of that exam's questions
- Bank IT jobs of 2,3881154.8%
- Government IT officer posts of 2,337994.2%
- BPSC non-cadre IT posts of 716152.1%
- BCS (ICT and CSE cadre) of 49271.4%
- M.Sc. admission (CSE and ICT) of 17721.1%
- ICT teaching posts (NTRCA) of 30020.7%
Asked in more than one exam · একাধিক পরীক্ষায় এসেছে
2 MCQs in Cyber Security came back word for word in a second exam; the 2 most repeated technical ones below, each linked to the papers.
How can we prevent SQL Injection Attack?
Cyber Security, asked in 2 exams:Sonali Bank Senior Officer Oct 2021Janata Bank Assistant Network Engineer 2020
Which tool could be used for detecting vulnerability through SQL injection?
Cyber Security, asked in 2 exams:Sonali & Janata Officer (IT/ICT) 2019Sonali Bank Assistant Engineer (IT) 2016
Counted from our own past papers: every past-exam MCQ and written question, each filed under one syllabus chapter. Practice questions and questions held for live tests are not counted; no answer is shown here.
Syllabus by chapter · অধ্যায়ভিত্তিক সিলেবাস
- Cryptography · 144 questions
- Digital Signature, Two-Factor Authentication (2FA), IT Disaster Recovery Plan (DRP) and BCP for a Data Centre, Man-in-the-Middle Attack on Diffie-Hellman, High-Level Structure of DES, Classifying MD5, AES, RSA, and Diffie-Hellman
- Attacks & Threats · 237 questions
- SQL Injection and Prevention, SQL Injection, Trojan Horse, Trojan Horse / Malware, Threat Mitigation for Hosted Applications, DHCP Starvation and Man-in-the-Middle (MITM)
- Network & Application Security · 139 questions
- Two-Factor Authentication (2FA), Multi-layered Online Banking Security, Securing a Web Server for E-Banking, Securing Client-Database Communication, Demilitarized Zone (DMZ) and Sandbox, The CIA Triad
- Security Concepts · 37 questions
- Policy vs Guideline vs Procedure and Audit Risk Types, Confidentiality vs Integrity
- Mixed Topics · 13 questions
- White Hat / Ethical hackers, Electronic Payment System (EPS) — Definition, Diagram, and Types, White-hat / Ethical Hacking, Cybercrime Prevention, Cyber crime — types & prevention
- IS Policy, Compliance, Audit & Cyber Law · 35 questions
- Cyber law & BD regulation (ICT Act, Cyber Security Act, BB ICT Security Guideline), Information security policy, risk, audit & compliance, Business continuity & disaster recovery (BCP / DRP)
Loading sample questions…
Start learning: Security Fundamentals and the CIA Triad · সিকিউরিটি ফান্ডামেন্টালস এবং CIA ট্রায়াড
Security Fundamentals and the CIA Triad
It is the evening before Eid. Rahim, a student in Dhaka, opens a mobile-money app and sends Tk 5,000 to his mother in Barishal, so that she can finish her shopping in the morning. It takes five seconds. But look at what could go wrong with that one transfer. A stranger at the next table in the tea stall, on the same open Wi-Fi, might read the amount and his mother's number. Someone along the way might quietly change 5,000 into 50,000, or the account number into his own. Or the app might simply refuse to open, because ten million other people are sending money in the same minute.
People call all three "hacking", or "a bug", or "bad luck". A security person calls them by three different names: the first spoiled confidentiality, the second integrity, the third availability. That naming is the first real skill of this subject, because each of the three is stopped by a different tool. Encryption does nothing for a server that is down, and a backup does nothing for a message that was read in transit.
This chapter gives you the vocabulary that every later chapter of cyber security stands on. By the end you will name which goal an event breaks and say why, in the words an examiner expects. You will separate confidentiality from integrity with a worked example, calculate availability in nines and in hours of downtime, and tell identification, authentication, authorisation and accounting apart. You will explain what a security service is and what a mechanism is, use the five words of risk (asset, threat, vulnerability, exploit, risk) without mixing them up, and defend a design with the classic principles, from least privilege to zero trust.
We go in seven parts, from easy to hard. The three goals come first, then the extra words (authenticity, accountability, non-repudiation) and the attacker's mirror image of the triad. Then the four steps of access, the X.800 standard, the language of risk, the design principles, and last the controls that put it all to work, with one full bank incident worked through from start to finish.
:::why ids=cb260103-2,085-10,016-53,097a-12,cb260103-17,bsc260725-51,bpsc261029-14,sob261114-94,cb260103-27,114-14,wo00318,bsc260103-w9,npcbl260711-w1,bb261016deo-w2,bb261016deo-w7,wo02380,wo01376,wo01569,wo02001,wo01364,wo01730,wo00997,wo00257,bsc260124-w3,wo01815
Exams ask this chapter in two ways. One-mark MCQs name an event and ask which goal it breaks, or give a term and ask what it means: a computer that can no longer be reached, a falsified web page, a sender who cannot deny a message, an administrative control, a second factor. Written papers ask you to explain: what the CIA triad is, whether you can have confidentiality without integrity, how authentication differs from authorisation, what non-repudiation is, how a threat differs from a vulnerability and from a risk, and how to calculate availability. Every one of those ideas is taught below with an example and the reason behind it.
:::
:::hook id=sec1-hook
Overnight, ransomware encrypted every file on a hospital's appointment server. Staff cannot open anything this morning. No record was copied out, and nobody edited a single figure by hand. Which security goal was broken?
- Confidentiality
- Integrity
- Availability
- Authenticity
Availability. The data is still there and still correct, but the people who need it cannot use it when they need it. Confidentiality would be broken only if someone had read or copied the records, and integrity only if the contents had been changed without permission. Authenticity is about whether something is genuine, which is not the issue here. The skill is the same each time: look at what the event did, and name the goal it broke. Part 1 builds that skill.
:::
Part 1: The three goals, CIA
What security protects
Before the three letters, one plain question: protect what, and from whom? Security is about assets, which means anything that is worth something to someone. A customer database is an asset. So is the server it sits on, the staff who run it, and the bank's good name in the newspapers.
The formal definition comes from the NIST glossary, which quotes US law (44 U.S.C. §3542). Information security is protecting information and information systems from unauthorised access, use, disclosure, disruption, modification or destruction. Read the verbs slowly, because they are not a random list. Disclosure means someone sees what they should not. Modification and destruction mean someone changes or wrecks what is stored. Disruption means someone stops the information from being usable when it is needed. Group the verbs and three goals appear, and those three are what this chapter is built on.
You will also meet the phrase cyber security. Information security is the wider circle: it covers a paper file in a locker, a PIN whispered over a counter, and a document in a cabinet, as well as computers. Cyber security is the part of it that protects digital systems and networks. Most textbooks and exam papers use the two names almost interchangeably, so do not spend time worrying about the difference; just know that the first is the bigger circle.
The picture below follows Rahim's transfer from his phone to his mother's and shows where each of the three goals has to hold.
:::figure caption="The three goals along one transfer: who can read it, whether it arrives unchanged, whether the system is up" alt="Four boxes in a row: Rahim's phone, mobile network, wallet server, mother's phone, joined by arrows. Below, three rows: C, confidentiality, nobody on the path can read the amount; I, integrity, Tk 5,000 sent is Tk 5,000 received; A, availability, every part is up when you press Send." maxw=440
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 222" width="360" height="222"><rect x="4" y="10" width="66" height="46" rx="5" class="f-net"/><text x="37" y="30" text-anchor="middle" font-size="11.5" class="f-on">Rahim's</text><text x="37" y="46" text-anchor="middle" font-size="11.5" class="f-on">phone</text><rect x="99" y="10" width="66" height="46" rx="5" class="f-net"/><text x="132" y="30" text-anchor="middle" font-size="11.5" class="f-on">Mobile</text><text x="132" y="46" text-anchor="middle" font-size="11.5" class="f-on">network</text><rect x="194" y="10" width="66" height="46" rx="5" class="f-net"/><text x="227" y="30" text-anchor="middle" font-size="11.5" class="f-on">Wallet</text><text x="227" y="46" text-anchor="middle" font-size="11.5" class="f-on">server</text><rect x="289" y="10" width="66" height="46" rx="5" class="f-net"/><text x="322" y="30" text-anchor="middle" font-size="11.5" class="f-on">Mother's</text><text x="322" y="46" text-anchor="middle" font-size="11.5" class="f-on">phone</text><polygon class="f-host" points="70,32.2 93,32.2 93,33.8 70,33.8"/><polygon class="f-host" points="99,33 93,29.7 93,36.3"/><polygon class="f-host" points="165,32.2 188,32.2 188,33.8 165,33.8"/><polygon class="f-host" points="194,33 188,29.7 188,36.3"/><polygon class="f-host" points="260,32.2 283,32.2 283,33.8 260,33.8"/><polygon class="f-host" points="289,33 283,29.7 283,36.3"/><circle cx="22" cy="90" r="14" class="f-host"/><text x="22" y="95" text-anchor="middle" font-size="14" font-weight="700" class="f-on">C</text><text x="46" y="86" text-anchor="start" font-size="12" font-weight="700" class="f-ink">Confidentiality</text><text x="46" y="104" text-anchor="start" font-size="11.5" class="f-mute">Nobody on the path can read the amount</text><circle cx="22" cy="140" r="14" class="f-host"/><text x="22" y="145" text-anchor="middle" font-size="14" font-weight="700" class="f-on">I</text><text x="46" y="136" text-anchor="start" font-size="12" font-weight="700" class="f-ink">Integrity</text><text x="46" y="154" text-anchor="start" font-size="11.5" class="f-mute">Tk 5,000 sent is Tk 5,000 received</text><circle cx="22" cy="190" r="14" class="f-host"/><text x="22" y="195" text-anchor="middle" font-size="14" font-weight="700" class="f-on">A</text><text x="46" y="186" text-anchor="start" font-size="12" font-weight="700" class="f-ink">Availability</text><text x="46" y="204" text-anchor="start" font-size="11.5" class="f-mute">Every part is up when you press Send</text></svg>
:::
In one line: security protects the value of assets, and every protection can be traced back to one of three goals: confidentiality, integrity, availability.
Confidentiality: who may read this?
Think of a sealed envelope marked "confidential" on a government officer's table. The peon may carry it from room to room, but he may not open it. The envelope does not stop a thief from stealing it; it only says who is allowed to read what is inside.
Confidentiality is exactly that promise for information: only authorised parties may see it. The NIST glossary words it as "preserving authorized restrictions on information access and disclosure, including means for protecting personal privacy and proprietary information". The question confidentiality answers is simply: who is allowed to read this?
How is it kept? There are five ordinary tools. Encryption turns readable text (plaintext) into unreadable text (ciphertext) with a key, so that a copy stolen on the way is useless. Access control decides, file by file and person by person, who may open what. Authentication makes a person prove who they are before the access control decision. Classification labels information (public, internal, confidential, secret) so that everyone knows how to handle it. And physical measures such as a locked server room or a privacy screen protect against the person who simply looks over your shoulder.
Confidentiality fails in familiar ways. A laptop holding an unencrypted customer list is stolen from a car. Someone sniffs a login on open café Wi-Fi. A medical report is e-mailed to the wrong person by mistake, which is a reminder that a leak does not need an attacker; a careless colleague is enough.
Do not confuse confidentiality with privacy. Privacy is a person's right to decide who may know what about them. Confidentiality is the organisation's duty, and the set of tools, for honouring that right for the data it holds. A Combined 4 Bank Assistant Programmer paper (2020) asked what the "cyber security triad" means, and its wrong options replaced Confidentiality with Privacy, Integrity with Reliability, and Availability with Accessibility or Approachability. The three words are Confidentiality, Integrity and Availability, exactly.
Let us use the idea once. A hacker copies the students' results file and posts it online. Not one mark was changed, and the results site is still running. Ask three questions in turn. Was something read by a person who should not have read it? Yes. Was something changed? No. Was something made unreachable? No. Only the first answer is yes, so the broken goal is confidentiality. Keep these three questions; they will classify almost every incident you meet.
The trap here is that a confidentiality failure often leaves no mark at all. The data is still there, still correct, still online. Nothing looks broken, which is exactly why leaks are discovered late.
In one line: confidentiality means only the right people can read it, and it breaks when information reaches someone who should not have it.
Integrity: is it exactly what was written?
Picture an old bank ledger written in ink, where a mistake is crossed out with one neat line and initialled, never rubbed out. That habit is integrity: what you read in the ledger is what was written, and any change leaves a visible trace.
Integrity, in the NIST glossary, is "guarding against improper information modification or destruction, and includes ensuring information non-repudiation and authenticity". It has three flavours worth naming. Data integrity means the stored or transmitted data has not been changed. System integrity means the system itself does what it was designed to do, without unauthorised tampering. Source integrity means the data really comes from where it claims to come. The question integrity answers is: is this exactly what was written, by whom it was written?
A change need not be an attack. A disk fault that flips one bit in a stored balance is an integrity failure just as much as a fraudster editing the figure. Donn Parker, whom we meet again in Part 2, put it as "whole, sound and unimpaired".
Three kinds of tool protect integrity. Preventive tools stop the change: permissions that give write access to very few people, and input validation that stops a form from smuggling commands into a database (the web-security chapter shows how). Detective tools notice it: checksums, hashes, message authentication codes and digital signatures. Corrective tools undo it: a backup lets you restore the last good version.
Now let us look at the detective tools in numbers. A hash function squeezes any message into a fixed-length fingerprint. Here is real output from Python's hashlib (SHA-256, run on 16 November 2026) for two messages that differ in a single character:
Pay Rahim Tk 1000 -> 3fc570331fb624ba2e8b5611e4c56300e90c17bd207253250978274ad66bf8f4
Pay Rahim Tk 9000 -> a7701f12f07e8b417536c8b76b2a8575cab64a663f4ea73e59cc3df3731df083
The two messages differ in exactly 1 bit out of 136 (the character 1 is binary 00110001 and 9 is 00111001). Their fingerprints differ in 148 bits out of 256, about 58 per cent, close to the 50 per cent you would expect from a well-behaved hash. This is called the avalanche effect: a tiny change in the message gives a completely different fingerprint, so a changed file is easy to notice. SHA-256 always produces 256 bits, which is 64 hexadecimal digits. How a hash is built, and why it is hard to reverse, belongs to the cryptography chapters; here we only use it.
But a plain hash has a gap. The attacker who changes the message can compute the hash of the new message too, because the hash needs no secret. That is why the fingerprint above for 9000 is no harder to produce than the one for 1000. Against a person who wants to tamper, the fingerprint must depend on a secret key. A message authentication code such as HMAC does that. Real output with a shared key branch-secret-key:
tag(original) 3bd196e3eeb04ab22be16a8ac3cd33ffb114819cea1763101b9973d86ce6604f
tag(altered) 12b64dc5490e4edda714d41e5d00e1d9d70092334072821dbadcb1a1e1bcb64a
check of the altered text against the original tag -> False
Without the key, the attacker cannot produce the tag for the altered text, so the receiver's check fails and the change is caught. A digital signature goes one step further: it is made with a private key that only the signer holds, so anyone can check it but only the signer could have made it (Part 2 and the cryptography chapters explain how). The table puts the four detective tools side by side.
:::table caption="Four ways to detect a change, and what each one can promise" wrap=1
| Tool | Who can compute it | Catches an accident | Catches deliberate tampering | Proves who made it |
|---|---|---|---|---|
| Checksum or CRC (a simple error-check number) | Anyone | Yes | No | No |
| Plain hash (SHA-256) | Anyone | Yes | Only if the hash itself arrives by a trusted route | No |
| MAC (HMAC) | Only the holders of the shared key | Yes | Yes | No: either key holder could have made it |
| Digital signature | Only the signer can create it; anyone can check it | Yes | Yes | Yes, the signer |
| ::: |
Two traps live here. The first is a hash published on the same untrusted page as the file it describes. If an attacker controls the page, the attacker replaces both, and the hash protects only against accidents such as a broken download.
The second trap is the word itself. In a database course, "integrity" means rules such as "every foreign key must match a real row" (referential integrity), and the phrase "data integrity" is used there for how accurate and correct the stored data is. Security integrity is about change that is unauthorised or undetected. The two senses are related, but the examiner usually makes clear which one he means.
And one more small trap: the letter I in CIA stands for Integrity, never for Identification or Authentication; those belong to Part 3.
In one line: integrity means the information is exactly what was written and any change can be detected; hashes catch accidents, while keys (MAC, signature) catch tampering.
Confidentiality without integrity, and the other way round
A Combined Bank Senior Officer (AME/AE) written paper (2021) asked: Explain confidentiality and integrity. Can you have confidentiality without integrity? Can you have integrity without confidentiality? The surprising answer is yes to both, and the best answers prove it with an example.
Start with confidentiality without integrity. Suppose Rahim's app encrypts the message with a simple stream cipher: the plaintext is combined bit by bit (XOR) with a secret stream of key bytes. The attacker in the tea stall cannot read the ciphertext. But he knows the message has the shape Pay Rahim Tk 1000, and he knows where the amount sits. Here is a local run with a toy keystream:
plaintext : b'Pay Rahim Tk 1000'
ciphertext : efe9c03199aa5a5bda5db9ecae76c97e46
attacker XORs byte 13 with 0x8 ( '1' xor '9' = 0x08 ); he never learns the key
modified : efe9c03199aa5a5bda5db9ecae7ec97e46
receiver gets: b'Pay Rahim Tk 9000'
The attacker flipped one bit in the ciphertext, and the receiver decrypted a perfectly valid message with the amount changed. The data stayed confidential (he never read it) and still lost its integrity. So encryption alone does not protect integrity. Real systems combine encryption with a MAC or use modes built to do both at once (the TLS cipher suites with AES-GCM or ChaCha20-Poly1305 are examples; the cryptography chapter explains how they work).
Now the other way round. A notice of examination results is published openly with a digital signature. Everyone can read it, so there is no confidentiality, but nobody can change a mark without the signature check failing. That is integrity without confidentiality.
:::table caption="The four combinations of confidentiality and integrity" wrap=1
| Case | Example |
|---|---|
| Confidentiality, no integrity | An encrypted message that the attacker cannot read but can alter (the bit-flip above) |
| Integrity, no confidentiality | A signed public notice: everyone reads it, nobody can change it unseen |
| Both | An encrypted and signed bank transfer |
| Neither | A plain-text message over open Wi-Fi |
| ::: |
If your exam answer states both combinations and one example for each, you have answered the question completely.
Here is the same thinking used to choose controls. A company sends salary data over the Internet and worries about two things: that outsiders may read it, and that someone may change the figures on the way. The first worry is about confidentiality, so the answer is encryption (TLS, the protocol behind the padlock in a browser, or AES, a standard cipher, inside the application). The second is about integrity, so the answer is a MAC or a digital signature that fails if even one figure changes. Using both gives you encrypt-and-authenticate, and a signature adds proof of who sent the file as a bonus.
One more point: signing is not encrypting: a signature proves integrity and origin, but the signed message itself can still be plain text that anyone reads.
In one line: confidentiality hides, integrity detects change, and one does not give you the other, so serious systems use both.
Availability: there when you need it
Think of an ATM on the night before Eid. The vault behind it may be perfectly safe and every balance perfectly correct, but if the machine is out of order when the queue is longest, the bank has failed its customers.
Availability is "ensuring timely and reliable access to and use of information" (NIST glossary). Both adjectives count. Reliable means it works consistently. Timely means fast enough: a banking page that answers after five minutes is, for practical purposes, down. The question availability answers is: can authorised users get at it when they need it?
What takes it away? A denial-of-service attack floods a service with requests (the Networking course counts the bandwidth). A power cut, a failed disk, a fire, a flood and a cut cable do the same without any attacker. So do a bad software update and a clerk who deletes a table by mistake. Ransomware is an availability attack too: it encrypts the files so that their owners cannot use them, until a ransom is paid.
What protects it? Redundancy: a spare for every part that can fail, such as mirrored disks (RAID), a second server, two power feeds. A UPS and a generator keep the lights on. Backups and a disaster-recovery plan bring a service back (a later chapter in this course takes them in full). Load balancing and failover spread work across servers and switch away from a dead one. DDoS protection filters the flood. And plain maintenance and patching keep systems from falling over.
Availability is usually measured as a percentage of uptime, and engineers speak of "nines". Over a year of 365 × 24 × 60 = 525,600 minutes, the downtime allowed is (1 − availability) × 525,600 minutes. I computed these by running code:
:::table caption="Availability and the downtime it allows" wrap=1
| Availability | Per year | Per 30 days | Per day |
|---|---|---|---|
| 99% (two nines) | 5,256 min = 87.6 hours | 432 min | 864 s |
| 99.9% (three nines) | 525.6 min = 8.76 hours | 43.2 min | 86.4 s |
| 99.99% (four nines) | 52.56 min | 4.32 min | 8.6 s |
| 99.999% (five nines) | 5.26 min | 0.43 min | 0.9 s |
| ::: |
Each extra nine cuts the allowed downtime by a factor of ten, and it is far more expensive than the one before it, because you must remove failures you used to tolerate. What number a bank promises for a service is a business decision; the table only tells you what the promise means.
A written paper turns this into a calculation. The Combined Bank AME/Assistant Engineer (IT) paper of 24 January 2026 gave exactly this: a bank's ATM network is down for 4 hours every 30 days because of maintenance and network faults; calculate the availability for the month; and, if the bank processes 500 transactions an hour at an average fee of Tk 0.50, calculate the revenue lost.
:::steps title="Worked: the ATM network that loses 4 hours in 30 days"
- A 30-day month has 30 × 24 = 720 hours. Use hours throughout, because the downtime was given in hours.
- The network was up for 720 − 4 = 716 hours.
- Availability = up time ÷ total time = 716 ÷ 720 = 0.99444, which is 99.444%.
- Compare with the promise most banks want: three nines (99.9%) would allow only 0.001 × 720 = 0.72 hours = 43.2 minutes in this month. At 4 hours the network is well below three nines.
- Revenue lost = transactions per hour × hours of downtime × fee = 500 × 4 × Tk 0.50 = Tk 1,000. (The fee alone is small; the real cost is customers who could not reach their money.)
In the exam, write the formula, the numbers with their units, and one sentence on how to improve the figure: redundant servers, a UPS, failover, and planned maintenance in the quietest hours.
:::
There is a second formula that examiners like because it connects availability to the two things an engineer can actually change. Availability = MTBF ÷ (MTBF + MTTR), where MTBF is the mean time between failures (how long it runs before breaking) and MTTR is the mean time to repair (how long it takes to fix). A service that runs 1,000 hours between failures and takes 1 hour to repair has 1,000 ÷ 1,001 = 99.90%. The same service with a 10-hour repair drops to 1,000 ÷ 1,010 = 99.01%. Repairing ten times faster is worth a whole nine, which is why monitoring and spare parts matter as much as good hardware.
Redundancy raises the nines for a reason you can calculate. Let two servers each be up 99% of the time, with failures independent of each other. If both are needed (a chain, called series), both must be up at once: 0.99 × 0.99 = 98.01%, worse than one server. If either is enough (a pair, called parallel), the service is down only when both are down at the same moment: 1 − (0.01 × 0.01) = 99.99%. Two ordinary servers in parallel give four nines.
The opposite warning is just as important: five components of 99.9% each, all needed in a chain, give only 0.999⁵ = 99.50%, which is about 43.7 hours of downtime a year. Every extra link in a chain costs availability.
:::figure caption="Series needs both servers up, parallel needs one: the same two 99% servers give 98.01% or 99.99%" alt="Top: two server boxes joined in a line, labelled series: both must work, result 99% times 99% equals 98.01%. Bottom: two server boxes stacked between a split and a join, labelled parallel: one is enough, result 1 minus 0.01 times 0.01 equals 99.99%." maxw=440
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 196" width="360" height="196"><text x="4" y="14" text-anchor="start" font-size="12" font-weight="700" class="f-ink">Series: both must work</text><rect x="10" y="26" width="72" height="36" rx="5" class="f-net"/><text x="46" y="49" text-anchor="middle" font-size="11.5" class="f-on">Server A</text><polygon class="f-host" points="82,43.2 106,43.2 106,44.8 82,44.8"/><polygon class="f-host" points="112,44 106,40.7 106,47.3"/><rect x="112" y="26" width="72" height="36" rx="5" class="f-net"/><text x="148" y="49" text-anchor="middle" font-size="11.5" class="f-on">Server B</text><polygon class="f-host" points="184,43.2 208,43.2 208,44.8 184,44.8"/><polygon class="f-host" points="214,44 208,40.7 208,47.3"/><text x="222" y="41" text-anchor="start" font-size="12" font-weight="700" class="f-ink">99% x 99%</text><text x="222" y="57" text-anchor="start" font-size="14" font-weight="700" class="f-host">= 98.01%</text><text x="4" y="104" text-anchor="start" font-size="12" font-weight="700" class="f-ink">Parallel: one is enough</text><rect x="112" y="114" width="72" height="30" rx="5" class="f-net"/><text x="148" y="134" text-anchor="middle" font-size="11.5" class="f-on">Server A</text><rect x="112" y="154" width="72" height="30" rx="5" class="f-net"/><text x="148" y="174" text-anchor="middle" font-size="11.5" class="f-on">Server B</text><line x1="40" y1="149" x2="76" y2="149" class="f-hostline"/><line x1="76" y1="129" x2="76" y2="169" class="f-hostline"/><line x1="76" y1="129" x2="112" y2="129" class="f-hostline"/><line x1="76" y1="169" x2="112" y2="169" class="f-hostline"/><line x1="184" y1="129" x2="220" y2="129" class="f-hostline"/><line x1="184" y1="169" x2="220" y2="169" class="f-hostline"/><line x1="220" y1="129" x2="220" y2="169" class="f-hostline"/><line x1="220" y1="149" x2="246" y2="149" class="f-hostline"/><text x="252" y="142" text-anchor="start" font-size="12" font-weight="700" class="f-ink">1 - (0.01 x 0.01)</text><text x="252" y="160" text-anchor="start" font-size="14" font-weight="700" class="f-host">= 99.99%</text></svg>
:::
The parallel formula assumes the two failures are independent. If both servers share one power feed or one switch, one fault takes both down, and the real figure falls back towards 99%. Good designers therefore also separate the power, the network path and the building.
Where do students go wrong? Some treat DoS as a confidentiality attack because "the attacker got in"; it is availability, because nothing was read. Some treat ransomware as only a malware topic, when it is the standard example of an availability loss. And some forget that slow is partly down: a service that exists but cannot answer in time has failed the word "timely".
In one line: availability means authorised users can use the service when they need it; it is measured in nines (99.9% is about 8.76 hours a year), and redundancy in parallel raises it while every extra link in a chain lowers it.
Three goals, one balance
If you push any one goal to the limit, you hurt another. Lock the data in a safe nobody can open and confidentiality is perfect, but availability is zero. Make seven copies in seven offices for availability and you have created seven places from which data can leak. Encrypt and verify every message and you add delay, which touches availability again. Security is therefore never "as much as possible of everything"; it is the right balance for the value of the asset.
The right balance differs by organisation. A bank ranks integrity first, because a wrong balance is worse than a slow page, and then availability and confidentiality. A hospital's emergency records rank availability first, because a locked record can cost a life. A defence ministry ranks confidentiality first. A newspaper website needs availability and integrity, since a fake headline is a disaster. When an exam asks which goal matters most, the honest answer is "it depends on the asset", followed by one of these examples.
Now put your three questions to work. The drill below gives eight events; for each, say which goal was broken. Take your time with the ones where two goals seem to be involved: ask which one the event attacks directly.
:::widget name=drill size=8 title="Which goal does it break?" ask="Which goal is broken?"
A staff member opens a colleague's salary file without permission | Confidentiality | It was read by someone not authorised, and nothing else changed.
A student's mark is changed from 62 to 92 in the results database | Integrity | The data was improperly modified.
Ransomware encrypts a hospital's patient records so staff cannot open them | Availability | Authorised users cannot reach their own data.
A laptop with unencrypted customer data is stolen from a car | Confidentiality | A thief can now read data he should never see.
An ATM network is down all day after a power failure | Availability | The service is not there when it is needed.
A file is damaged during download and nobody notices, because no checksum is used | Integrity | Accuracy was lost and the loss was not detected.
A hacker deletes the daily backup and the live database together | Availability | The data can no longer be used or restored.
A customer list is copied by a rival's insider, though the originals are untouched | Confidentiality | Copying is reading: the original stays correct and online.
:::
:::check id=c-nines
A payment switch promises 99.99% availability over a 365-day year. How much downtime does that allow, in total?
- 8.76 hours
- 52.56 minutes
- 5.26 minutes
- 87.6 hours
Downtime = (1 − 0.9999) × 525,600 minutes = 0.0001 × 525,600 = 52.56 minutes. The other options are the neighbouring rows of the table: 8.76 hours is three nines, 5.26 minutes is five nines, and 87.6 hours is two nines.
:::
Read the whole lesson free with an account · পুরো পাঠ পড়তে বিনামূল্যে সাইন আপ করুন
All 14 lessons · সব পাঠ
- Security Fundamentals and the CIA Triad · সিকিউরিটি ফান্ডামেন্টালস এবং CIA ট্রায়াড
- Classical Ciphers: From Caesar to the One-Time Pad · ক্লাসিক্যাল সাইফার: Caesar থেকে One-Time Pad পর্যন্ত
- Symmetric Cryptography: Block Ciphers, DES, AES and Modes · সিমেট্রিক ক্রিপ্টোগ্রাফি: ব্লক সাইফার, DES, AES ও মোড
- Public-Key Cryptography, Hashing, Signatures and PKI · পাবলিক-কি ক্রিপ্টোগ্রাফি, হ্যাশিং, ডিজিটাল সিগনেচার ও PKI
- Threats, Malware and Social Engineering · হুমকি, ম্যালওয়্যার ও সোশ্যাল ইঞ্জিনিয়ারিং
- Password Attacks and Software Attacks · পাসওয়ার্ড আক্রমণ ও সফটওয়্যারের ওপর আক্রমণ
- Authentication, Access Control, Firewalls and the DMZ · অথেনটিকেশন, অ্যাক্সেস কন্ট্রোল, ফায়ারওয়াল ও DMZ
- Secure Protocols: TLS, SSH, IPsec, VPN, Wi-Fi Security and PGP · নিরাপদ প্রোটোকল: TLS, SSH, IPsec, VPN, Wi-Fi সিকিউরিটি ও PGP
- Network Attacks and Layer-2 Security · নেটওয়ার্ক আক্রমণ ও লেয়ার-২ নিরাপত্তা
- Ethical Hacking, Cybercrime, Cyber Law and Security Governance · এথিক্যাল হ্যাকিং, সাইবার অপরাধ, সাইবার আইন ও নিরাপত্তা গভর্ন্যান্স
- Security Operations, Incident Response, Forensics and Security Testing · সিকিউরিটি অপারেশনস, ইনসিডেন্ট রেসপন্স, ফরেনসিক ও সিকিউরিটি টেস্টিং
- Backups, Business Continuity and Data Loss Prevention · ব্যাকআপ, বিজনেস কন্টিনিউইটি ও ডেটা লস প্রিভেনশন
- E-Payment and Banking Security · ই-পেমেন্ট ও ব্যাংকিং সিকিউরিটি
- Revision sheet: Cyber Security · রিভিশন শিট: সাইবার সিকিউরিটি