PPSC Security Analyst Past Paper 2026 — 89 MCQs with Answers

PPSC Security Analyst 89 questions

Security Analyst Job — last date 7 Dec 2026

Practice the PPSC Security Analyst Past Paper 2026 — 89 past paper MCQs with answers and full explanations from the real PPSC paper. Prepare with PPSC MCQs, then take a timed practice exam to check you are ready.

Questions show 20 per page. Choose a mode below — Read Answers to see the answer and explanation as you go, or Take the Test to test yourself against the clock with answers hidden.

Read Answers: tap an option to see the answer and explanation. Take the Test: answers stay hidden, a timer runs, and you get a score — tap "Show answers" when you're done.

Subjects in this paper

Computer ScienceComputer Security & Viruses PPSCID: LTP-8440

Which practice helps prevent cross-site scripting by escaping user input before display?

  1. AOutput encoding ✓ Correct answer
  2. BDisabling the firewall
  3. CSharing passwords
  4. DUsing HTTP only
Computer ScienceComputer Security & Viruses PPSCID: LTP-8441

Which technique prevents SQL injection by separating SQL code from user data?

  1. AOutput encoding
  2. BPrepared statements ✓ Correct answer
  3. CInput validation only
  4. DDisabling cookies
Computer ScienceComputer Security & Viruses PPSCID: LTP-8442

Which attack tricks a logged-in user into submitting an unwanted request to a website?

  1. ACross-site scripting
  2. BSQL injection
  3. CCross-Site Request Forgery (CSRF) ✓ Correct answer
  4. DPhishing
Computer ScienceComputer Security & Viruses PPSCID: LTP-8443

Which attack steals a session cookie to impersonate a logged-in user?

  1. AClickjacking
  2. BPhishing
  3. CSpoofing
  4. DSession hijacking ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8444

Which security model assumes no user or device is trusted by default, even inside the network?

  1. AZero Trust model ✓ Correct answer
  2. BPerimeter security
  3. CTrust all model
  4. DOpen network model
Computer ScienceComputer Security & Viruses PPSCID: LTP-8445

Which activity systematically reviews systems and policies to find security weaknesses?

  1. APenetration testing only
  2. BSecurity audit ✓ Correct answer
  3. CData backup
  4. DSoftware update
Computer ScienceComputer Security & Viruses PPSCID: LTP-8446

Which activity simulates a real attack to test how well a system resists intruders?

  1. ASecurity audit
  2. BData backup
  3. CPenetration testing ✓ Correct answer
  4. DPatching
Computer ScienceComputer Security & Viruses PPSCID: LTP-8447

Which process handles a security breach from detection through recovery?

  1. ARisk assessment
  2. BVulnerability scanning
  3. CPatch management
  4. DIncident response ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8448

Which process identifies threats and estimates their impact before choosing controls?

  1. ARisk assessment ✓ Correct answer
  2. BIncident response
  3. CPenetration testing
  4. DData backup
Computer ScienceComputer Security & Viruses PPSCID: LTP-8449

Which automated activity searches systems for known security weaknesses?

  1. APenetration testing
  2. BVulnerability scanning ✓ Correct answer
  3. CPhishing simulation
  4. DData encryption
Computer ScienceComputer Security & Viruses PPSCID: LTP-8450

Which practice protects stored data by encrypting it on disk?

  1. AEncryption in transit
  2. BHashing
  3. CEncryption at rest ✓ Correct answer
  4. DTokenisation
Computer ScienceComputer Security & Viruses PPSCID: LTP-8451

Which practice protects data while it travels over a network?

  1. AEncryption at rest
  2. BHashing
  3. CBacking up
  4. DEncryption in transit ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8452

In asymmetric encryption, which key can be shared openly with anyone?

  1. APublic key ✓ Correct answer
  2. BPrivate key
  3. CSession key
  4. DMaster key
Computer ScienceComputer Security & Viruses PPSCID: LTP-8453

In asymmetric encryption, which key must be kept secret by its owner?

  1. APublic key
  2. BPrivate key ✓ Correct answer
  3. CSession key
  4. DShared key
Computer ScienceComputer Security & Viruses PPSCID: LTP-8454

Which document binds a public key to a website's identity and is signed by a trusted authority?

  1. APassword file
  2. BSession token
  3. CDigital certificate ✓ Correct answer
  4. DCookie
