Cybersecurity MCQs (Set-4)

Difficulty: Hard

1. When a shopper edits a request to retrieve another buyer’s order, what control should reject it?

A Public error detail
B Longer session duration
C More product images
D Per-order authorization

2. If a SQL query concatenates a search term directly into its command, which change best addresses the flaw?

A Add a longer timeout
B Change the product title
C Hide the search box
D Use parameterized queries

3. Suppose a database dump containing password hashes is exposed. What should the team prioritize?

A Contain and assess exposure
B Disable incident records
C Publish the dump
D Reuse affected passwords

4. A checkout page accepts a lower price submitted by the browser. What is the key fix?

A Hide the price field
B Recalculate price server-side
C Use a longer URL
D Disable product images

5. Imagine a refund requires one clerk to approve and issue it. Which control can reduce misuse?

A Remove all logs
B Share one account
C Skip review thresholds
D Separate duties

6. When a shopper receives a login approval prompt they did not initiate, what should they do?

A Deny and report it
B Share the code
C Approve to clear it
D Ignore future prompts

7. If a stolen session token remains valid after a password change, what should the system do?

A Revoke existing sessions
B Disable reauthentication
C Store token in URL
D Extend session lifetime

8. An attacker changes a return amount in a request. Where should the amount be checked?

A Customer review text
B Shipping label
C Trusted server logic
D Browser display only

9. Suppose a malicious comment appears in a product review and executes in the page. Which defense is appropriate?

A Shared staff login
B Contextual output encoding
C Open database access
D Longer tracking codes

10. Imagine a shop sees a spike in requests across many pages. What response can preserve useful service?

A Disable every log
B Expose admin accounts
C Rate limiting and filtering
D Delete all stock

11. When a store suspects its cloud access key was copied, what is the immediate credential action?

A Move the key into code
B Rename product files
C Disable order exports
D Revoke and rotate key

12. A release adds a vulnerable third-party package. What practice lowers this supply-chain risk?

A Review and update dependencies
B Disable code review
C Use unknown packages
D Store credentials in source

13. If a support employee only needs to check shipping status, which permission design is best?

A All refund permissions
B Full database administrator
C Read-only order access
D Shared owner access

14. Suppose a shop wants recovery after ransomware without losing recent orders. Which plan matters?

A Public cloud folder
B Protected tested backups
C One shared password
D Longer product descriptions

15. Imagine a password reset endpoint reveals whether an email address has an account. What risk arises?

A Packet loss
B Inventory mismatch
C Route optimization
D Account enumeration

16. An analyst must send logs to a vendor for troubleshooting. What should happen first?

A Post logs publicly
B Disable encryption
C Include full credentials
D Remove sensitive data

17. When an unfamiliar admin account appears during a suspected breach, what is a safe response?

A Share its password
B Delete all evidence
C Disable and investigate account
D Promote it to owner

18. If a store’s backup shares the same administrator credentials as production, why is this risky?

A It guarantees encryption
B One compromise affects both
C It improves recovery testing
D It prevents data loss

19. Suppose a failed login campaign targets many accounts. Which control can add friction to stolen-password use?

A Multifactor authentication
B Product feed caching
C Order batching
D Inventory buffering

20. A security team finds a critical flaw on its public checkout. What should guide remediation order?

A Product colour preference
B Risk and business impact
C Warehouse shelf order
D Ad click volume

21. Imagine a service outage lasts six hours against a four-hour recovery target. What happened?

A Fill rate improved
B RPO was met
C RTO was missed
D Inventory was counted

22. Backups are four hours old when a system fails, against a one-hour data-loss target. What was missed?

A RTO target
B Delivery window
C RPO target
D Carrier cutoff

23. When an incident affects a public checkout server, which action helps while preserving an investigation?

A Isolate and retain evidence
B Erase system logs
C Restore over evidence
D Reimage before review

24. A merchant encrypts backups but stores the decryption key beside them. What remains weak?

A Key separation
B Password length
C Order routing
D Product availability

25. If a developer tests checkout with copied live customer records, what should replace this?

A Shared administrator accounts
B Synthetic or masked data
C Unencrypted spreadsheets
D Publicly shared exports