You are on page 1of 10

Q1

Which two statements about Continuous Delivery are true? (Choose two.)
A. Continuous Delivery is required for Continuous Deployment
B. SFTP must be used to allow communication between the Ansible control server and
the Junos device
C. An Ansible playbook is a set of tasks written in XML
D. Continuous Delivery means that software is deployed on demand when there is a
new software build
Answer: AD
Q2
Which two statements about the waterfall model of software development are true?
(Choose two.)
A. Software development cycles should be based on a quarterly time frame
B. One phase of development must be completed before the next phase can start
C. This method lacks flexibility
D. After the development cycle has begun, new software requirements can be added at
any point
Answer: BD

Q3
Which two statements are true regarding DevOps?(Choose two)
A. DevOps is a methodology used to develop software or systems
B. DevOps is a methodology that allows for frequent, quick modifications
C. PyEZ
D. NETCONF
Answer: AB

Q4
According to the "Manifesto of Agile Software Development", what are two main
values of Agile? (Choose two.)
A. Customer collaboration is preferred over contract negotiations
B. Working software is preferred over comprehensive documentation
C. Tools are preferred over individuals
D. Following a plan is preferred over responding to change
Answer: AB

Q5
What represents the Infrastructure as Code workflow?
A. Code > Code Review > Version Control > Integrate > Deploy
B. Code > Version Control > Code Review > Deploy > Integrate
C. Code > Version Control > Code Review > Integrate > Deploy
D. Code > Code Review > Integrate > Version Control > Deploy > Integrate
Answer: C

Q6
Which two automation tools require an agent to be loaded on a Junos device? (Choose
two)
A. Salt
B. Chef
C. Ansible
D. Puppet
Answer: BD

Q7
What are two advantages of the DevOps approach to network automation? (Choose two)
A. to lower cost
B. to improve quality
C. to perform manual configuration tasks
D. to rotate job roles
Answer: AB

Q8
What is the default port for NETCONF connections over SSH?
A. 22
B. 443
C. 8080
D. 830
Answer: D

Q9
Which two API languages for NETCONF libraries are supported by JTAC? (Choose two.)
A. Ruby
B. Java
C. Perl
D. Python
Answer: BC

Q10
Which two processes does Junos automation use? (Choose two.)
A. Dcd
B. Chassid
C. Mgd
D. Jsd
Answer: AC

Q11
Which two statements are true regarding the DevOps methodology? (Choose two.)
A. Feedback should be analyzed at each stage of the process
B. A goal is to make development, test, and production environments as identical as
possible
C. Communication between people should be minimized during the process as much as
possible
D. Code changes should be few and manually tested
Answer: AB

Q12
Which two tools are available as on-box automation solutions for a Junos device?
(Choose two.)
A. Python
B. Ansible
C. Chef
D. SLAX
Answer: AD

Q13
You are asked to determine the XML remote procedure call to display a hostname to
IP address mapping on a Junos device. In this scenario, which command will
accomplish this task?
A. router> show system name-resolution | display xml
B. router> show system name-resolution | display xml rpc
C. router> show system name-resolution | display json
D. router> show system name-resolution | display translation-scripts
Answer: B

Q14
Which programming language communicates with the Junos XML API both on-box and off-
box?
A. SLAX
B. XSLT
C. Python
D. Java
Answer: C

Q15
Which statement is correct about XML element nodes?
A. The element node is the value assigned within an opening and closing tag pair
B. An element node cannot be nested with another element node
C. The element node is defined by the first opening and closing tag pair of the XML
document
D. An element node consists of everything between an opening and closing tag pair
Answer: A

Q16
Which statement is correct about XML document nodes?
A. The document node is the value assigned within an opening and closing tag pair
B. A document node can be nested with another document node
C. The document node is defined as the entire XML document
D. A document node consists of everything between an opening and closing tag pair
Answer: C

Q17
What are two layers of the NETCONF protocol? (Choose two.)
A. Messages
B. Configuration
C. Transport
D. Physical
Answer: AC

Q18
What are two layers of the NETCONF protocol? (Choose two.)
A. Connection
B. Operation
C. Content
D. Elements
Answer: BC

Q19
What are two ways to represent an XML hierarchy? (Choose two.)
A. <example/>
B. <example></example>
C. <example><example/>
D. <example></example/>
Answer: AB

Q20
The gem install net-netconf command is used to install NETCONF for which language?
A. Python
B. Ruby
C. Go
D. Perl
Answer: B

Q21
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. /configuration/interface/unit/family/inet/address
B. /interfaces/interface/unit/family/inet/address
C. /configuration/interfaces/interface/unit/family/inet/address
D. /interface/unit/family/inet/address
Answer: C

Q22
What is required to enable the Junos OS to accept NETCONF sessions on port 830?
A. Initiate an event with the <create-subscription> command
B. Define the port number that NETCONF will use.
C. Purchase a NETCONF license.
D. Enable NETCONF using the set system services netconf ssh command.
Answer: D

