Leads4pass > Juniper > Juniper Certifications > JN0-221 > JN0-221 Online Practice Questions and Answers

JN0-221 Online Practice Questions and Answers

Questions 4

Click the Exhibit button.

Referring to the exhibit, this snippet of code would represent which type of data?

A. JSON object

B. JSON array

C. YAML sequence

D. YAML mapping

Buy Now
Questions 5

Which statement about element nodes is correct?

A. Only a single root element node is allowed

B. Element nodes only consist of a single line of code

C. Element nodes cannot be nested in other element nodes

D. Only the root element node can contain other element nodes

Buy Now
Questions 6

Click the Exhibit button.

>>> print(hardware_count)

{`MX960':10, `SRX300': 22, `QFX5100': 4}

Referring to the exhibit, what is the correct method to retrieve the value associated only with "MX960"?

A. hardware_count.keys()

B. hardware_count.values()

C. hardware_count[0]

D. hardware_count["MX960"]

Buy Now
Questions 7

You are using the curl tool to include multiple RPCs in a REST API request.

Which HTTP method must be used for this request?

A. GET

B. PUT

C. POST

D. HEAD

Buy Now
Questions 8

Click the Exhibit button.

Referring to the exhibit, which two statements are correct? (Choose two.)

A. The configuration will be retrieved in JSON format

B. The retrieved configuration will be from the Junos active configuration

C. The retrieved configuration will be from the Junos candidate configuration

D. The configuration will be retrieved in XML format

Buy Now
Questions 9

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

A. membership

B. comparison

C. assignment

D. bitwise

Buy Now
Questions 10

Which XML shorthand notation is used when no data exists between tags?

A.

B.

C.

D.

Buy Now
Questions 11

Which statement about using Ansible with a Junos device is correct?

A. Ansible modules are executed on the control server

B. SFTP must be used to allow communication between the Ansible control server and the Junos device

C. An Ansible agent must be installed and running on the Junos device

D. An Ansible playbook is a set of tasks written in XML

Buy Now
Questions 12

What is the purpose of an XSD file?

A. to define the allowed elements and hierarchy of an XML document

B. to define the scripting language of an XML document

C. to define the security and access permissions for an XML document

D. to define the shortcuts that can be used in an XML document

Buy Now
Questions 13

While conducting an automation test, you must issue a command using the curl tool to request the text formatted output from the show interfaces ge-0/0/0 terse command.

In this scenario, which command would you use?

A. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-informationandformat=textandinterfacename=ge-0/0/0andterse="

B. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@interface-name=ge0/0/0?terse="

C. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=textandinterfacename=ge-0/0/0?terse="

D. curl –u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text?interfacename=ge-0/0/0andterse="

Buy Now
Exam Code: JN0-221
Exam Name: Automation and DevOps, Associate (JNCIA-DevOps)
Last Update: Jan 17, 2025
Questions: 63
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99