Verityprep
Question Bank · Unit 5

AP® Cybersecurity Securing Applications and Data Practice Questions

Work through AP Cybersecurity practice questions on Securing Applications and Data, then check each answer against a worked solution.

Free · no sign-up Open questions need no account. Sign up or log in to open the rest.

Questions 11–20 of 36
  1. 11
  2. 12
  3. 13
  4. 14
  5. 15
  6. 16
  7. 17
  8. 18
  9. 19
  10. 20

Question 11

Multiple choice Protecting Stored Data with Cryptography

A user downloads an open-source operating system ISO from a third-party mirror website. The official project posts SHA-256 hashes of legitimate ISOs on its main site. To verify the downloaded ISO has not been tampered with, the user should:

Pick an answer, then check it. The solution opens in a window.

Question 12

Multiple choice Protecting Applications

A web application has a user profile page that displays the user's chosen display name embedded in HTML. An adversary sets their display name to a string containing </code> tags with malicious code. When other users view the adversary's profile, the script runs in their browsers and steals session cookies. Which TWO practices would MOST effectively prevent this vulnerability?</p><ul><li>I. Output encoding/escaping of HTML special characters when rendering user-supplied data</li><li>II. Encrypting the entire user database with AES-256</li><li>III. Implementing a Content Security Policy (CSP) restricting script execution</li><li>IV. Requiring MFA for all user accounts</li></ul>

Pick an answer, then check it. The solution opens in a window.

Question 13

Multiple choice Asymmetric Cryptography

Two business partners need to exchange a 5 GB encrypted database file over a public network. They want both efficiency and the ability to establish a shared secret without any prior in-person contact. Which approach BEST meets both needs?

Pick an answer, then check it. The solution opens in a window.

Question 14

Multiple choice Asymmetric Cryptography

When a user's browser connects to an online banking website over HTTPS, the bank's web server presents a digital certificate signed by a trusted Certificate Authority. The browser uses this certificate primarily to:

Pick an answer, then check it. The solution opens in a window.

Question 15

Multiple choice Protecting Stored Data with Cryptography

Consider the following statements about cryptography:

  1. SHA-256 is a cryptographic hash function producing a fixed 256-bit output.
  2. RSA can be used for both encryption and digital signatures.
  3. Hashing a password before storage is more secure than storing it in plaintext, even without salting (though salting is strongly preferred).

Which of the statements above are correct?

Pick an answer, then check it. The solution opens in a window.

Question 16

Multiple choice Protecting Applications and Data: Managerial Controls and Access Controls
You are a security manager at an energy company, and you are reviewing an alert generated by an intrusion detection system ( IDS ), which flagged a file…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 17

Multiple choice Protecting Stored Data with Cryptography
A software developer is designing a login database. They set up the password database to store a hash of each user’s…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 18

Multiple choice Application and Data Vulnerabilities and Attacks
You are a cybersecurity analyst at a healthcare organization, and you are reviewing the following web server logs after a security monitoring system detected…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 19

Multiple choice Detecting Attacks on Data and Applications
A hospital backup system is configured to generate a database of SHA-256 hashes for each file in the snapshot, enabling network administrators to perform…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 20

Multiple choice Protecting Applications and Data: Managerial Controls and Access Controls
A system administrator for a computer running a Linux-based operating system wants to change the permissions on a file named final_script.py so that the owner…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 11 of 36
Page 2 of 4

AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.