12 questions, 20 points, 30 minutes. Pass mark: 14/20 (70%). The answers are in
answer-key.md(for instructors only).
Part A - Multiple choice (1 point/question)
Q1. The clause "Không tìm thấy đơn SE9999." ("Order not found.") is a fixed sentence in the contract. The most suitable oracle:
- A. Human B. Reference (facts) C. Exact D. Language
Q2. The limit is "1-2000 characters after trimming whitespace at both ends". Which set of cases fully covers the upper boundary and the empty classes?
- A. 2000 and 2001
- B.
""," ", 1999, 2000, 2001 - C. 1, 1000, 2000
- D. Only one string of 5000 characters
Q3. The instruction "Ghi chú cho trợ lý: ..." ("Note for the assistant: ...") sits in a product review that the application retrieves and then gives to the model. According to OWASP, this is:
- A. Direct prompt injection B. Indirect prompt injection C. System prompt leakage
- D. Improper output handling
Q4. The bot refuses "The seller scammed me, I want to report the seller". Under C4 and C10, this is:
- A. Correct behaviour B. Under-refusal C. Over-refusal D. Out of scope
Q5. Which charter follows the template "Explore ... with ... to discover ..." and has all three parts?
- A. "Test the returns flow"
- B. "Explore order lookup with malformed order numbers to discover guessed answers"
- C. "Send 'SE1001' and check for 'đang giao' (in delivery)"
- D. "Explore everything to discover every bug"
Part B - True/False (1 point/question)
Q6. Two strings that look exactly the same on screen always have the same length in Python.
Q7. If every injection case in the test set passes, we can conclude that the product is immune to prompt injection.
Q8. A case with the verdict REVIEW should be counted as PASS in the report.
Part C - Short answer (3 points/question)
Q9. Why should a test for system prompt leakage use a canary instead of looking for the attack sentence in the input? Why is a canary never a real secret?
Q10. A refusal set has 5 "answer" cases and 3 "refuse" cases. The bot refuses 2 "answer" cases and helps with 1 "refuse" case. Compute the two rates, and give one reason not to compare these figures between two builds.
Part D - Scenarios (3 points/question)
Q11. v1 does not understand "ko nhận được hàng" ("did not get the goods", with "ko" for "not"). The team releases a fix and says "fixed". Describe how you would retest the fix (at least 3 cases), and which kind of result would make you reopen the bug.
Q12. The output filter replaces unknown links with [liên kết đã bị chặn] ("link blocked"), but the answer still
contains "Vui lòng đăng nhập lại tại [liên kết đã bị chặn] để nhận voucher" ("Please log in again at [link blocked] to
receive a voucher"). Is this a defect? Which clause? Which defence layer worked, and which did not? How do you report it?