Refer to the exhibit.
Given the API documentation for the UCS SDK python class, UcsHandle, which code snippet creates a handle instance?
When a Cisco IOS XE networking device is configured using RESTCONF, what is the default data-encoding method?
Refer to the exhibit.
What is the value of the node defined by this YANG structure?
Drag and drop the network automation interfaces from the left onto the transport protocols that they support on the right.
A function my_func() returns True when it executes normally. Which python snippet tests my_func()?
Refer to the exhibit.
A REST API retune this JSON output for a GET HTTP request, Which has assigned to a variable called “vegetables” Using python, which output is the result of this command?
Drag and Drop the Bash commands from the left onto the correct actions on the right.
Drag and drop the HTTP status codes from the left onto the correct descriptions on the right.
What are the two principles of an infrastructure as code environment? (Choose two)
An automation script fails to connect to an internal server exactly 1 out of 2 times it is executed. This behavior is seen from different clients. Which networking device mut be at fault?
A developer is writing an application that a REST API and the application requires a valid from the API which element of the response is used in the conditional check?
Users cannot access a webserver and after the traffic is captured, the capture too* shows an ICMP packet that reports "communication administratively prohibited" What Is the cause of this webserver access Issue?
Refer to the exhibit.
Which two statement describe the configuration of the Ansible script is run? (Choose two.)
Refer to the exhibit.
Drag and Drop the code from the bottom onto the box where the code is missing on the Meraki Python script to create a new network
What is a functionality of the Waterfall method as compared to the Agile method for software development?
Refer to the exhibit.
A network engineer must collect information from the network using Cisco DNA Center APIs. The script must query for the devices with 'platformId' 'C9540-x' and then send commands to be executed. Which process is automated by the Python script?
Refer to the exhibit.
Which two files are being edited in the unified diff? (Choose two.)
Refer to the exhibit.
An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. Why are fewer interfaces returned for the same device when the 'get_all_interfaces' API call is used?
Refer to the exhibit.
Which command needs to be placed on the box where the code is missing to output the value of page_jd in the Python 3.7 script?
A)
B)
C)
D)
Refer to the exhibit.
A developer creates a Python script that queries Cisco Webex. When the script is executed, a 401 code is returned. After troubleshooting, the developer discovers that the service is missing privileges. Which change to the header in line 4 of the script results in the code 200?
A)
B)
C)
D)
Refer to the exhibit.
A network engineer wants to automate the port enable/disable process on specific Cisco switches. The engineer creates a script to send a request through RESTCONF and uses ietf as the YANG model and JSON as payload. Which command enables an interface named Loopback1?
Drag and drop the code from the bottom onto the box where the code is missing in the Python script to complete a function to return all the clients on a network by using the Cisco Meraki Dashboard API. Not all options are used.
Refer to the exhibit.
A developer must integrate a bot with an internal communication app. The developer wants to replace the webexbot package with the teamsbot package by using Ansible and prepares a playbook In the first two tasks, the playbook stops the webexbot and verifies that the teamsbot is installed. What is accomplished in the last task of the workflow when the developer runs the Ansible playbook?
A developer has created a new image to use in a Docker build and has added a tag for the image by using the command:
$ docker tag 84fe411926287 local/app:0.4
Which command must be executed next to build the Docker image using the tag?
A new application is being developed that must be hardware independent. The application includes an administrative component which is accessed using a Windows desktop GUI. Installation and management of the environment must be fully automated. Which application deployment type meets the requirements?
An engineer must configure Cisco Nexus devices and wants to automate this workflow. The engineer enables the Cisco NX-OS REST API to configure the devices by using an Ansible playbook. Before running the code,
which resource must be used to verify that the code works correctly?
Drag and drop the code snippets from the bottom to the blanks in the code to complete the HTTP response. Not all options are used.
Which Cisco platform provides organization-wide automation, security, policy enforcement, any agility across wired and wireless networks?
Refer to the exhibit.
The script returns an output of 401. To use the supplied URL. an HTTP GET request must Be sent with an Authorization header. The header value is a BaseG4 encoded concatenation of the username and password. Which action must be taken to return an output of 200?
Refer to the exhibit.
The documentation outlines how to use credentials for the AMP API Which script successfully performs an API call using basic authentication?
A)
B)
C)
D)
Refer to the exhibit.
Which command, including arguments, is executed when the container starts?
A local Docker alpine image has been created with an image ID of a391665405fe and tagged as “latest”. Which command creates a running container based on the tagged image, with the container port 8080 bound to port 80 on the host?
Refer to the exhibit.
A network engineer wants to use an API to update information about device interfaces. The network devices are deployed in a Cisco DevNet Sandbox and have running interfaces. Which line of code needs to be placed in the snippet where the code is missing?
Several teams at a company are developing a new CRM solution to track customer interactions with a goal of improving customer satisfaction and driving higher revenue. The proposed solution contains these components:
• MySQL database that stores data about customers
• HTML5 and JavaScript UI that runs on Apache
• REST API written in Python
What are two advantages of applying the MVC design pattern to the development of the solution? (Choose two.)
Refer to the exhibit.
A network engineer must manage the network devices. The engineer prepares a Python scripts to authenticate to the Cisco to DNA Center API and request a device list. The device request fails and returns errors code 401. Which action solves the problem?
Refer to the exhibit.
Which function does the EXPOSE line perform when building an image from this Dockerfile?
Which tool allows changes to the configuration management toolset to be tested?
Drag and drop the code from the bottom onto the box where the code is missing in the Bash script to complete the missing assignment.
Refer to the exhibit.
A network engineer works on a Cisco DevNet application that is available for download on the Cisco DevNet website. The engineer prepares a bash script to automate operations that relate to the application. Which workflow is being automated in the bash script?
A company wants to accelerate the adoption of technologies that will simplify its operations. Staff have different skill levels and are looking for a single site to find easy-to-consume beginner, intermediate, and advanced multidomain use cases. Which site should be used?
Refer to the exhibit.
The Cisco Meraki API manages two organizations. In each organization, two independent networks are defined. How many calls to the /organizations/(orgid)networks endpoint will be run parallel by the GetAllNetwork function of the API client?
Refer to the exhibit.
A Python code has been written to query a device. The executed code results in the error shown. Which action resolves the problem?
Which advantage does the agile process offer compared to waterfall software development?
A developer is creating a script to interact with a REST API service which requires basic authentication. The credentials are "devnet:391665405" and the Base64 encoding of the credentials is "GV2bmV0dXNlcjpDaXNj=". Which payload and header combination must be used for authentication?
Refer to the exhibit.
An API call is constructed to retrieve the inventory in XML format by using the API. The response to the call is 401 Unauthorized. Which two headers must be added to the API call? (Choose two.)
What is the outcome of executing this command?
git clone ssh://john@exmaple.com/path/to/my-project_git
Refer to the exhibit.
OR
An administrator attempts to perform a GET using the Cisco IOS XE RESTOCNF API to return the hostname of a device. The sequence diagram illustrated the HTTP message observed. Which change to the API request resolves the issue?
: 19 DRAG DROP
Drag and drop the HTTP methods from the left onto their generally accepted corresponding create, read, update, and delete operations on the right.
Refer to the exhibit.
The JSON data in the exhibit has been parsed and stored in a variable, “data”. What returns the value “172.16.0.11” ?
In DNS, which record specifies an alias that refers to another name that ultimately resolves to an IP address?
What are two advantages of the Model-view-controller software design pattern? (Choose two.)
Refer to the exhibit.
Drag and drop the code from the left code from the left onto the item number on the right to complete the Meraki code to obtain a list of client which have used this network.
What are two advantages of YANG-based approaches for infrastructure automation? (Choose two.)
How is a branch called "my-bug-fix" started to develop a fix needed in a product?
Refer to the exhibit.
Fill in the blanks to complete the cURL command to the list of networks in the Meraki organization with an id of 384279060
Which REST architectural constraint indicates that no client context should be stored on the server between requests?
Drag and drop elements of the RESTCONF protocol stack from the left onto the correct description on the right. Not all elements on the left are used.
Refer to the exhibit.
Drag and drop the descriptors from the left onto the correct parts of the API request and response on the right.
Refer to the exhibit.
What is the effect of this Ansible playbook on an IOS router?
Which device is used to transport traffic from one broadcast domain to another broadcast domain?
Which statement about authentication a RESTCONF API session with a router that runs Cisco IOS XE software is true?
Which CI/CD tool is an automation tool used to build, test, and deploy software?
Drag and drop the capability on the left onto the Cisco compute management platform that supports the capability on the right.
Which status code is used by a REST API to indicate that the submitted payload is incorrect?
Refer to the exhibit.
The output of a unified diff when comparing two versions of a python script is shown. Which two “single_request _timeout ()”
A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the rest of the messages. Which API constraint is described in this scenario?
Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. The Python script retrieves a list of tasks from a to-do list for effective project management purposes. Not all options are used.
An engineer must review and clean up a code repository. During the review, the engineer finds a file named config.json that contains API URLs, shared keys, and other application configurations. Which two methods, according to best practice, must be used to protect secrets? (Choose two.)
A developer writes an application that refines data in temporary secure file storage hosted on the public cloud. Data will be deleted after processing and does not contain any private information. What is the advantage that a public cloud deployment provides to the developer?
Which IP service is responsible for automatically assigning an IP address to a device?
Refer to the exhibit.
A collaboration engineer has developed a script to automate the gathering of information by providing the email address of the individual. When the engineer tests the script, a 401 error is received. Which command fixes the script?
Refer to the exhibit.
The server.js Node.js script runs after the Dockerfile creates its container. What is the working directory of the application inside the container?
Which two commands download and execute an Apache web server container in Docker with a port binding 8080 in the container to 80 on the host? (Choose two.)
Refer to the exhibit.
What are two characteristics of the NETCONF response? (Choose two.)
Refer to the exhibit. An engineer must authorize a REST API call. The API password is "Cisco123!". Which Bash command must be placed in the code to authorize the call?
A development team is creating an application used for contactless payments. The application must:
Be web-based
Capture and process the credit card information for a purchase.
Which security action must the web application use to gather and process the private customer data?
What are two benefits of using classes over functions when writing applications? (Choose two.)
Refer to the exhibit.
An engineer is comparing two tiles by using the unified cliff format What is determined by the content in the file2.py file?
A company wants to automate the orders processed on its website using API. The network device that supports the solution must:
support XML encoding
support distributed transactions
support YANG data models
be support software redundancy
Which requirement prevents the use of RESTCONF for the solution?
Refer to the exhibit.
An engineer must add new users and set privileges for executing a few Python scripts. The engineer prepares a Bash script to automate this task. The script ds a user and a group from the command-line arguments, creates a directory, and copies the Python scripts to it. The script then changes to the directory and lists the scripts, used on the script workflow, which process is being automated within the loop by using the list of Python scripts?
Refer to the exhibit.
A developer needs to create a Docker image that listens on port 5000. Which code snippet must be placed onto the blank in the code?
Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. Not all options are used.
Refer to the exhibit. Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. Not all options are used.
Refer to the exhibit.
An application must be deployed on a server that has other applications installed. The server resources are to be allocated based on the deployment requirements. The OS for each application must be independent. Which type of deployment is used?
A development team needs to containerize an application named 'cust475605674\ A Dockerfile has been created and now the docker build command needs to be run using the current folder to find the Dockerfile. build the image and create a local repository named 'cust321453857-rep' that points to that image. Which command must be used?
What are two benefits of implementing common data structures when working with APIs in remote systems? (Choose two.)
A developer is developing a web application that uses username and password to authenticate to the next service. The user credentials must be available at any time in the application. The developer must choose and implement a secure method of storing the authentication credentials that are used in the automation code. Which password handling method must be used to minimize the security risk?
Refer to the exhibit.
A company recently acquired new IP-based security cameras. After discussion with the engineering team, they decide to segment the security camera traffic m the rest…The engineer assigns the new VLAN 10 for the security camera traffic. After all the devices are configured, it seems as if the cameras cannot access the Internet, .. a few minutes of debugging, the engineer restricts the problem to the router configuration. What is the cause of the issue?
Refer to the exhibit.
A developer just finished testing a Python script and wants to save the list of packages and versions installed on the current machine. The developer must make sure that it will not cause any issues if tested on another device due to different library versions. Which line of code needs to be placed on the snippet where the code is missing?
Refer to the exhibit. A developer must use a token to collect data from Cisco DNA Center API and prepares a Python script to send requests. Which line of code needs to be placed on the snippet where the code is missing to obtain a token from the Cisco DNA Center API?
Drag and drop the code from the bottom onto the box where the code is missing to construct a Python script that calls a REST API request. Not all options are used.
Refer to the exhibit. A developer needs to create a webhook to send all Cisco Webex messages to a third-party tool by using the Cisco Webex API. The developer must Auhenticate with the API before any API calls can be made. To automate the procedure, a Python script is used. Which code snippet must be placed onto the blank in the code?
A)
B)
C)
D)
Drag and drop the common API styles from the left onto the requirement on the right.
An engineer deploys a Cisco CSR 1000 V instance to a virtual machine. The engineer must output the device configuration in JSON format. Which protocol is used for this task?
Drag and drop the code snippets from the bottom onto the blanks in the code to complete the happy path scenario. Not all options are used.
Refer to the exhibit. A script must output details of all the Cisco Meraki MS220-BP switches across all organizations and networks. Drag and drop the code snippets from the bottom onto the boxes in the code to complete the script. Not all options are used.
Refer to the exhibit. A network engineer executes the bash script shown. Which two things are achieved by running the script? (Choose two.)
Refer to the exhibit.
A developer can access the TLS REST API on server A, but cannot access the API on server B. The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?
Refer to the exhibit.
A developer cannot reach the web application behind an NGINX load balancer. The developer sends a request to an application FQDN with cURL but gets an HTTP 502 response. Which action solves the problem?
What is a capability of model-driven programmability for infrastructure automation?