Computer ScienceComputer Security & Viruses PPSCID: LTP-8455

Which activity studies malicious software to understand how it works?

  1. AVulnerability scanning
  2. BPenetration testing
  3. CRisk assessment
  4. DMalware analysis ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8456

Which isolated environment runs suspicious programs safely without harming the main system?

  1. ASandbox ✓ Correct answer
  2. BVirtual machine only
  3. CFirewall
  4. DHoneypot
Computer ScienceComputer Security & Viruses PPSCID: LTP-8457

Which security mechanism decides who may read or change a resource?

  1. AEncryption
  2. BAccess control ✓ Correct answer
  3. CBackup
  4. DFirewall
Computer ScienceComputer Security & Viruses PPSCID: LTP-8458

Which term means verifying that a user is who they claim to be?

  1. AAuthorisation
  2. BEncryption
  3. CAuthentication ✓ Correct answer
  4. DAccounting
Computer ScienceComputer Security & Viruses PPSCID: LTP-8459

Which term means deciding what an authenticated user is allowed to do?

  1. AAuthentication
  2. BEncryption
  3. CHashing
  4. DAuthorisation ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8460

Which firewall type inspects the state of active connections before allowing traffic?

  1. AStateful firewall ✓ Correct answer
  2. BStateless firewall
  3. CProxy firewall
  4. DPacket filter only
Computer ScienceComputer Security & Viruses PPSCID: LTP-8461

Which server sits between users and the internet, forwarding requests on their behalf?

  1. ARouter
  2. BProxy server ✓ Correct answer
  3. CSwitch
  4. DModem
Computer ScienceComputer Security & Viruses PPSCID: LTP-8462

Which malware spreads across a network by itself without any user action?

  1. AVirus
  2. BTrojan horse
  3. CWorm ✓ Correct answer
  4. DAdware
Computer ScienceComputer Security & Viruses PPSCID: LTP-8463

How does a Trojan horse usually reach a victim's computer?

  1. ABy self-replication
  2. BThrough a network scan
  3. CBy brute force
  4. DHidden inside apparently useful software ✓ Correct answer
Computer ScienceComputer Security & Viruses PPSCID: LTP-8464

Why must antivirus software be updated regularly?

  1. ATo recognise newly discovered malware ✓ Correct answer
  2. BTo speed up the computer
  3. CTo free disk space
  4. DTo update the operating system
Computer ScienceComputer Networking PPSCID: LTP-8466

Which OSI layer provides network services directly to user applications?

  1. APresentation layer
  2. BSession layer
  3. CApplication layer ✓ Correct answer
  4. DTransport layer
Computer ScienceComputer Networking PPSCID: LTP-8467

Which OSI layer provides end-to-end delivery and error recovery between hosts?

  1. ANetwork layer
  2. BData Link layer
  3. CSession layer
  4. DTransport layer ✓ Correct answer
Computer ScienceComputer Networking PPSCID: LTP-8468

Which OSI layer handles framing and MAC addressing on a local link?

  1. AData Link layer ✓ Correct answer
  2. BPhysical layer
  3. CNetwork layer
  4. DTransport layer
Computer ScienceComputer Networking PPSCID: LTP-8469

Which OSI layer handles data format, encryption and compression?

  1. AApplication layer
  2. BPresentation layer ✓ Correct answer
  3. CSession layer
  4. DTransport layer
Computer ScienceComputer Networking PPSCID: LTP-8471

Which wired LAN technology uses frames and CSMA/CD or switching?

  1. AWi-Fi
  2. BBluetooth
  3. CToken Ring
  4. DEthernet ✓ Correct answer
Computer ScienceComputer Networking PPSCID: LTP-8472

Which wireless technology connects devices to a local network without cables?

  1. AWi-Fi ✓ Correct answer
  2. BEthernet
  3. CBluetooth
  4. DNFC
Computer ScienceComputer Networking PPSCID: LTP-8473

Which IP address class covers first octets 128 to 191 and suits medium networks?

  1. AClass A
  2. BClass B ✓ Correct answer
  3. CClass C
  4. DClass D
Computer ScienceComputer Networking PPSCID: LTP-8474

Which IP address class covers first octets 192 to 223 and suits small networks?

  1. AClass A
  2. BClass B
  3. CClass C ✓ Correct answer
  4. DClass D
