How to approach it
Identify whether the original data needs to be recovered or whether you are comparing digests.
Worked example
Encrypt a backup so authorized operators can restore it with a key. Compare a trusted file hash to check whether a download changed.
Common mistake
A matching hash alone cannot establish who supplied it unless the expected digest is trusted.
Practice questions
What should secure password verification compare?
Show answer and explanation
A stored password hash produced with a suitable password hashing scheme.
A backup needs to be read later by an authorized user. Which operation fits?
Show answer and explanation
Encryption.
Can comparing file hashes detect an accidental file change?
Show answer and explanation
Yes, when you compare with a trusted expected digest.
Official reference
CompTIA Security+ exam information
What to study next
- Access control models
Distinguish decisions based on roles, attributes, or ownership.
- Security+ practice: Least privilege
Grant the minimum access needed for a task, scoped to the right resource and for only as long as required.