Juniper
JN0-224 · Question #100
JN0-224 Question #100: Real Exam Question with Answer & Explanation
The correct answer is A. Define the credentials in a vaulted file. C. Define the generated SSH keys to use in the playbook on the devices.. See the full explanation below for the reasoning.
Question
You need an Ansible Playbook to log in to multiple devices with different login credentials. For compliance purposes, you are not allowed to prompt the user for the credentials or allow the credentials be stored in planted on the control machine for each device. Which two actions will fulfill this task? (Choose two.)
Options
- ADefine the credentials in a vaulted file.
- BDefine the credentials as variables in the playbook.
- CDefine the generated SSH keys to use in the playbook on the devices.
- DDefine the credentials as variables in the host's file
Community Discussion
No community discussion yet for this question.