Q23
Which character is used to signal the start of a JSON object?
A. {
B. [
C. <
D. “
Answer: A

Q24
Which character is used to signal the start of a JSON array?
A. {
B. <
C. “
D. [
Answer: D

Q25
What are two advantages of using JSON over YAML in a DevOps project? (Choose two.)
A. JSON is simpler to read than YAML.
B. JSON uses a lowest common denominator model.
C. JSON is easier for a machine to parse than YAML.
D. JSON has all of the capabilities of YAML and more.
Answer: BC

Q26
Which example displays a YAML mapping?
A. hostname@ router
B. hostname> router
C. hostname: router
D. hostname# router
Answer: C

Q27
Which statement is true about JSON?
A. JSON is language dependent, which uses conventions that are familiar to
programmers.
B. JSON was designed for human readability over parsing speed.
C. JSON is used only for human-to-machine communication tasks.
D. JSON is a lightweight data-interchange format; human-readable but easier for
machines to parse.
Answer: D

Q28
Which statement about the relationship between YAML and JSON is true?
A. All JSON data can convert to YAML data and all YAML data can convert to JSON
data.
B. All JSON data can convert to YAML data but not all YAML data can convert to JSON
data.
C. ALL YAML data can convert to JSON data but not all JSON data can convert to YAML
data.
D. YAML and JSON cannot be converted between systems.
Answer: B

Q29
Click the Exhibit button. Referring to the exhibit, this snippet of code would
represent which type of data?

A. YAML mapping
B. YAML sequence
C. JSON object
D. JSON array
Answer: C
Q30
What is the customary way to start a YAML file?
A. …
B. !
C. #
D. ---
Answer: D

Q31
You are creating a JSON data structure and need to add a title called, The "Big"
Router. In this scenario, which example will produce the desired results?
A. {"title": ""The "Big" Router""}
B. {"title": "The \n"Big\n" Router"}
C. {"title": "The \"Big\" Router"}
D. {"title": "The "'Big'" Router"}
Answer: C

Q32
What are two popular methods of data serialization? (Choose two.)
A. JSON
B. Python
C. YAML
D. SLAX
Answer: AC

Q33
Which two statements are true about data structures? (Choose two.)
A. JSON was designed for human readability over parsing speed.
B. JSON was designed for parsing speed over human readability.
C. YAML is designed around human readability over parsing speed.
D. YAML is designed around parsing speed over human readability
Answer: BC

Q34
Which command do you use to install a Juniper Networks-created Ansible module?
A. pip install ansible Juniper.junos
B. ansible-galaxy install Juniper.junos
C. pip install ansible
D. apt-get install ansible.Juniper.junos
Answer: B

Q35
What are two Junos Ansible modules? (Choose two.)
A. junos_rpc
B. junos_bgp
C. junos_facts
D. junos_cluster
Answer: AC

Q36
What is the default path including the default file name of the Ansible inventory
file?
A. /etc/ansible/inventory
B. /etc/inventory/ansible
C. /etc/hosts/ansible
D. /etc/ansible/hosts
Answer: D

Q37
Click the Exhibit button. Referring to the exhibit, which statement is true about
the Ansible host file?

A. router1 and router2 are included in the routers group.


B. router1 and router2 are excluded from the routers group.
C. Only router3 is included in the routers group.
D. All routers are part of the routers group.
Answer: A

Q38
Click the Exhibit button. Which two statements are correct about the playbook shown
in the exhibit? (Choose two.)

A. The Juniper.junos modules will be executed locally on the Junos device


B. The host variable must be defined in the inventory file
C. The Juniper.junos modules will be executed locally on the control device
D. The host variable is passed to Ansible at runtime
Answer: BC
Q39
You are asked to create a playbook that will be able to run the
get_system_alarm_information remote procedure call. Which Ansible Galaxy module
would you use to accomplish this task?
A. juniper_junos_config.
B. juniper_junos_command.
C. juniper_junos_system.
D. juniper_junos_rpc.
Answer: D

Q40
Ansible playbooks are written in which format?
A. JSON
B. XML
C. YAML
D. Python
Answer: C

Q41
Which two statements describe Ansible operations on a Junos device? (Choose two.)
A. Ansible uses NETCONF over SSH sessions
B. Ansible uses YAML over SSH sessions
C. Ansible requires all tasks to execute locally on the control server
D. Ansible requires all tasks to execute locally on a Junos device
Answer: AC

Q42
Click the Exhibit button. Which two types of files are shown in the exhibit?
(Choose two.).

A. XML file
B. JSON file
C. Ansible playbook
D. YAML file
Answer: CD

Q43
Which statement is true about using Ansible with a Junos device?
A. An Ansible agent must be installed and running on the Junos device.
B. Ansible modules are executed on the control server
C. SFTP must be used to allow communication between the Ansible control server and
the Junos device.
D. An Ansible playbook is a set of tasks written in XML.
Answer: B

Q44
Click the Exhibit button. In the playbook shown in the exhibit, how many Ansible
tasks are listed?

A. 3
B. 2
C. 1
D. 0
Answer: B

Q45
Which two statements are correct about a Python dictionary? (Choose two.)
A. It is identifiable by curly brackets ({}).
B. It is an ordered collection of key-value pairs.
C. It is an unordered collection of key-value pairs.
D. It is identifiable by square brackets ([]).
Answer: AC

Q46
What is the # symbol used for in Python?
A. to repeat
B. to print
C. to comment
D. to exit
Answer: C

Q47
Junos PyEZ is a microframework used to operate the Junos OS using which language?
A. Puppet
B. Chef
C. Python
D. Ruby
Answer: C

Q48
What is represented by ConnectAuthError, ConnectTimeout, and ConnectError in PyEZ?
A. errors in the Python script
B. PyEZ exception handling
C. successful connections in PyEZ scripts
D. variables used in a Python script
Answer: B

Q49
You are asked to write a PyEZ script that will modify the Junos configuration.
Which PyEZ utils module will accomplish this task?
A. Config
B. scp
C. ftp
D. fs
Answer: A

Q50
The & and | characters represent which type of Python operator?
A. comparison
B. assignment
C. membership
D. bitwise
Answer: D

Q51
Click the Exhibit button. Referring to the exhibit, which two statements are true
about the PyEZ Python script? (Choose two.)

A. The script does not include error handling.


B. User credentials are passed using the juniper.junos.utils.config utility
C. The script attempts to establish a NETCONF session to connect to the device
D. The login is established outside of the operation of this script
Answer: CD

Q52
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

Q53
You are a programmer currently developing code on a Linux device. You want to start
the Python interactive interpreter (shell) from the command prompt. Which command
must be used to accomplish this task?
A. bash$ pip
B. bash$ sh
C. bash$ python
D. bash$ ./_init_.py
Answer: C

Q54
Which two connection methods would be used with PyEZ? (Choose two.)
A. FTP
B. Telnet
C. NETCONF over SSH
D. . TFTP
Answer: BC
Q55
Which code segment is an example of a Python tuple?
A. t = "'Juniper', 'Junos', 'MX'"
B. t = ["Juniper", "Junos", "MX"]
C. t = {"Juniper", "Junos", "MX"}
D. t = ("Juniper", "Junos", "MX")
Answer: D

Q56
Which API uses HTTP or HTTPS to communicate with a Junos device?
A. XML
B. REST
C. JET
D. HEAT
Answer: B

Q57
Which daemon on a Junos device is responsible for terminating a REST API HTTPS
request?
A. lighttpd
B. mgd
C. jsd
D. snmpd
Answer: A

Q58
What is the default HTTP port that is used by the REST API to connect to a Junos
device?
A. 80
B. 443
C. 3000
D. 3443
Answer: C

Q59
Which transport protocol(s) is used by the Junos REST API?
A. IPv6 only
B. both IPv4 and IPv6
C. IPv4 only
D. IPX
Answer: C
Q60
A REST client makes a request to a Junos device using the REST API. What is the
last daemon that would process this request?
A. chassisd
B. mgd
C. jsd
D. snmpd
Answer: B

Q61
You have configured the Junos OS so that you can securely access the REST API from
a client device. You now want to use the REST API Explorer tool to execute RPC
commands over HTTPS. In this scenario, which statement describes the actions you
must perform on the Junos device?
A. You must enable the REST API Explorer tool and connect to the Junos device using
the Explorer's default port of 443.
B. You must enable the REST API Explorer tool and connect to the Junos device using
the Explorer's default port of 3443.
C. You must enable Python as the scripting language and connect to the Junos device
using the Explorer's default port of 443.
D. You must enable Python as the scripting language and connect to the Junos device
using the Explorer's default port of 3443.
Answer: B

Q62
What are two advantages of using the REST API? (Choose two.)
A. The REST API uses simple tools that allow for fast prototyping.
B. The session state information is stored on the server.
C. Most programming languages include libraries for the REST API.
D. The REST API uses SSH to connect to devices.
Answer: AC

Q63
You are asked by your manager to allow API access to your Junos devices. Your
solution should have a GUI API explorer to test RPC commands. In this scenario,
what are you being asked to support?
A. NETCONF
B. REST
C. SNMP
D. Python
Answer: B

Q64
Which code format is a valid example of an HTTP GET method?
A. protocol:port//device/procedure/rpc
B. protocol://device:port/procedure/rpc
C. protocol://device:port/rpc/procedure
D. protocol:port//device/rpc/procedure
Answer: C

Q65
Which two tools should be used to test REST APIs? (Choose two.)
A. curl
B. Postman
C. Puppet
D. Chef
Answer: AB

You might also like