Exams > Cisco > 200-901: DevNet Associate (DEVASC)
200-901: DevNet Associate (DEVASC)
Page 14 out of 39 pages Questions 131-140 out of 390 questions
Question#131


Refer to the exhibit. An engineer must configure a load balancer server. The engineer prepares a script to automate workflow by using Bash. The script installs the nginx package, moves to the /opt/nginx directory, and reads the sites.txt file for further processing. Based on the script workflow, which process is being automated within the loop by using the information in sites.txt?

  • A. creating a file per each line in sites.txt with the information in template.conf, creating a link for the previously created file, and then changing the ownership of the created files
  • B. using the content of the file to create the template.conf file, creating a link from the created file to the /etc/nginx/sites_enabled, and then changing the file execution permissions
  • C. creating a new file based on template.conf in the /etc/nginx/sites_enabled directory for each line in the sites.txt file, and then changing the file execution permissions
  • D. using the information in the file to create a set of empty files in the /etc/nginx/sites_enabled directory, and then assigning the owner of the file
Discover Answer Hide Answer

A

Question#132


Refer to the exhibit. A network engineer must collect information from the network. The engineer prepares a script to automate workflow by using Cisco Meraki
API. The script must run over nested loops to collect organization and network information and uses the collected data for final collection. Which process is being automated by using the Python script?

  • A. Collect the IDs of the clients on the BLDG21 network.
  • B. List the IDs from the ACME organization.
  • C. Provide the BLDG21 network information if it is part of the ACME organization.
  • D. Gather the IDs of the ACME organization, the BLDG21 network, and the clients on the network.
Discover Answer Hide Answer

D

Question#133

Refer to the exhibit.

What is the function of the Python script?

  • A. Loop through the returned list of network devices and, for each device, print the device name and management IP address.
  • B. Count and print the total number of available devices.
  • C. For each device that is returned, display the device type and associated management IP address.
  • D. Iterate over a list of network devices and write all device names and management IP addresses to an output file.
Discover Answer Hide Answer

A

Question#134


Refer to the exhibit. The output of the diff -u README.md-repo README.md command is shown. The original file was 165 lines long. How many lines are in the edited copy of the file?

  • A. 162
  • B. 165
  • C. 172
  • D. 173
Discover Answer Hide Answer

C

Question#135

Which line is an example of the start of a chunk from a unified diff?

  • A. @@ -20191007T1200 +88,90 @@
  • B. @@ -88,10 +88,6 @@
  • C. @@ -90,88 +20191008T1349 @@
  • D. @@ -20191007T1200 +20191008T1349 @@
Discover Answer Hide Answer

B
Reference:
https://unix.stackexchange.com/questions/252927/what-do-the-numbers-in-the-line-mean-in-output-of-diff

Question#136

DRAG DROP -
Drag and drop elements of the RESTCONF Protocol stack from the left onto the correct descriptors on the right. Not all elements on the left are used.
Select and Place:

Discover Answer Hide Answer


Question#137

Which two NETCONF operations cover the RESTCONF GET operation? (Choose two.)

  • A. <get>
  • B. <get-config>
  • C. <get-update>
  • D. <modify-config>
  • E. <edit>
Discover Answer Hide Answer

AB
Reference:
https://www.cisco.com/c/en/us/support/docs/storage-networking/management/200933-YANG-NETCONF-Configuration-Validation.html

Question#138

Refer to the exhibit.

What is the result of executing this Ansible playbook?

  • A. The playbook copies a new start-up configuration to CISCO_ROUTER_01
  • B. The playbook copies a new running configuration to CISCO_ROUTER_01
  • C. The playbook backs up the running configuration of CISCO_ROUTER_01
  • D. The playbook backs up the start-up configuration of CISCO_ROUTER_01
Discover Answer Hide Answer

C

Question#139

Refer to the exhibit.

Which two statements describe the configuration of the switch after the Ansible script is run? (Choose two.)

  • A. Traffic from ports 0/2 to 0/5 is able to flow on port 0/1 due to the trunk.
  • B. GigabitEthernet0/1 is left unconfigured.
  • C. GigabitEthernet0/2 and GigabitEthernet0/3 are access ports for VLAN 6.
  • D. Traffic is able to flow between ports 0/2 to 0/5 due to the trunk on port 0/1.
  • E. Traffic on ports 0/2 and 0/3 is connected to port 0/6.
Discover Answer Hide Answer

AC

Question#140

Refer to the exhibit.

What is the effect of this Ansible playbook on an IOS router?

  • A. A new running configuration is pushed to the IOS router.
  • B. The start-up configuration of the IOS router is copied to a local folder.
  • C. The current running configuration of the IOS router is backed up.
  • D. A new start-up configuration is copied to the IOS router.
Discover Answer Hide Answer

B

chevron rightPrevious Nextchevron right