Computer ScienceComputer Networking PPSCID: LTP-8475

Which address range is reserved for documentation and examples?

  1. A10.0.0.0/8
  2. B172.16.0.0/12
  3. C192.168.0.0/16
  4. D192.0.2.0/24 ✓ Correct answer
Computer ScienceComputer Networking PPSCID: LTP-8476

Which address sends a packet to every device on a local network?

  1. ABroadcast address ✓ Correct answer
  2. BLoopback address
  3. CUnicast address
  4. DMulticast address
Computer ScienceComputer Networking PPSCID: LTP-8477

Which network covers a city or a large campus?

  1. ALocal Area Network
  2. BMetropolitan Area Network (MAN) ✓ Correct answer
  3. CWide Area Network
  4. DPersonal Area Network
Computer ScienceComputer Networking PPSCID: LTP-8478

Which network covers a very small area around one person, such as Bluetooth devices?

  1. ALocal Area Network
  2. BWide Area Network
  3. CPersonal Area Network (PAN) ✓ Correct answer
  4. DMetropolitan Area Network
Computer ScienceComputer Networking PPSCID: LTP-8480

Which simple network device sends incoming traffic out of every port?

  1. AHub ✓ Correct answer
  2. BSwitch
  3. CRouter
  4. DBridge
Computer ScienceComputer Networking PPSCID: LTP-8481

Which device extends a network's range by regenerating a weakened signal?

  1. ARouter
  2. BRepeater ✓ Correct answer
  3. CSwitch
  4. DModem
Computer ScienceComputer Networking PPSCID: LTP-8482

Which command tests whether another host is reachable on a network?

  1. Atracert
  2. Bipconfig
  3. Cping ✓ Correct answer
  4. Dnslookup
Computer ScienceOperating Systems PPSCID: LTP-8483

Which system uses two or more CPUs to run programs in parallel?

  1. AMultitasking
  2. BMultithreading
  3. CTime sharing
  4. DMultiprocessing ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-8484

Which feature lets one process run several threads at the same time?

  1. AMultithreading ✓ Correct answer
  2. BMultiprocessing
  3. CMultitasking
  4. DMultiprogramming
Computer ScienceOperating Systems PPSCID: LTP-8485

Which operating system guarantees that tasks finish within strict time limits?

  1. ABatch operating system
  2. BReal-time operating system ✓ Correct answer
  3. CTime-sharing system
  4. DDistributed system
Computer ScienceOperating Systems PPSCID: LTP-8486

Which operating system runs jobs in groups without user interaction?

  1. AReal-time operating system
  2. BTime-sharing system
  3. CBatch operating system ✓ Correct answer
  4. DNetwork operating system
Computer ScienceOperating Systems PPSCID: LTP-8487

Which system lets many users share one computer by giving each a short time slice?

  1. ABatch system
  2. BReal-time system
  3. CEmbedded system
  4. DTime-sharing system ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-8488

Which signal tells the CPU to pause its current work and handle an event?

  1. AInterrupt ✓ Correct answer
  2. BDeadlock
  3. CSemaphore
  4. DCache miss
Computer ScienceOperating Systems PPSCID: LTP-8489

Which small fast memory sits between the CPU and main memory to speed up access?

  1. AVirtual memory
  2. BCache memory ✓ Correct answer
  3. CSecondary memory
  4. DRegister only
Computer ScienceOperating Systems PPSCID: LTP-8491

Which disk area is used as an extension of RAM for virtual memory?

  1. ACache
  2. BBuffer
  3. CRegister
  4. DSwap space ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-8492

Which part of a file name indicates the file type, such as .txt or .jpg?

  1. AFile extension ✓ Correct answer
  2. BFile path
  3. CFile attribute
  4. DFile header
Computer ScienceOperating Systems PPSCID: LTP-8493

Which structure organises files into folders on a storage device?

  1. APartition
  2. BDirectory ✓ Correct answer
  3. CSector
  4. DCluster
Computer ScienceOperating Systems PPSCID: LTP-8494

Which operating system is developed by Microsoft and widely used on personal computers?

  1. ALinux
  2. BmacOS
  3. CMicrosoft Windows ✓ Correct answer
  4. DAndroid
Computer ScienceDatabases & DBMS PPSCID: LTP-8495

Which SQL statement permanently removes a table and its data?

  1. ADELETE
  2. BTRUNCATE
  3. CUPDATE
  4. DDROP TABLE ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-8496

