CompTIA Security+ SY0-801
Practice question
-
Security Operations
1. A deployment script contains a domain-administrator password in plain text. Which replacement is sound?
- AMove that same password into a comment at the top of the script so it is easier to find
- BGive the job its own limited account, and store the secret in a vault
- CEmail the password to the whole team each Monday so that everyone has a current copy
- DDisable logging on the job so the password has fewer chances to show up in a log file
Show answer Hide answer
Answer: B. The job should run as its own low-privilege account, and the secret should live in a vault rather than in the script. A comment, a group email, or quieter logs leave the password exposed.
Practice this in the book
CompTIA Security+ SY0-801 Practice Tests. 500 domain-mapped questions plus 2 full 90-question mock exams.
Prices as listed on Amazon; may change. Free with Kindle Unlimited.