Original course questions with explained answers. This assessment is for learning; it does not predict certification exam results.
Free sample questions with explanations
Try these sample questions without an account. Choose your answer, then open the explanation. Sign in below to take the full scored test and save your result.
1. What does pwd show?
- Current working directory
- All passwords
- A privilege grant
Show answer and explanation for question 1
Correct answer: A. Current working directory
pwd establishes path context.
2. Why quote a path with spaces?
- To change its permissions
- To pass it as one argument
- To encrypt it
Show answer and explanation for question 2
Correct answer: B. To pass it as one argument
The shell otherwise separates words.
3. What is better than chmod 777 as a blanket fix?
- Disable all logging
- Always use root
- Inspect identity and grant required minimum access
Show answer and explanation for question 3
Correct answer: C. Inspect identity and grant required minimum access
Access should match the intended task and identity.
4. Root can read a config, but the normal service user fails. What does the successful root read establish?
- That privileged process could read it in its context; service access still needs verification.
- The service must be using an incorrect password.
- Every service on the machine can read the config.
Show answer and explanation for question 4
Correct answer: A. That privileged process could read it in its context; service access still needs verification.
Effective identities and privileges differ. Inspect every path component under the service context, plus relevant ACL or isolation controls. A privileged read is weak evidence for ordinary service access.
5. The file is group-readable, but its parent directory is inaccessible to the service group. Which basic permission is relevant to reaching the file?
- World-write access on all parent directories.
- Directory search/execute access along the path.
- Execute permission on the configuration file.
Show answer and explanation for question 5
Correct answer: B. Directory search/execute access along the path.
Directory search permission is needed to traverse the path. Making a data file executable does not solve a parent traversal barrier; broad write access exceeds the read objective.
Sign in to take this free practice test and save your result.
Sign in