Which SQL statement changes the structure of an existing table?

  1. AALTER TABLE ✓ Correct answer
  2. BCREATE TABLE
  3. CDROP TABLE
  4. DSELECT
Computer ScienceDatabases & DBMS PPSCID: LTP-8497

Which SQL clause filters rows based on a condition?

  1. AORDER BY clause
  2. BWHERE clause ✓ Correct answer
  3. CGROUP BY clause
  4. DHAVING clause
Computer ScienceDatabases & DBMS PPSCID: LTP-8498

Which SQL clause sorts the result of a query?

  1. AWHERE clause
  2. BGROUP BY clause
  3. CORDER BY clause ✓ Correct answer
  4. DJOIN clause
Computer ScienceDatabases & DBMS PPSCID: LTP-8499

Which SQL operation combines rows from two tables using a related column?

  1. AUNION
  2. BGROUP BY
  3. CORDER BY
  4. DJOIN ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-8500

Which key is a minimal set of columns that can uniquely identify a row?

  1. ACandidate key ✓ Correct answer
  2. BForeign key
  3. CPrimary key
  4. DSuper key
Computer ScienceDatabases & DBMS PPSCID: LTP-8501

Which term means the accuracy and consistency of stored data?

  1. AData redundancy
  2. BData integrity ✓ Correct answer
  3. CData independence
  4. DData mining
Computer ScienceDatabases & DBMS PPSCID: LTP-8502

Which database object is a saved set of SQL statements that can be run by name?

  1. AView
  2. BIndex
  3. CStored procedure ✓ Correct answer
  4. DTrigger
Computer ScienceDatabases & DBMS PPSCID: LTP-8504

Which database type stores data in documents or key-value pairs instead of tables?

  1. ANoSQL database ✓ Correct answer
  2. BRelational database
  3. CHierarchical database
  4. DNetwork database
Computer ScienceData Mining PPSCID: LTP-8505

Which process discovers hidden patterns in large datasets?

  1. AData entry
  2. BData mining ✓ Correct answer
  3. CData cleaning
  4. DData storage
Computer ScienceData Mining PPSCID: LTP-8506

Which data mining task finds items that often occur together, such as bread and butter?

  1. AClassification
  2. BClustering
  3. CAssociation rule mining ✓ Correct answer
  4. DRegression
Computer ScienceData Mining PPSCID: LTP-8507

Which term describes the full process of discovering knowledge from data?

  1. AData warehousing
  2. BData cleaning
  3. CData visualisation
  4. DKnowledge Discovery in Databases (KDD) ✓ Correct answer
Computer ScienceData Mining PPSCID: LTP-8508

Which store holds cleaned historical data from many sources for analysis?

  1. AData warehouse ✓ Correct answer
  2. BData mart
  3. COperational database
  4. DData lake
Computer ScienceData Mining PPSCID: LTP-8509

Which analysis technique lets users explore data from many angles, such as by region and time?

  1. AOLTP
  2. BOLAP ✓ Correct answer
  3. CETL
  4. DData mining
Computer ScienceData Mining PPSCID: LTP-8510

Which process extracts data from sources, transforms it and loads it into a warehouse?

  1. AOLAP
  2. BOLTP
  3. CETL ✓ Correct answer
  4. DKDD
Computer ScienceData Mining PPSCID: LTP-8511

Which term describes a data value far different from the rest of the dataset?

  1. ACluster
  2. BPattern
  3. CAttribute
  4. DOutlier ✓ Correct answer
Computer ScienceData Mining PPSCID: LTP-8512

Which stage prepares raw data for mining by cleaning and transforming it?

  1. AData preprocessing ✓ Correct answer
  2. BData visualisation
  3. CModel evaluation
  4. DPattern evaluation
Computer ScienceInternet PPSCID: LTP-8513

Which version of the web protocol encrypts traffic with TLS?

  1. AHTTP
  2. BHTTPS ✓ Correct answer
  3. CFTP
  4. DSMTP
Computer ScienceInternet PPSCID: LTP-8514

Which term describes a collection of related web pages under one domain?

  1. AWeb page
  2. BWeb browser
  3. CWebsite ✓ Correct answer
  4. DSearch engine
Computer ScienceInternet PPSCID: LTP-8515

