Question 6 of 46

What are two main guiding principles of REST? (Choose two.)

    Correct Answer: A, C

    Two main guiding principles of REST are cacheable and stateless. REST principles include a uniform interface, client-server, cacheable, stateless, layered system, and optional code on demand. By ensuring responses are cacheable, REST can improve network efficiency. Being stateless means each request from a client contains all the information the server needs, enhancing scalability and simplicity.

Question 7 of 46

Refer to the exhibit.

Which action does the execution of this ACI Cobra Python code perform?

    Correct Answer: C

    The ACI Cobra Python code provided in the exhibit queries the Cisco ACI's managed objects for 'fvCEp', which stands for Fabric Virtual Client Endpoint. The code logs into the ACI, retrieves the full subtree of information for 'fvCEp', and iterates through the list of endpoints, printing their MAC and IP addresses. Therefore, this code is designed to print all endpoint MAC and IP addresses.

Question 8 of 46

Refer to the exhibit.

Assuming a new ACI instance, what is the result when this script is run?

    Correct Answer: B

    The script uses the range(1, 10) function in Python, which generates a sequence of numbers starting from 1 up to but not including 10. Therefore, the loop runs from 1 to 9, resulting in the creation of nine objects. Each iteration of the loop calls the requests.post() function to create a new tenant object. No objects are deleted in this script.

Question 9 of 46

Which Ansible playbook fragment returns the fewest queried ACI endpoint groups?

A.

B.

C.

D.

    Correct Answer:

    Option D returns the fewest queried ACI endpoint groups. It includes the most specific criteria by specifying the tenant (prod_tenant), the application profile (ap: internet), and a particular endpoint group (epg: web). This makes it the most restrictive query compared to the others, which are less specific and thus return more endpoint groups.

Question 10 of 46

How is an ACI class name composed?

    Correct Answer: C

    An ACI class name is composed by combining the package name of the object queried and the name of the class queried in the context of the corresponding package. This ensures a unique identification of the class within the ACI framework.