E ExamMaster

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.

CIA triad goals
GoalMeaningFailure cue
ConfidentialityOnly authorised people see the dataLeak / eavesdropping
IntegrityData not altered without authorisationTampering / unauthorised edit
AvailabilityAuthorised access when neededOutage / 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?
  1. Confidentiality — because any unauthorised action is a secrecy failure
  2. Integrity — because data was altered without authorisation
  3. 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.

Malware types
TypeBehaviour cueTell
VirusAttaches to files; needs a hostHuman action / host file
WormSelf-replicates over networksSpreads by itself
TrojanHides as legitimate softwareLooks useful; is not
RansomwareEncrypts/locks data for paymentDemands 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?
  1. Virus then Trojan
  2. Worm then ransomware
  3. 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.

Firewall vs antivirus
ToolActs onJob cue
FirewallNetwork traffic (in/out)Rule-based barrier trusted ↔ untrusted
AntivirusFiles / programs on a systemPrevent, 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?
  1. Antivirus for the traffic filter; firewall only for cleaning infected files
  2. Firewall for rule-based traffic filtering; antivirus is the malware tool, not the traffic barrier
  3. 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.

Phishing cues
CueWhat it meansSafe response
Fake email / SMS / siteLooks like bank or IT, is notDo not click or type secrets
Ask for OTP / PIN / passwordCredential harvestRefuse — no genuine bank asks this way
Urgent threat languagePressure to act without checkingVerify 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?
  1. Normal bank verification; reply with the OTP so the account stays open
  2. Phishing-style bait; do not share the OTP, PIN or password
  3. 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

  1. First factorThe user proves knowledge — typically a password.
  2. Second factorA different category is required — often an OTP on a phone or a biometric.
  3. Access grantedOnly when both succeed does the account open; stealing the password alone is not enough.
Authentication factors
Factor typeEveryday exampleCategory cue
Something you knowPassword / PINKnowledge
Something you haveOTP / tokenPossession
Something you areFingerprint / faceBiometric
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?
  1. It is not 2FA, because OTP is just another password
  2. It is 2FA — knowledge (password) plus possession (OTP/token)
  3. 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.

Encryption and HTTPS
IdeaKey / mechanismNamed example
SymmetricOne shared keyAES
AsymmetricPublic + private key pairRSA
HTTPSHTTP over SSL/TLSPadlock; 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?
  1. HTTPS means plain HTTP with no encryption; RSA is the one shared symmetric key
  2. HTTPS is HTTP over SSL/TLS; RSA is asymmetric (public + private keys)
  3. 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.

Cloud service models
ModelWhat you getAbstraction cue
IaaSInfrastructure (VMs, storage, networks)Lowest abstraction of the three
PaaSPlatform to build and run appsMiddle — runtime without owning servers
SaaSFinished software over the InternetHighest 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?
  1. SaaS then IaaS
  2. IaaS then SaaS
  3. 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.

UPI cues
PointHold this
Expansion cueUnified Payments Interface
JobInstant bank-to-bank digital payments (India)
Not thisNot 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?
  1. Ransomware settling a ransom over the Internet
  2. UPI — instant bank-to-bank digital payments
  3. 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.

Night-before security sheet
TopicHold this
CIA triadConfidentiality + Integrity + Availability
Virus vs wormVirus needs host/action; worm self-spreads on networks
Trojan / ransomwareTrojan hides as legit; ransomware locks data for ransom
Firewall vs antivirusFirewall filters traffic; antivirus fights malware
PhishingFake bait for credentials; never share OTP/PIN/password
2FA factorsKnow / have / are — 2FA uses two different types
EncryptionSymmetric = one key (AES); asymmetric = public+private (RSA)
HTTPSHTTP over SSL/TLS; padlock and https://
Cloud modelsIaaS → PaaS → SaaS (increasing abstraction)
UPIInstant 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
Continue with Google — freeNo card, no trial. Works offline once installed.