NEW
Font size
WorksheetsCryptography Quiz
Total questions: 50
Worksheet time: 50mins
An organization uses self-signed certificates for internal services. What is the most critical limitation of this approach?
Certificates are costly
They are not trusted by browsers without manual configuration
They cannot encrypt data
They require symmetric encryption
During an SSL handshake, asymmetric encryption is used to:
Encrypt all user data permanently
Securely exchange the session key used for symmetric encryption
Verify the CA's public key
Compress the data stream
Which best explains why HTTPS still relies on both asymmetric and symmetric encryption?
Asymmetric encryption alone is too slow for data transmission
Symmetric encryption is weaker than asymmetric
Both are used only for compatibility
Symmetric encryption cannot be automated
To enhance SSL/TLS security in a banking application, which combination of actions is most effective?
Disable encryption to reduce latency
Enforce TLS 1.3, enable HSTS, and use certificate pinning
Use SSL 2.0 for backward compatibility
Allow self-signed certificates for speed
What is the main reason organizations prefer TLS 1.3 over earlier SSL versions?
It supports more cipher suites
It removes handshake latency and insecure algorithms
It only works with RSA encryption
It disables encryption by default
A financial firm upgrades all servers to TLS 1.3 to improve web security. During testing, they notice connections establish faster with fewer round trips. What technical change in TLS 1.3 enables this improvement?
More encryption types
Fewer handshake steps
Dual authentication
Cipher rotation
While accessing a banking website, the browser warns “certificate not trusted.” The certificate appears valid but signed by an unknown issuer. What is the most probable cause?
Expired key
Untrusted CA
Weak cipher
Server overload
A company evaluates SSL 3.0 versus TLS 1.2 for secure communications. After analysis, they decide TLS 1.2 is more secure. Which main factor supports this decision?
Easier installation
Stronger encryption
Faster file transfer
In the Secure Electronic Transaction (SET) protocol, which parties must exchange digital certificates to ensure authentication and secure payment flow?
Bank and Issuer
Cardholder, Merchant, Gateway
Issuer and Network
Merchant and Customer
An e-commerce site tested both TLS and SET for online payments. SET ensured layered verification but added delay and complexity. Why would the company choose TLS instead?
More expensive
Easier to implement
Less secure
Needs extra software
A system admin enables SSH key-based login, but users can still access servers using passwords. Which configuration option must be modified to enforce key-only access?
PermitRootLogin
PasswordAuthentication
AuthorizedKeysFile
ClientAliveInterval
A web developer is unsure whether to use TLS or SSH. TLS protects the website's customer transactions, while SSH secures remote administration. Which mapping of purpose is correct?
TLS → Remote login; SSH → Web encryption
TLS → Web traffic; SSH → Remote login
TLS → File sharing; SSH → Databases
TLS → Email; SSH → Browsing
Security logs reveal repeated brute-force login attempts on an SSH server from foreign IPs. Which preventive step best strengthens protection?
Reset all passwords
Use key authentication and restrict IPs
Disable SSH service
Change port every day
You are designing an e-commerce security model that requires safe online payments and protected administrative access. Which combination provides end-to-end security?
SET + FTP
TLS + SSH
SSL 2.0 + HTTP
VPN + SMTP
A site enforces both TLS and HSTS policies. Even when users manually type “http://”, the browser automatically redirects to “https://”. What added protection does HSTS provide?
Blocks TLS entirely
Forces HTTPS usage
An organization’s cloud VMs experience repeated infections even after antivirus cleanup. Logs show malware spreading automatically across networked machines. Which strategy best prevents further spread?
Disable logging
Network isolation of infected nodes
Restart servers
Delete user profiles
A user downloads what seems to be a PDF reader update, but it installs backdoor access to the attacker. Which malware type fits this scenario?
Trojan
Worm
Virus
Adware
A malicious code attaches itself to legitimate files and activates when users open them, causing slowdowns in a shared cloud workspace. Identify the malware type.
Trojan
Virus
Botnet
Worm
In a cloud environment, which configuration most effectively limits the damage from self-replicating worms?
Shared credentials
Flat network design
Segmentation and least privilege
File encryption only
You are designing a multi-tenant cloud system. How can you prevent a Trojan from compromising multiple tenants if one VM is infected?
Single firewall for all
Virtual isolation per tenant
Disable SSL
Use shared admin keys
An admin finds a process sending sensitive data to an unknown IP from a trusted application binary. What does this imply?
Application trojanized
Misconfigured DNS
Unused port open
Power fluctuation
A company uses cloud antivirus that failed to detect a new worm variant. What next step shows higher security maturity?
Disable the AV
Deploy behavior-based intrusion detection
Reinstall OS
You are tasked to strengthen malware defenses in a SaaS platform. Which combined approach provides layered protection?
Firewalls only
Sandboxing + Endpoint monitoring
Open network ports
Shared admin access
A Trojan hides as a cloud management plugin and steals API tokens. Which preventive control would best detect such behavior early?
Continuous monitoring of API activity logs
Password complexity
SSL certificate renewal
Database backup
A company notices that some unauthorized inbound connections are blocked, but some malicious traffic still passes through. Which firewall type is most likely in use?
Packet-filtering firewall
Application-layer firewall
Stateful inspection firewall
Proxy firewall
A network admin must choose a firewall type to monitor traffic for specific applications like HTTP and SMTP. Which firewall is most effective for this requirement?
Packet-filtering
Application-layer firewall
Stateless firewall
Circuit-level firewall
An organization implements an IDS that alerts on abnormal login attempts but does not block them. Which IDS type is this?
Passive IDS
Active IDS
IPS
Honeypot
A bank wants to automatically block traffic that shows known attack signatures in real time. Which system should they implement?
IDS only
IPS
Packet-filtering firewall
Stateful firewall
During a network audit, the admin finds high CPU usage on the firewall. It performs both stateful packet inspection and deep application inspection. What is a probable cause?
Low bandwidth
Resource-intensive inspection
You are designing a hybrid security system for a corporate network. Which combination provides both prevention and monitoring?
Firewall only
IDS only
Firewall + IPS
Proxy only
Alerts show multiple failed SSH login attempts on the network. The system blocks IPs automatically after 5 attempts. Which system feature is being demonstrated?
Passive monitoring
Intrusion prevention
Packet filtering
Circuit-level inspection
A company is considering a next-generation firewall that can detect and block malware in HTTPS traffic. Why is this firewall better than a traditional packet-filtering firewall?
Slower traffic
Application-layer inspection
Only monitors ports
Ignores payload
Design a secure network segment for a DMZ with web servers. Which approach ensures attackers cannot access internal servers directly?
Open firewall rules
Stateful firewall + IPS
IDS only
Switch segmentation only
An IPS generates frequent false positives, blocking legitimate traffic. What is the best corrective action?
Disable IPS
Tune detection signatures
Block all traffic
Replace firewall
A cloud-hosted server starts generating excessive outbound traffic to random IPs without user activity. What type of malware behavior does this indicate?
Trojan
Worm
Spyware
Rootkit
SSL/TLS protocols are commonly used in websites that handle sensitive data such as banking or e-commerce. What does this protocol primarily ensure during data transmission?
Data compression and faster page loading
Data confidentiality and integrity through encryption
During an SSL handshake, which component is mainly responsible for verifying the identity of a website?
Firewall
Digital certificate issued by a trusted CA
Web browser settings
HTTP header information
The TLS protocol improved upon SSL by adding stronger encryption algorithms and better handshake mechanisms. What version of TLS is currently considered secure for use?
TLS 1.0
TLS 1.2 or higher
SSL 2.0
TLS 0.9
In the Secure Electronic Transaction (SET) protocol, which cryptographic method is mainly used to secure credit card details?
Steganography
Symmetric and asymmetric encryption combination
Hashing only
Plain text communication
SSH is often used by system administrators to access servers remotely. Which feature makes SSH secure compared to Telnet?
It uses data compression to hide information
It encrypts the communication channel
It uses multiple IP addresses for protection
It runs only on private networks
A virus needs user intervention to spread, while a worm spreads automatically. Which of the following best describes a Trojan horse?
A program that self-replicates like a worm
A software that looks harmless but executes malicious code
A code embedded in network routers
A file that can delete system updates
Which of the following best describes a stateful inspection firewall?
It filters traffic only based on static rules
It tracks the state of network connections to make filtering decisions
It hides the user's IP address from websites
It only scans outgoing packets
In cloud computing, multi-tenancy introduces a major security risk. What does multi-tenancy mean in this context?
Multiple servers in a single building
Multiple users sharing the same physical or virtual resources
One user having multiple cloud accounts
Cloud providers storing data in many locations
What is the main advantage of using an Intrusion Prevention System (IPS) over an IDS?
IPS only records events for later analysis
IPS can actively block or prevent detected threats in real time
IPS requires no configuration or monitoring
IPS works only on encrypted traffic
Which statement correctly differentiates a Trojan horse from a virus?
Trojans replicate automatically, while viruses do not
Viruses disguise themselves as legitimate software, while Trojans attach to documents
Trojans appear as useful software but secretly perform malicious actions
Viruses never require user execution, but Trojans do
What is the main function of a firewall in network security?
To physically block unauthorized users
To encrypt emails sent across the network
To monitor and control incoming and outgoing network traffic
To scan storage drives for malware
Which type of firewall filters traffic based on source and destination IP address, port, and protocol?
Application-level gateway
Packet-filtering firewall
Proxy firewall
Stateful inspection firewall
What distinguishes an Intrusion Detection System (IDS) from an Intrusion Prevention System (IPS)?
IDS can block attacks, while IPS can only monitor
IDS monitors and alerts administrators, while IPS can actively block threats
Both perform the same functions with different names
IDS is used for encryption, while IPS is for authentication
Which of the following is a key security concern in cloud services and applications?
Excessive local hardware usage
Difficulty in updating antivirus software
Data privacy and unauthorized access to cloud data
High cost of hardware maintenance
A company suffered a DDoS attack, what is the first line of defense?
a) IDS
b) Firewall
b) Firewall
d) Backup
