exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 352 discussion

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

An engineer needs to automate the configuration on a Cisco NX-OS switch. The solution must meet these requirements:

• Ansible is used.
• The transport protocol is encrypted.
• Support for Asynchronous requests.

Which two access mechanisms must be used? (Choose two.)

  • A. JSON-RPC
  • B. NX-API
  • C. HTTPS
  • D. SNMP Version 2c
  • E. NETCONF
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
MalonJay
Highly Voted 2 years ago
B E ansible can use netconf which uses ssh, SSH is also encrypted. Can you configure Nexus of https?
upvoted 7 times
i9t6
1 year, 10 months ago
how these will be Asynchronous?
upvoted 2 times
dkhenderson2
1 year ago
both NX-API and NETCONF support asynchronous requests, which meet the requirement for supporting asynchronous operations. In the case of NX-API, it provides support for asynchronous requests through the use of non-blocking APIs, which allow tasks to be executed concurrently without waiting for the completion of each individual task. This enables parallel execution of tasks, enhancing performance and efficiency. Similarly, NETCONF supports asynchronous operations through the use of notifications and subscriptions. Notifications allow the device to send asynchronous updates to the client about specific events or conditions, while subscriptions enable the client to receive ongoing updates about changes in device state. This asynchronous capability allows for efficient handling of events and notifications without blocking the execution of other tasks. Therefore, both NX-API and NETCONF meet the requirement for supporting asynchronous requests.
upvoted 1 times
...
...
...
AZBeast
Most Recent 1 month ago
Selected Answer: BE
B & E I think the key to this questions is the requirement that Ansible be used. NX-API is a web based method of executing API request. Yes, they are asynchronous and it does use HTTPS but if you are using it you are not using Ansible. Ansible can use NETCONF and HTTPS and NETCONF does support asynchronous request.
upvoted 1 times
...
Pina7
1 month, 2 weeks ago
Selected Answer: BE
C. HTTPS Analysis: HTTPS is an encrypted version of HTTP, using SSL/TLS to secure data in transit. It serves as the transport protocol for APIs like NX-API or RESTCONF on NX-OS switches. While not a standalone access mechanism, it’s a critical component enabling encrypted communication. Ansible can use HTTPS as the transport layer for NX-API or NETCONF, satisfying the encryption requirement. However, HTTPS alone doesn’t define asynchronous support—it depends on the underlying protocol (e.g., NX-API or NETCONF). Fit: Meets encrypted transport but is not a complete access mechanism; requires pairing with NX-API or NETCONF.
upvoted 1 times
...
williamluo
5 months, 1 week ago
Selected Answer: BE
NETCONF supports encrypted transport using SSH and can handle asynchronous requests.
upvoted 1 times
...
[Removed]
1 year ago
Selected Answer: BC
The correct answers are: B. NX-API and C. HTTPS Explanation: To meet the requirements of automating configurations on a Cisco NX-OS switch using Ansible, with encryption and support for asynchronous requests, the best options are: NX-API (B): NX-API (NXOS API) is Cisco's application programming interface for NX-OS based devices, which allows for commands to be sent to Cisco switches and responses to be received in a structured format such as JSON or XML. NX-API supports the use of HTTPS as its transport protocol, ensuring the encryption requirement is met. It also provides the capability to make calls and receive responses asynchronously. HTTPS (C): HTTPS is the secure version of HTTP, encrypting the data transmitted between the client and the server. Using HTTPS as the transport protocol for NX-API ensures that the communication is encrypted, addressing the security requirement specified in the scenario. HTTPS is commonly used with NX-API to secure the data in transit.
upvoted 1 times
...
whipmuffin
1 year, 11 months ago
Selected Answer: BC
NX-API uses HTTP/HTTPS as its transport. CLIs are encoded into the HTTP/HTTPS POST body. Starting with Cisco NX-OS Release 9.2 (1), the NX-API feature is enabled by default on HTTPS port 443. HTTP port 80 is disabled. NX-API is also supported through UNIX Domain Sockets for applications running natively on the host or within Guest Shell. https://www.cisco.com/c/en/us/td/docs/dcn/nx-os/nexus9000/102x/programmability/cisco-nexus-9000-series-nx-os-programmability-guide-release-102x/m-n9k-nx-api-cli-101x.html#:~:text=NX-API%20uses%20HTTP%2FHTTPS%20as%20its%20transport.%20CLIs%20are,natively%20on%20the%20host%20or%20within%20Guest%20Shell.
upvoted 2 times
kirrim
1 year, 6 months ago
Set your Ansible varibles for NX-OS devices to use these values: ansible_connection: httpapi ansible_httpapi_use_ssl: yes Also, NX-API REST uses asynchorous deployment behind the scenes: https://developer.cisco.com/docs/cisco-nexus-3000-and-9000-series-nx-api-rest-sdk-user-guide-and-api-reference-release-103x/ "The syntactically and semantically valid configuration objects are accepted into the system and their actual deployment is done in an asynchronous manner"
upvoted 1 times
...
...
cj_kuo
2 years, 1 month ago
Selected Answer: BC
The giving answer seems to be correct, regarding to following reference: https://docs.ansible.com/ansible/latest/collections/cisco/nxos/nxos_nxapi_module.html Because the ansible can access Cisco Nexus devices through NXAPI in https...
upvoted 2 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