NS0-402 practice question 4 of 15

You must have a firewall adjusted to allow Ansible to work with ONTAP and Element software. In this scenario, which port must be allowed for both systems?

Full set: 58 questions
Answer options
A: Telnet(23)
B: SSH(22)
C: HTTPS(443) Correct answer
D: HTTP(80)
Correct Answer:
C. HTTPS(443)
Explanation

Ansible manages both NetApp ONTAP and NetApp Element software primarily through their respective REST APIs. These APIs are designed for secure, programmatic control and operate over the HTTPS protocol. The standard TCP port for HTTPS is 443. Therefore, to allow the Ansible control node to communicate with the management interfaces of both ONTAP (Cluster Management LIF) and Element (Management VIP), the firewall must permit traffic on port 443. This ensures secure and encrypted communication for all automation and configuration management tasks performed by Ansible.

Why Incorrect

A. Telnet(23): This is an insecure, unencrypted legacy protocol and is not used by Ansible for managing modern NetApp systems.
B. SSH(22): While SSH is used for command-line access, the official Ansible modules for ONTAP and Element are built to use the more robust REST APIs over HTTPS.
D. HTTP(80): This is an unencrypted protocol. For security reasons, modern management APIs, including those from NetApp, mandate the use of encrypted HTTPS.

References

1. NetApp ONTAP Documentation: The ONTAP REST API, which is the primary interface for Ansible automation, is accessed through the cluster management LIF over HTTPS (port 443).

Source: NetApp, "ONTAP REST API reference," Introduction. "You access the ONTAP REST API through the cluster management LIF. The API is served over HTTPS..."

2. NetApp Element Software Documentation: The Element API, used by Ansible for automation, requires communication over HTTPS to the Management Virtual IP (MVIP).

Source: NetApp, "Element API Developer Guide," Get started with the Element API section. "All API requests are sent over HTTPS to the management virtual IP (MVIP) address of the storage cluster on port 443."

3. Ansible Documentation for NetApp: The connection parameters for the netapp.ontap Ansible collection, such as usehttps (which defaults to true) and validatecerts, confirm that the communication protocol is HTTPS.

Source: Ansible Documentation, "netapp.ontap.naontapinfo – NetApp ONTAP Information gathering," Parameters section.

Scroll to Top