exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 280 discussion

Actual exam question from Cisco's 350-901
Question #: 280
Topic #: 1
[All 350-901 Questions]



Refer to the exhibit. A network administrator copies SSL certificates to a Cisco NX-OS switch. An Ansible playbook is created to enable NX-API, which will use the new certificate. In the group_vars/vars.yml file, which code snippet must be used to define the properly formatted variables?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JCantanhede
1 month, 3 weeks ago
Selected Answer: C
Gemini: The correct answer is actually none of the provided options. Here's why: Correct ansible_network_os Value: For NX-API, the correct value for ansible_network_os is "nxos". Correct Configuration: To enable NX-API with SSL and validate the certificates, the following configuration should be used: YAML ansible_network_os: "nxos" ansible_httpapi_use_ssl: true ansible_httpapi_validate_certs: true ansible_httpapi_port: 443 ansible_user: "USER" ansible_password: "PASSWORD" Therefore, the correct answer is a combination of the correct elements from the different answers, and none of the answers provided.
upvoted 1 times
...
Alexissiox
6 months ago
C is the configuration for NSO Module... https://developer.cisco.com/codeexchange/github/repo/jabelk/ansible-nso-restconf
upvoted 4 times
...
jithin1234
6 months, 1 week ago
Selected Answer: C
https://docs.ansible.com/ansible/latest/collections/ansible/netcommon/httpapi_connection.html
upvoted 1 times
...
[Removed]
9 months, 2 weeks ago
Selected Answer: C
Based on below correction.
upvoted 1 times
...
[Removed]
9 months, 3 weeks ago
Selected Answer: A
I'll go with A. https://docs.ansible.com/ansible/latest/network/user_guide/platform_nxos.html
upvoted 1 times
lznlxl
9 months, 3 weeks ago
given answer is correct. A can't be right as certificate needs to be used.
upvoted 1 times
SzClar
9 months, 3 weeks ago
only in A there is "ansible_network_os: nxos". I was not able to find sth like is given in C
upvoted 2 times
...
...
[Removed]
9 months, 2 weeks ago
I'm gonna change my answer to C, I asked ChatGPT and it answered C also: "I am highly confident in my answer. The exhibit you provided is a Ansible playbook which is using the "cisco.nxos.nxos_command" module and specifies the connection type to be "httpapi". This implies that it is using NX-API to run the commands and that the network_os should be set to "restconf" and the SSL certificate should be used. The https port is 443 and it is important to validate the certificate. The ansible_user and ansible_password are also important to provide the correct credentials for the switch."
upvoted 1 times
...
[Removed]
9 months, 3 weeks ago
More documentation: https://developer.cisco.com/docs/nexus-as-code/#!nx-os-with-netbox/populating-the-repository
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago