Automating Cisco Data Center Networking Solutions (DCNAUTO) Free Sample Questions

Description

Covers Git and API styles for network programmability, ACI REST API programming, Day 0 provisioning and model-driven telemetry, and UCS and NDFC API automation with Intersight.

20 free sample questions226 in the full practice test

Try simulator

300-635 Sample Questions

  1. Question 1

    Intermediate

    Data Center Compute · Configure Cisco UCS with developer tools

    A DevOps engineer is tasked with automating the deployment of service profiles in a Cisco UCS environment managed by UCS Manager. The primary requirements are that the automation solution must be declarative, idempotent, and easily integrated into an existing CI/CD pipeline that uses YAML for definitions. Which tool best satisfies all these requirements?

    Answer and explanation

    Correct answer: C

    Ansible is a declarative automation tool that uses YAML-based playbooks, fitting perfectly into the CI/CD pipeline requirements. The modules in the cisco.ucs collection are designed to be idempotent, meaning they will only make changes if the current state does not match the desired state defined in the playbook. This makes it the optimal choice for meeting all the stated requirements.

  2. Question 2

    AdvancedMultiple answers

    Data Center Device-centric Networking · Describe Day 0 provisioning with NX-OS

    A network administrator is troubleshooting a PowerOn Auto Provisioning (POAP) failure on a new Nexus 9300 switch. The switch successfully obtains an IP address from DHCP but fails to download the Python configuration script from the TFTP server. The DHCP server is confirmed to be providing the correct script name and TFTP server IP. Which two potential issues are the most likely cause of this failure? (Choose two.)

    Answer and explanation

    Correct answers: B, D

    POAP operates within the management VRF by default. If the TFTP server is in a different subnet, the switch must have a default gateway (provided by DHCP) and proper routing to reach it. Lack of IP reachability is a common cause of POAP script download failures.

    Even with full IP reachability (e.g., ICMP pings work), network security policies can block specific protocols. TFTP uses UDP port 69, which might be blocked by an intermediate firewall or an ACL, preventing the file transfer from succeeding.

  3. Question 3

    Intermediate

    Data Center Compute · Construct an Intersight API call given documentation

    An automation engineer needs to construct a REST API call to Cisco Intersight to retrieve all server profiles that are in an 'Unassigned' state. Based on the Intersight API documentation, the endpoint for server profiles is /api/v1/server/Profiles and it supports OData query options. Which API call correctly filters the results?

    Answer and explanation

    Correct answer: B

    This is the correct syntax for an OData query. The '$filter' parameter is used to specify the filtering condition, where the 'Status' property must be equal ('eq') to the string 'Unassigned'.

  4. Question 4

    Advanced

    Data Center Device-centric Networking · Compare model-driven telemetry such as YANG Push and gRPC

    A data center operator is using model-driven telemetry on a Nexus 9500 switch to stream interface statistics to a collector. They observe high CPU utilization on the switch and determine that the telemetry process is the cause. The current configuration pushes data every 5 seconds for all 128 interfaces on a line card. Which action is the most effective way to reduce the CPU load caused by telemetry without losing critical visibility?

    Answer and explanation

    Correct answer: B

    The frequency of data collection and streaming is a primary driver of CPU usage. Increasing the sample interval (e.g., from 5 to 60 seconds) directly reduces how often the system must gather and push data, significantly lowering the CPU load. This is the most direct and effective method to control resource consumption while maintaining visibility, albeit at a lower resolution.

  5. Question 5

    Beginner

    Controller Based Data Center Networking · Construct a Python script to create an application policy using the ACI Cobra SDK

    True or False: When using the Cisco ACI Cobra SDK to create a new Tenant, the configuration change is immediately pushed to the APIC upon object creation in the Python script.

    Answer and explanation

    Correct answer: B

    The statement is false. In the Cobra SDK workflow, you first create and modify Managed Objects (MOs) locally within your script. The changes are not sent to the APIC until you explicitly use a method like c.addMo(tenant) and then c.commit(configReq) to commit the configuration request. This allows for building a set of changes before sending them to the controller in a single transaction.

  6. Question 6

    Intermediate

    Network Programmability Foundation · Describe the challenges encountered and patterns used when consuming APIs synchronously and asynchronously

    A developer is writing a Python script to interact with a REST API. The API can sometimes take several seconds to respond, and the script must perform other tasks while waiting for the API response to avoid blocking. Which Python library and approach should be used to achieve this non-blocking, asynchronous behavior?

    Answer and explanation

    Correct answer: B

    The asyncio library is Python's standard framework for writing single-threaded concurrent code using coroutines. Paired with the aiohttp library, which provides an asynchronous HTTP client, it allows the script to make an API call, await the response without blocking, and yield control to the event loop to perform other tasks. This is the ideal pattern for non-blocking I/O operations.

  7. Question 7

    Beginner

    Data Center Device-centric Networking · Implement On-Box Programmability and Automation with NX-OS

    An administrator is attempting to run a Python script inside the NX-OS guest shell on a Nexus 9000 switch. The script fails because it depends on an external library that is not installed. What is the correct command to install the required library within the guest shell environment?

    Answer and explanation

    Correct answer: B

    The NX-OS guest shell is a Linux environment where Python packages are managed using pip. To install packages system-wide within the shell, you need root privileges, which are obtained using sudo. Therefore, sudo pip install is the correct command.

  8. Question 8

    Intermediate

    Controller Based Data Center Networking · Construct a Terraform plan to use an ACI

    A financial services company is using Terraform to manage its Cisco ACI fabric. The security team mandates that all infrastructure changes must be reviewed and approved before being applied. The DevOps team uses a Git-based workflow. How can the team ensure that proposed ACI configuration changes are reviewed before they are implemented?

    flowchart TD A[Developer creates TF plan] --> B{Push to Git Repo}; B --> C[CI Server runs 'terraform plan']; C --> D{Review & Approve Plan Output}; D -- Approved --> E[CI Server runs 'terraform apply']; D -- Rejected --> F[Developer revises code]; F --> A; E --> G([End]);

    Answer and explanation

    Correct answer: B

    This is the standard GitOps workflow for Terraform. When a developer submits a pull request, the CI/CD pipeline automatically runs terraform plan. The output of the plan, showing the exact changes to be made, is posted to the pull request for review. The changes are only applied (terraform apply) after the pull request is approved and merged, satisfying the security requirement for review and approval.

  9. Question 9

    Beginner

    Network Programmability Foundation · Describe the benefits of Python virtual environments

    A developer needs to ensure their Python automation project and its specific library dependencies can be reliably replicated on a different machine. The project uses the requests library version 2.25.1 and netmiko version 3.4.0. What is the best practice for managing and documenting these dependencies?

    Answer and explanation

    Correct answer: B

    This is the standard best practice. A virtual environment isolates the project's dependencies from the system and other projects. The pip freeze > requirements.txt command creates a file listing the exact packages and versions, which can then be used on another machine with pip install -r requirements.txt to perfectly replicate the environment.

  10. Question 10

    IntermediateMultiple answers

    Data Center Compute · Describe the capabilities of the Nexus Dashboard Fabric Controller API

    Which two authentication mechanisms are commonly required when making programmatic calls to the Nexus Dashboard Fabric Controller (NDFC) REST API? (Choose two.)

    Answer and explanation

    Correct answers: B, C

    The standard workflow for NDFC API authentication involves sending a POST request with user credentials to a login endpoint. The response contains a session token (e.g., Dcnm-Token) that must be included in the headers of all subsequent API calls.

    The initial login request to obtain the session token requires the user's username and password to be sent in the body of the POST request. This is the first step of the authentication process.

Register free for 10 more questions

Or unlock all 226 300-635 questions with explanations, timed mode and flashcards.