CompTIA Cloud+ (CV0-003) — Question 237
A systems administrator is creating a playbook to run tasks against a server on a set schedule. Which of the following authentication techniques should the systems administrator use within the playbook?
Answer options
- A. Use the server's root credentials.
- B. Hard-code the password within the playbook.
- C. Create a service account on the server.
- D. Use the administrator's SSO credentials.
Correct answer: C
Explanation
Creating a service account on the server is the best practice for automation because it allows for controlled access without using personal credentials. Using root credentials can pose security risks, hard-coding passwords is insecure, and relying on SSO credentials can lead to complications if the administrator's access changes.