Automation and DevOps, Associate v1.0

Page:    1 / 5   
Exam contains 63 questions

Click the Exhibit button.


Referring to the exhibit, where would the junos.conf file be found?

  • A. a directory on juniper_junos_config
  • B. a directory located on R1
  • C. a local directory on the Ansible control machine
  • D. a directory on the device list in inventory_hostname


Answer : C

Click the Exhibit button.


Referring to the exhibit, what is the output from the print(x) line?

  • A. ["˜b"™, "˜c"™]
  • B. ["˜b"™, "˜c"™, "˜d"™]
  • C. ["˜a"™, "˜b"™, "˜c"™]
  • D. ["˜a"™, "˜b"™]


Answer : C

What is an example of correct XML syntax?

  • A. <Devices><hostname>vMX1<Devices/>
  • B. <Devices><hostname>vMX1</hostname><Devices/>
  • C. <Devices><hostname>vMX1</hostname></Devices>
  • D. <Devices><hostname>vMX1<Devices/></hostname>


Answer : B

Reference:
https://www.juniper.net/documentation/en_US/day-one-books/archive/DO_Navigating_Junos_XML_Hierarchy.pdf

Ansible playbooks are written in which format?

  • A. XML
  • B. Python
  • C. JSON
  • D. YAML


Answer : C

Reference:
https://www.juniper.net/documentation/en_US/junos-ansible/topics/topic-map/junos-ansible-configuration-loading-committing.html#:~:text=Starting%
20in%20Junos%20OS%20Release,configuration%20data%20in%20JSON%20format

In Python, my_list = [1, 2, 3] is an example of which type of operation?

  • A. membership
  • B. comparison
  • C. assignment
  • D. bitwise


Answer : A

Which Ansible module would be used to obtain basic information about a Junos device?

  • A. juniper_junos_facts
  • B. juniper_junos_info
  • C. juniper_junos_rpc
  • D. juniper_junos_config


Answer : A

Reference:
https://docs.ansible.com/ansible/latest/collections/junipernetworks/junos/junos_facts_module.html

Which two statements about Ansible are correct? (Choose two.)

  • A. All Ansible host and group variables must be defined in the /etc/ansible/hosts directory
  • B. Groups can be nested and a device is allowed to participate in multiple groups
  • C. Separate host and group variable files can be used for larger environments
  • D. Groups cannot be nested and a device is allowed to participate only a single group


Answer : AB

Click the Exhibit button.


You need to translate the configuration shown in the exhibit into a PyEZ RPC call.
Which line shows the proper PyEZ syntax?

  • A. dev.rpc.get_route_information(table="inet.0")
  • B. dev.rpc.get-route-information(table="inet.0")
  • C. dev.rpc.get_route_information:table="inet.0"
  • D. dev.rpc.get-route-information:table="inet.0"


Answer : A

Reference:
https://www.juniper.net/documentation/en_US/junos-pyez/topics/task/program/junos-pyez-rpcs-executing.html

What are three elements of Infrastructure as Code (IaC)? (Choose three.)

  • A. code review
  • B. integration
  • C. flow
  • D. feedback
  • E. version control


Answer : BCE

Click the Exhibit button.


Referring to the exhibit, what is the function of the register key?

  • A. to set an input value for the juniper_junos_rpc module
  • B. to configure a global setting for the playbook
  • C. to define a variable containing the return value from the module
  • D. to print a result to standard out


Answer : C

Which statement is correct about the Junos XML API?

  • A. The API uses HTTPS for securing off-box automation
  • B. The API uses NETCONF for off-box automation
  • C. The API only works for on-box automation tools
  • D. The API is only executed when a configuration is committed


Answer : B

Reference:
https://community.juniper.net/communities/community-home/digestviewer/viewthread?MID=72432#bm80024cfe-d18e-40c7-9798-1fd3cbf860f7

Which API does the Junos CLI use to modify the configuration database?

  • A. REST API
  • B. XML API
  • C. JET API
  • D. RPC API


Answer : A

What is the outcome of the Python a == b operator?

  • A. The variables will be added together
  • B. The variables are compared to determine if they have the same value
  • C. The variables are compared to determine if they have different data types
  • D. The variables will be subtracted from each other


Answer : B

You are asked to write an automation script using Python. When you execute the script, you notice that your code sends an RpcTimeoutError error.
In this scenario, what would be the reason for this error?

  • A. The Python script was not able to connect to the Juniper device
  • B. The Juniper device rejects the connection
  • C. The Juniper device took too long to reply to the RPC call
  • D. The RPC syntax is incorrect


Answer : C

Click the Exhibit button.


In the XML output shown in the exhibit, what is the full XPath for the IP address of the interface?

  • A. /interface/unit/family/inet/address
  • B. /configuration/interface/unit/family/inet/address
  • C. /configuration/interfaces/interface/unit/family/inet/address/name
  • D. /interfaces/interface/unit/family/inet/address


Answer : C

Page:    1 / 5   
Exam contains 63 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy