RRB JE Junior Engineer · Computer Knowledge
Cyber Security & Digital Awareness
Computer viruses, malware, firewalls and modern topics like cloud computing and digital payments.
Eight concepts. SSC and railway computer awareness treats security as named distinctions — malware kinds, firewall versus antivirus, CIA goals, factor types, cloud models — plus a few India-facing digital-payment cues. Tables and pegs carry the load; almost nothing computes.
- RRB JE Junior Engineer
- Medium level
- 8 concepts
- 41 practice questions
1CIA triad — three security goals
Information security is built on three goals called the CIA triad: Confidentiality, Integrity and Availability. Confidentiality means only authorised people see the data. Integrity means the data is not altered by unauthorised users. Availability means authorised users can reach the data and services when they need them.
Stems that ask which goal keeps data secret, unchanged, or reachable map onto C, I and A in that order — the triad itself has no fourth pillar.
Figure. Three equal security goals. Integrity is tinted for the common exam trap: silent data change with secrecy and uptime still intact.
| Goal | Meaning | Failure cue |
|---|---|---|
| Confidentiality | Only authorised people see the data | Leak / eavesdropping |
| Integrity | Data not altered without authorisation | Tampering / unauthorised edit |
| Availability | Authorised access when needed | Outage / denial of service |
An attacker quietly changes account balances in a bank database without taking the system offline or reading other customers' records. Which CIA goal was primarily violated?
- Confidentiality — because any unauthorised action is a secrecy failure
- Integrity — because data was altered without authorisation
- Availability — because balances must stay reachable online
Unauthorised modification is Integrity. Confidentiality would be unauthorised disclosure; Availability would be making the service unreachable. The stem keeps secrecy and uptime intact while changing data.
2Virus, worm, Trojan and ransomware
Four malware labels dominate the set. A virus attaches to files and needs a host (and typically human action to spread). A worm self-replicates over networks without needing that host-file attachment. A Trojan hides as legitimate software. Ransomware encrypts or locks data and demands payment to restore access.
The load-bearing contrast is virus versus worm: host-and-action versus self-spreading on the network.
Figure. Virus needs a host file plus user action; worm self-replicates on the network. Trojan is bait software; ransomware locks data for payment.
| Type | Behaviour cue | Tell |
|---|---|---|
| Virus | Attaches to files; needs a host | Human action / host file |
| Worm | Self-replicates over networks | Spreads by itself |
| Trojan | Hides as legitimate software | Looks useful; is not |
| Ransomware | Encrypts/locks data for payment | Demands a ransom |
A program spreads from PC to PC across the office LAN without riding inside a Word document the user opened. Separately, another program locks every file and demands payment. Which pairing matches those two behaviours?
- Virus then Trojan
- Worm then ransomware
- Trojan then virus
Self-spread over the network without a host file is the worm cue. Locking files for payment is ransomware. A virus needs a host/attachment story; a Trojan is disguise-as-legit software.
3Firewall versus antivirus
A firewall monitors and filters incoming and outgoing network traffic against rules, acting as a barrier between a trusted network and an untrusted one. Antivirus software is aimed at preventing, detecting and removing malware on a system.
Do not swap the jobs: antivirus fights malware on the machine; a firewall filters network traffic at the boundary.
Figure. Firewall filters traffic at the trust boundary. Antivirus acts on files and programs inside the system — do not swap the jobs.
| Tool | Acts on | Job cue |
|---|---|---|
| Firewall | Network traffic (in/out) | Rule-based barrier trusted ↔ untrusted |
| Antivirus | Files / programs on a system | Prevent, detect, remove malware |
An office wants a control that blocks unsolicited inbound connections from the Internet while still allowing staff browsers to reach approved sites. Which tool matches that job, and what would be the wrong tool if the stated goal is only traffic filtering?
- Antivirus for the traffic filter; firewall only for cleaning infected files
- Firewall for rule-based traffic filtering; antivirus is the malware tool, not the traffic barrier
- Either tool equally, because both sit on the network boundary
Filtering inbound/outbound traffic by rules is the firewall. Antivirus targets malware on the system. Treating them as interchangeable is the usual trap.
4Phishing and credential bait
Phishing tricks users into revealing credentials through fake emails, SMS or websites that imitate a trusted sender. The bait is social engineering, not a clever exploit of the bank's server.
Never share OTP, PIN or passwords with anyone who asks — strong passwords and refusing those requests cut off the usual phishing payoff.
Figure. Phishing is social engineering. Sharing OTP or PIN is the leak path; refusing and verifying on an official channel is the safe path.
| Cue | What it means | Safe response |
|---|---|---|
| Fake email / SMS / site | Looks like bank or IT, is not | Do not click or type secrets |
| Ask for OTP / PIN / password | Credential harvest | Refuse — no genuine bank asks this way |
| Urgent threat language | Pressure to act without checking | Verify through official channel |
A user gets an SMS claiming their bank account will close in one hour unless they reply with the OTP just sent to their phone. What is this pattern, and what should they do with the OTP?
- Normal bank verification; reply with the OTP so the account stays open
- Phishing-style bait; do not share the OTP, PIN or password
- Firewall failure; install antivirus and then send the OTP
Urgent fake messages that harvest OTP/PIN/password are the phishing pattern. Never share those secrets; antivirus and firewall jobs are different tools, not the answer to a credential-bait SMS.
5Authentication factors and 2FA
Authentication asks you to prove who you are using factors: something you know (password), something you have (OTP or hardware token), or something you are (biometric). Two-factor authentication (2FA) combines two different factor types — commonly a password plus an OTP.
Repeating the same factor twice (two passwords) is not 2FA; the second factor must come from a different category.
Figure. 2FA pairs two different factor types — usually password plus OTP. Repeating the same type twice is not two-factor.
How 2FA works
- First factorThe user proves knowledge — typically a password.
- Second factorA different category is required — often an OTP on a phone or a biometric.
- Access grantedOnly when both succeed does the account open; stealing the password alone is not enough.
| Factor type | Everyday example | Category cue |
|---|---|---|
| Something you know | Password / PIN | Knowledge |
| Something you have | OTP / token | Possession |
| Something you are | Fingerprint / face | Biometric |
A portal accepts a password and then an OTP from the user's phone before opening the account. Which statement matches the definition of 2FA?
- It is not 2FA, because OTP is just another password
- It is 2FA — knowledge (password) plus possession (OTP/token)
- It is 2FA only if a fingerprint is also required as a third factor
Password = know; OTP/token = have. That is two categories, which is 2FA. OTP is not 'another password' in the factor taxonomy, and a third factor is not required for the 2FA label.
6Symmetric, asymmetric encryption and HTTPS
Encryption protects data in transit or at rest. Symmetric encryption uses one shared key (AES is the usual named example). Asymmetric encryption uses a public and private key pair (RSA is the usual pair named). HTTPS is HTTP carried over SSL/TLS — shown by a padlock and an https:// URL — so the browser session is encrypted on the wire.
AES ↔ one shared key; RSA ↔ public+private pair; HTTPS ↔ HTTP over SSL/TLS.
Figure. Symmetric uses one shared key (AES). Asymmetric uses a public/private pair (RSA). HTTPS is HTTP carried over SSL/TLS.
| Idea | Key / mechanism | Named example |
|---|---|---|
| Symmetric | One shared key | AES |
| Asymmetric | Public + private key pair | RSA |
| HTTPS | HTTP over SSL/TLS | Padlock; https:// in the URL |
A browser shows a padlock and an address that begins with https:// while a site is described as using a public/private key scheme named RSA. Which pairing is correct?
- HTTPS means plain HTTP with no encryption; RSA is the one shared symmetric key
- HTTPS is HTTP over SSL/TLS; RSA is asymmetric (public + private keys)
- HTTPS is only a padlock icon with no protocol meaning; AES is always asymmetric
HTTPS = HTTP over SSL/TLS (padlock / https://). RSA is the asymmetric public+private pair; AES is the symmetric shared-key cue. Swapping those is the trap.
7Cloud models — IaaS, PaaS, SaaS
Cloud computing delivers on-demand computing resources over the Internet. Three service models appear by increasing abstraction: IaaS (infrastructure), PaaS (platform) and SaaS (software). Moving from IaaS to SaaS, the provider manages more of the stack and the customer manages less.
Order the models by abstraction — Infrastructure, Platform, Software — not by which brand name you remember.
Figure. Abstraction rises from IaaS to SaaS: the provider manages more of the stack; the customer manages less.
| Model | What you get | Abstraction cue |
|---|---|---|
| IaaS | Infrastructure (VMs, storage, networks) | Lowest abstraction of the three |
| PaaS | Platform to build and run apps | Middle — runtime without owning servers |
| SaaS | Finished software over the Internet | Highest abstraction — use the app |
A team rents virtual machines and disks to install its own OS and apps; another team only opens a browser to use email hosted by a vendor. Which models match those two situations in order?
- SaaS then IaaS
- IaaS then SaaS
- PaaS then IaaS
Renting infrastructure (VMs/disks) you configure yourself is IaaS. Using finished software in a browser is SaaS. PaaS is the middle platform tier, not either of these extremes.
8UPI and digital payments in India
UPI (Unified Payments Interface) enables instant bank-to-bank digital payments in India. Move money between bank accounts in real time through a UPI app, without handing cash or a card at a counter.
UPI is a payment rail between banks — not a malware type and not a firewall rule.
Figure. UPI is India's bank-to-bank payment rail via an app — not a malware type and not a traffic firewall.
| Point | Hold this |
|---|---|
| Expansion cue | Unified Payments Interface |
| Job | Instant bank-to-bank digital payments (India) |
| Not this | Not malware, not a traffic firewall |
A shopkeeper in India receives payment in seconds from a customer's bank account into the shop's bank account through a phone app, with no card swipe. Which label matches that rail?
- Ransomware settling a ransom over the Internet
- UPI — instant bank-to-bank digital payments
- A firewall rule that forwards cash packets at Layer 1
Instant bank-to-bank digital payment in India is the UPI cue. Ransomware is malware that demands payment; a firewall filters traffic — neither is the payment rail described.
Notes
- Malware types: Virus attaches to files and needs a host, Worm self-replicates over networks, Trojan hides as legit software, and Ransomware encrypts data for ransom.
- A firewall monitors and filters incoming/outgoing network traffic based on rules, forming a barrier between a trusted and untrusted network.
- Phishing tricks users into revealing credentials via fake emails/sites; strong passwords and 2FA (OTP) reduce account compromise.
- The CIA triad — Confidentiality, Integrity, Availability — is the foundation of information security.
- Cloud computing delivers on-demand resources over the Internet (IaaS, PaaS, SaaS); UPI enables instant bank-to-bank digital payments in India.
Formulas
- CIA triad = Confidentiality + Integrity + Availability (the three security goals).
- Authentication factors: something you know (password), have (OTP/token), are (biometric); 2FA combines two.
- Cloud service models: IaaS (infrastructure), PaaS (platform), SaaS (software) — increasing abstraction.
- Encryption types: Symmetric uses one shared key (AES); Asymmetric uses a public+private key pair (RSA).
- HTTPS = HTTP over SSL/TLS, indicated by a padlock and 'https://' in the URL.
Exam traps & shortcuts
- Virus needs a host and human action; a Worm spreads by itself over networks — that self-spreading is the key difference.
- Antivirus prevents/removes malware; a Firewall filters network traffic — don't confuse the two.
- Phishing = fake bait via email/SMS; never share OTP, PIN or passwords with anyone.
Reference tables
CIA goals, malware tells, tool jobs, factors, crypto cues, cloud order and UPI for revision.
| Topic | Hold this |
|---|---|
| CIA triad | Confidentiality + Integrity + Availability |
| Virus vs worm | Virus needs host/action; worm self-spreads on networks |
| Trojan / ransomware | Trojan hides as legit; ransomware locks data for ransom |
| Firewall vs antivirus | Firewall filters traffic; antivirus fights malware |
| Phishing | Fake bait for credentials; never share OTP/PIN/password |
| 2FA factors | Know / have / are — 2FA uses two different types |
| Encryption | Symmetric = one key (AES); asymmetric = public+private (RSA) |
| HTTPS | HTTP over SSL/TLS; padlock and https:// |
| Cloud models | IaaS → PaaS → SaaS (increasing abstraction) |
| UPI | Instant bank-to-bank digital payments in India |
Recap
If you keep only pegs, keep these.
- CIA triad
- Confidentiality + Integrity + Availability
- Virus vs worm
- Virus needs host and action; worm self-replicates over networks
- Trojan
- Hides as legitimate software
- Ransomware
- Encrypts/locks data and demands payment
- Firewall
- Filters network traffic between trusted and untrusted
- Antivirus
- Prevents, detects and removes malware
- Phishing
- Fake email/SMS/site bait; never share OTP, PIN or password
- 2FA
- Two different factors — know, have, or are
- Symmetric / asymmetric
- AES = one shared key; RSA = public + private pair
- HTTPS
- HTTP over SSL/TLS; padlock and https://
- Cloud models
- IaaS, PaaS, SaaS — increasing abstraction
- UPI
- Instant bank-to-bank digital payments in India
Practise Cyber Security & Digital Awareness
Reading is free and needs no account. Practice, mocks and progress live in the app.
- 41 exam-style questions on this topic, with explanations
- A 6-question practice set that ends the chapter
- Timed mocks scored with the real marking scheme
- Readiness tracked per topic, kept on your device