Learn Extracted exam questions AP Cybersecurity Official Sample Questions
Official Sample Questions
Source PDF on the left, extracted YAML on the right. Compare numbering, marks, options and text.
A cybersecurity analyst recently completed a review of a hotel's security. Consider the following information from their report. (1) The hotel's Wi-Fi extends to the parking area, allowing outsiders potential access to the network. (2) Open network ports in the conference center connect to the hotel's internal network and could enable spoofing of a legitimate device. (3) Guest feedback tablets in the lobby use a shared Wi-Fi network, exposing nonsensitive customer satisfaction data. (4) Model numbers of printers and the firmware versions the printers are running are visible on the internal network, revealing some information about devices on the network. Which of the following risks would the cybersecurity analyst most likely document as a high risk?
A school district wants to ensure that only the school principal (kmurray) can edit faculty evaluation reports and to limit permissions for everyone else. The district's system administrator wants to set the following permission for the file Oak_Park_HS, which contains the faculty evaluations: -rw-r----- kmurray staff 2048 Sep 18 10:45 Oak_Park_HS. Which of the following commands can be used to set the permissions shown?
Consider the following email. From: Management, To: Security Manager, Subject: New Access Rules for Transaction System. "Thank you for implementing access restrictions on our internal applications. We are now interested in applying additional security rules that automatically limit user access based on specific conditions. For example, access to the transaction system should only be allowed during business hours and from devices connected to the corporate network." Which of the following access control models best meets the request in the email?
A network technician is unable to access a server using port 443 from a machine with an IP address of 192.168.45.37. Consider the server's firewall access control list (ACL): rules 1-2 allow inbound TCP 22 and 80 from ALL; rule 3 denies inbound TCP 443 from 192.168.0.0-192.168.255.255; rule 7 allows inbound TCP 443 from ALL; rule 10 denies ALL. ACL rules are checked in order and the first match wins. Which of the following changes to the firewall would allow the network technician to access the server?
A system administrator runs two hashing functions on four files. In Function 2's outputs, file1.txt and file3.txt produce the identical hash 804537a7adfa4e1bce4d72d0b212a80af2dae3a5e, while their Function 1 outputs differ. Which of the following statements is supported by the file hashes?
The security manager at a hospital is planning to upgrade the physical security system so that only authorized personnel can access areas containing sensitive medical equipment and patient records. Because these areas require a high level of security, the manager wants an authentication method that is unique to each individual and extremely difficult for an adversary to duplicate or spoof. Which of the following authentication methods is best suited for these areas?
Which of the following best describes how offline password attacks work?
Refer to the phishing email (subject "Final Reminder — Deadline Today!") reported to security. It states records are incomplete, that staff must confirm personal information by the end of the day, and that failure to respond may result in suspension of payroll access. Which of the following shows how the email uses urgency to pressure the recipient into responding?
Referring to the same phishing email, how does the claim that "Over 92% of employees have already completed the verification" attempt to pressure the recipient into responding?
Referring to the same phishing email, which of the following is the most likely impact if the recipient responds with the requested information (personal phone number, pet's name, and date of birth)?
A natural gas company's help desk receives reports that the website is intermittently crashing when employees try to log in. The server's access logs include: GET /index.html 200; GET /about.html 200; GET ../../../../etc/passwd 403; GET ../../../../etc/shadow 403. Which of the following application attacks is indicated in the log file?
The system administrator at a high school receives an alert that there may have been multiple unauthorized login attempts to the school's online grading system. To investigate, the administrator decides to review the authentication logs. Which of the following best describes how authentication logs can be used to determine whether unauthorized login attempts have occurred?
The network administrator for a manufacturing facility has implemented a signature-based network detection system. Which of the following is a potential impact of using this network detection method instead of anomaly-based detection?
Consider the following lines from a log file: 2025-09-25 08:01:14 ARP Reply: 192.168.1.13 is-at 00:01:5e:00:fc:16; 2025-09-25 09:14:15 ARP Reply: 192.168.1.13 is-at 00:3b:cc:5e:ee:01. Which of the following attack types is indicated in the log file?
Which of the following best describes the length of a cryptographic hash function output?
A state's National Guard base is documenting cybersecurity risks from physical vulnerabilities. Which of the following would be classified as a moderate risk?
Refer to the news article about Fairgrove Community Bank, which stopped a cyber intrusion of its customer database. A network administrator said one submitted string included ' OR '1'='1';-- and added, "This wasn't some advanced adversary. They were copying code from the internet and testing to see if anything would work." Which of the following best describes the adversary in this scenario?
Referring to the same news article, which of the following types of attacks occurred when the adversary submitted a string that included ' OR '1'='1';--?
Referring to the same news article, which of the following security controls would most likely prevent an attack like this in the future?
Referring to the same news article, which of the following best explains how the adversary attempted to manipulate the bank's customer database through the online loan application form?
An organization only allows their users to log into a system if they are physically in one of the following time zones: Eastern, Central, Mountain, or Pacific. Which of the following authentication factors is being used to verify the identity of the users?
A hospital's security manager has implemented an automated network security tool that: analyzes network traffic for signs of malicious activity so the team can spot threats; generates an alert when suspicious or malicious traffic is detected; but does not take direct action to block or stop the traffic itself, because the hospital wants administrators to decide how to respond. Which of the following security systems did the security manager implement?
Device Security Analysis (14 points). The sources (a device firewall ACL, three system/auth logs, an nginx access log, a file-permission listing, and an acceptable use policy) all come from one device (IP 192.168.1.10). Use them to answer parts A-E. Part A: (i) explain how one part of the AUP protects the device; (ii) explain how one rule could be modified to make it more secure, with an example. Part B: (i) describe the log evidence of a password attack in rows 3-12; (ii) identify the adversary's IP address. Part C: (i) explain how one file's permissions in /home/jprice/Documents set access for owner/group/others; (ii) describe how to reconfigure one file's permissions to restrict some users; (iii) write the chmod command(s). Part D: (i) explain how one connection attempt was blocked by the firewall, with log evidence; (ii) describe a firewall-rule modification that would allow it; (iii) describe one impact of that modification on network traffic. Part E: (i) determine another attack type evidenced in a log; (ii) describe the specific log evidence; (iii) describe how an automated system could halt it in real time; (iv) identify a different (non-automated) countermeasure.
Explain how one part of the policy in Source 6 helps protect the device.
Explain how one rule in the current policy could be modified to make the device more secure. Include a specific example.
Describe the evidence in the log file that indicates a password attack (rows 3-12). Include specific entries.
Identify the IP address of the adversary.
Explain how the permission settings for one file in /home/jprice/Documents determine the level of access for the owner, group, and all other users. Include the file name.
Other than removing all permissions from all users, describe one way one file's permissions could be configured to restrict access for some users. Include the file name.
Using the explanation from part C(ii), write one or more chmod commands that set the permissions described.
Explain how one connection attempt on the device was blocked by the firewall. Include evidence from a log file.
Other than allowing all traffic for all services, describe a modification to one firewall rule that would allow the connection attempt from part D(i).
Other than allowing the connection attempt from part D(i), describe one impact of your modification from part D(ii) on incoming or outgoing network traffic.
Apart from the password attack in part B, determine the type of another attack evidenced in a log file.
Describe specific information in the log file that indicates the attack named in part E(i).
Describe one way an automated system could halt this type of attack in real time.
Identify a different countermeasure (other than an automated firewall/IDS/IPS/AI) that could mitigate, prevent, or deter the attack.