Which page is the main entry page of a website?

  1. ALanding page only
  2. BSitemap
  3. CContact page
  4. DHomepage ✓ Correct answer
Computer ScienceInternet PPSCID: LTP-8516

Which element lets a user jump from one web page to another by clicking?

  1. AHyperlink ✓ Correct answer
  2. BBookmark
  3. CCookie
  4. DCache
Computer ScienceInternet PPSCID: LTP-8517

Which small file does a website store in a browser to remember a user?

  1. ACache file
  2. BCookie ✓ Correct answer
  3. CBookmark
  4. DHistory entry
Computer ScienceInternet PPSCID: LTP-8518

Which term describes copying a file from the internet to a local computer?

  1. AUpload
  2. BStream
  3. CDownload ✓ Correct answer
  4. DBrowse
Computer ScienceInternet PPSCID: LTP-8519

Which term describes sending a file from a local computer to the internet?

  1. ADownload
  2. BStream
  3. CBrowse
  4. DUpload ✓ Correct answer
General KnowledgeCapitals, Currencies & Organisations PPSCID: LTP-8526

Which capital city hosted the 1980 Summer Olympics?

  1. ABerlin
  2. BParis
  3. CMoscow ✓ Correct answer
  4. DRome
General KnowledgeAwards & Honours PPSCID: LTP-8527

Which country hosts the Nobel Peace Prize ceremony?

  1. ASweden
  2. BDenmark
  3. CFinland
  4. DNorway ✓ Correct answer
General KnowledgeSports PPSCID: LTP-8528

In which sport is the World Cup trophy called the Jules Rimet Trophy no longer used?

  1. AFootball ✓ Correct answer
  2. BCricket
  3. CHockey
  4. DTennis
General KnowledgeFirsts PPSCID: LTP-8529

Who succeeded Liaquat Ali Khan as Prime Minister of Pakistan?

  1. AMuhammad Ali Bogra
  2. BKhawaja Nazimuddin ✓ Correct answer
  3. CChaudhry Muhammad Ali
  4. DIskander Mirza
EnglishGrammar PPSCID: LTP-8520

He ___ not like coffee.

  1. Adoes ✓ Correct answer
  2. Bdo
  3. Cis
  4. Dare
EnglishVocabulary — Antonyms PPSCID: LTP-8522

'Failure' is the antonym of which word?

  1. AVictory
  2. BAchievement
  3. CSuccess ✓ Correct answer
  4. DTriumph
EnglishSpelling PPSCID: LTP-8523

Pick the correctly spelled word.

  1. ATommorow
  2. BTommorrow
  3. CTomorow
  4. DTomorrow ✓ Correct answer
Pakistan StudiesPakistan History PPSCID: LTP-8530

The year 1956 is important in Pakistan's history because it saw what?

  1. AAdoption of the second Constitution
  2. BPassing of the Objective Resolution
  3. CAdoption of the first Constitution ✓ Correct answer
  4. DCreation of the Senate
Pakistan StudiesConstitution & Government PPSCID: LTP-8531

Karachi served as Pakistan's first capital until the capital moved where?

  1. ALahore
  2. BRawalpindi
  3. CPeshawar
  4. DIslamabad ✓ Correct answer
Pakistan StudiesPakistan General Knowledge PPSCID: LTP-8533

Faisalabad earned which nickname for its textile industry?

  1. ACity of Lights
  2. BManchester of Pakistan ✓ Correct answer
  3. CCity of Gardens
  4. DHeart of Pakistan
Everyday ScienceHuman Body PPSCID: LTP-8537

Which component of blood helps it to clot?

  1. ARed blood cells
  2. BPlatelets ✓ Correct answer
  3. CWhite blood cells
  4. DPlasma
Everyday ScienceEveryday Phenomena PPSCID: LTP-8538

Water turns into ice at which temperature at sea level?

  1. A5°C
  2. B10°C
  3. C0°C ✓ Correct answer
  4. D-5°C
IslamiatPillars of Islam PPSCID: LTP-8536

Which pillar of Islam is the annual charity paid on wealth?

  1. AZakat ✓ Correct answer
  2. BSalah
  3. CSawm
  4. DHajj
MathematicsPercentages PPSCID: LTP-8539

What is 18% of 150?

  1. A24
  2. B30
  3. C21
  4. D27 ✓ Correct answer

← Back to Security Analyst