AP Cybersecurity · Unit 5 · Topic 5.2 · Exercise 1
Symmetric Cipher Triage
Eight scored scenarios. For each one, classify the failure: algorithm, mode, IV, or key management. Predict before looking at options — the exam rewards students who commit to a category first.
8 Questions~15 minScored
How This Exercise Works
1. Each scenario describes a real or realistic symmetric crypto failure.
2. Before reading options, decide: is the failure algorithm (DES/3DES/RC4), mode (ECB/reused IV), or key management (hardcoded/co-located/environment variable)?
3. Click your answer to get immediate feedback. Aim for 7/8 or better.
Score0 / 8
Question 1
A developer encrypts 10,000 user profile photos with AES-256 in ECB mode and uploads them to cloud storage. A researcher downloads two ciphertexts and can see the subject's silhouette in each image. AES-256 is widely considered unbreakable. What is the actual failure?
✎ Predict before reading options. Commit to your answer first.
A company encrypts their customer database with AES-256-GCM. The encryption key is stored in a file named crypto.conf on the same server as the database. Attackers compromise the server and immediately decrypt the entire database. What is the root cause?
✎ Predict before reading options. Commit to your answer first.
Exam TipKey next to data = useless encryption. Separate the key into a KMS/HSM/external trust boundary.
Question 3
Which of the following statements about AES are TRUE?
I. AES always uses a 128-bit block size regardless of key length. II. AES-256 is more secure than AES-128 in all circumstances. III. AES in GCM mode provides both confidentiality and integrity.
✎ Predict before reading options. Commit to your answer first.
A mobile banking app encrypts sensitive data stored locally using AES-256-GCM. A security researcher reverse-engineers the APK and finds the encryption key as a constant in the compiled binary. Within seconds they can decrypt every user's stored data. Which category applies?
✎ Predict before reading options. Commit to your answer first.
Exam TipHardcoded key in an app binary = key is public = no encryption. This is a key management category.
Question 5
A team migrating from TLS 1.0 discovers their load balancer still supports 3DES and RC4 cipher suites. The team lead says, 'these are encrypted so they should be fine.' Which is the correct response and why?
✎ Predict before reading options. Commit to your answer first.
Exam TipDES, 3DES, RC4, MD5, SHA-1 in modern contexts = deprecated. Flag them every time.
Question 6
A laptop containing patient records is stolen from a hospital employee's car. The laptop's drive is encrypted with BitLocker (AES-256-XTS) and was powered off at the time. The TPM-stored key is not recoverable without the user's PIN. Is the hospital required to report this as a HIPAA breach?
✎ Predict before reading options. Commit to your answer first.
Exam TipEncrypted data at rest + key stored separately = safe harbor under HIPAA and most state laws. Exam favorite.
Question 7
A web developer wants to encrypt user data in transit and asks which of these is the MODERN default choice for TLS 1.3:
✎ Predict before reading options. Commit to your answer first.
Exam TipTLS 1.3 = AEAD only. AES-GCM or ChaCha20-Poly1305. Anything else is old TLS.
Question 8
A junior developer proposes the following design: 'We'll generate a random AES-256 key when the application starts and use it to encrypt all sensitive database fields. We'll store the key in an environment variable.' Identify the most critical flaw.
✎ Predict before reading options. Commit to your answer first.
Exam TipEnvironment variables = near-ciphertext exposure. KMS-or-HSM is the right answer for production keys.
Whether you're a student, parent, or teacher — I'd love to hear from you.
Just want free AP CS resources?
Enter your email below and check the subscribe box — no message needed.
Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.
Typically responds within 24 hours
✓
Message Sent!
Thanks for reaching out. I'll get back to you within 24 hours.
34.8% of Tanner’s CSP students score 5s. The national average is 9.6%.
I’m a Student
I’m a Teacher
✓Free AP CSP Big Ideas cheat sheet (PDF)
✓Daily practice questions covering all 5 Big Ideas
✓Create Task tips that actually work — from a real AP teacher
✓Free class codes with student progress tracking
✓3 full practice exams + Top 100 questions for your class
✓Create Task guidance and pseudocode reference sheets
Which AP CS exams are you prepping for?
✓
You’re in!
Your Big Ideas cheat sheet is on its way.
No thanks, I’ll figure it out myself
Avg student improvement: 2+ score levels | Real AP teacher, not just a tutor
AP Cybersecurity — National Launch 2026–27
Get Early Access to AP Cyber
AP Cyber launches nationally fall 2026. Get in early to help shape the course — start free with Unit 1 and the free teacher gradebook.
✓
You’re in — you’re on the AP Cyber early-access list!
Tanner will follow up personally within 48 hours. Your feedback will directly shape what gets built.
Step 1 of 4
Early Access — Limited Spots
Who are you?
Are you a teacher or a student?
I’m a Teacher
I’m a Student
Free to start — Unit 1 and the teacher gradebook are always free, no credit card.
Founding teachers unlock all 5 units and get direct input on what we build.
Not interested right now
Step 2 of 4
Your School
Tell us about your class
Other AP CS courses you teach
Your Situation
Tell us about yourself
Step 3 of 4
Classroom Needs
What does your classroom need? (select all that apply)
How You Study
What would help you most? (select all that apply)
Step 4 of 4
Almost Done
Where should we send your early-access details?
Free gradebook + Unit 1 | Your feedback shapes the course | Built by a real AP teacher