ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
A DevSecOps engineer has downloaded a third-party binary to include in an application build. Before committing the component to the organization's source-code repository, the engineer wants to confirm that the file has not been modified in transit. Which action provides the strongest assurance of the component's integrity?
Open the binary in a hex editor and search for suspicious readable strings that might indicate malicious code.
Compile the library and execute the vendor's unit tests to confirm the software behaves as documented.
Verify that the file's byte size matches the size stated on the project's download page.
Generate the file's cryptographic hash locally and compare it to the hash value obtained from a trusted source.
Computing a cryptographic hash (for example, SHA-256) of the downloaded file and comparing it against a trusted hash value published by the supplier is the most reliable way to verify integrity. Cryptographic hash functions exhibit the avalanche effect-any change to the input, even a single bit, produces a completely different output. Because hashes are one-way and collision resistant, an attacker cannot feasibly craft a different file that yields the same hash, and a mismatch immediately reveals tampering. Merely checking file size, inspecting readable strings, or running supplied tests can miss subtle or well-crafted modifications that do not affect size, contain no obvious text, or evade functional tests.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a cryptographic hash?
Open an interactive chat with Bash
What does collision resistance mean in cryptographic hashing?
Open an interactive chat with Bash
How does the avalanche effect enhance data integrity in hashing?
Open an interactive chat with Bash
What is a cryptographic hash?
Open an interactive chat with Bash
What is meant by the 'avalanche effect' in cryptographic hashing?
Open an interactive chat with Bash
Why is hash comparison considered stronger than verifying file size or running tests?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Supply Chain
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .