Drill 26 ยท
AP Cybersecurity Drill 26: Secure Defaults for a New App is a practice drill. It contains 5 original questions created by Brian Stewart, a Barron's test prep author with over 20 years of tutoring experience.
Tarnholt Systems is shipping a new scheduling app and reviews a checklist of its default settings before launch; this drill uses an invented company and original figures.
Tarnholt Systems -- pre-launch default-settings review (scheduling app)
Before release, the team records how each setting ships out of the box, with no action required from the customer.
| Setting (as shipped) | Default value |
|---|---|
| New account permissions | Full administrator |
| Network ports open at install | All ports open; closed later by the admin |
| Form input handling | Validation off until switched on |
| Behavior when a security check errors out | Allow the request and continue |
| Transport encryption (TLS) | On |
The team wants the shipped defaults to be the safe choice so that a customer who changes nothing is still reasonably protected.
Question 1. Reading the table, which shipped default already follows a secure-by-default approach?
Explanation: Choice B is correct. Transport encryption on by default means a customer who changes nothing still gets encrypted connections, which is exactly what a secure default looks like. Choice A is incorrect because making every new account a full administrator by default violates least privilege and is an insecure default. Choice C is incorrect because opening all ports at install exposes services until someone remembers to close them, so the safe state depends on later action. Choice D is incorrect because leaving validation off until it is switched on means the unconfigured app accepts unchecked input.
Question 2. The team wants new accounts to start with only the access a normal user needs, rather than full administrator rights. Which principle does that change apply?
Explanation: Choice D is correct. Starting accounts with only the access the role requires, and nothing more, is the definition of least privilege. Choice A is incorrect because defense in depth is about layering multiple controls, not about how much access one account holds. Choice B is incorrect because open design concerns whether a mechanism stays secure when its design is known, a different idea. Choice C is incorrect because separation of duties divides one task across people, while this change is about limiting a single account's permissions.
Question 3. The setting for behavior when a security check errors out currently allows the request and continues. Which change makes this default fail securely?
Explanation: Choice C is correct. Failing securely means that when a control cannot finish, the system defaults to denying access rather than granting it, and the error is recorded for follow-up. Choice A is incorrect because letting the request through on error is failing open, the unsafe direction. Choice B is incorrect because a banner does not change that access was still granted while the check was incomplete. Choice D is incorrect because repeated retries that end in allowing the request still grant access when the check never truly passed.
Question 4. After launch, the team wants to notice quickly if an installation is still running with all ports open. Which approach would detect that condition?
Explanation: Choice B is correct. A periodic port scan that flags unused exposed services is a detective control: it surfaces the unsafe condition wherever it still exists. Choice A is incorrect because guidance in a document does not detect anything; it depends on the reader acting. Choice C is incorrect because a reminder email describes a general risk and asks the customer to look, but it does not detect the specific open-port condition on any installation. Choice D is incorrect because password length protects the admin account but reveals nothing about which ports are open.
Question 5. Considering the whole checklist, which single change would most reduce risk for a customer who installs the app and changes no settings?
Explanation: Choice A is correct. The customer in question changes nothing, so the protection that matters is the state the app ships in; setting every default to its safe value protects that customer automatically. Choice B is incorrect because a hardening guide only helps customers who read and apply it. Choice C is incorrect because a wizard still relies on the customer making the right choice at each screen. Choice D is incorrect because color-coding informs a customer who opens the settings page but does not change the unconfigured defaults.