Juniper JN0-221 Automation and DevOps Associate (JNCIA-DevOps) Online Training
Juniper JN0-221 Online Training
The questions for JN0-221 were last updated at Feb 19,2025.
- Exam Code: JN0-221
- Exam Name: Automation and DevOps Associate (JNCIA-DevOps)
- Certification Provider: Juniper
- Latest update: Feb 19,2025
What are two examples of XPath axes? (Choose two.)
- A . grandchild
- B . sibling
- C . parent
- D . grandparent
B,C
Explanation: Explanation
Reference: https://www.juniper.net/documentation/en_US/junos/topics/concept/junosscript-automation-xpathoverview.html
Which Python operator tests two variables to see if they contain the same value?
- A . !=
- B . != =
- C . = =
- D . =
Exhibit.
Referring to the exhibit, which statement is correct?
- A . The RPC execution output is saved to a file on the Ansible control machine
- B . The RPC execution output is not saved
- C . The RPC execution output is saved to a file on R1
- D . The RPC execution output is saved to memory on R1
Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)
- A . Python
- B . Puppet
- C . Ansible
- D . XSLT
Why is a REST API considered stateless?
- A . The client requests to the server do not include state information.
- B . The REST API is an international API.
- C . No client context is stored on the server between requests.
- D . The state of the server is not important when making requests.
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
Which code block shows valid YAML syntax?
- A . Switches :
-s1
s2
Switches: .{s1, s2} - B . Switches: ["s1", ”s2"]
- C . Switches s1 s2
Which two Junos processes handle automation on Junos devices? (Choose two.)
- A . mgd
- B . chassid
- C . rpd
- D . jsd
Exhibit.
Referring to the exhibit, which two code blocks are an equivalent representation in JSON? (Choose two.)
- A . {“Routers”:[“r1”,“r2”],“Switches”:[{“s1”:[{“interface”:“ge-0/0/0.0”}]}]}
- B . {“routers”:[“r1”,“r2”],“switches”:[{“s1”:[{“interface”:“ge-0/0/0.0”}]}]}
Which character is used to separate multiple parameters in a single REST API call?
- A . &
- B . #
- C . ?
- D . =
A
Explanation:
Reference: https://www.juniper.net/documentation/en_US/junos-space-sdk/13.1/apiref/ com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html