Summer Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpt65

JN0-222 Questions and Answers

Note! Following JN0-222 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

JN0-222 Questions and Answers

Question # 6

Exhibit.

You are asked to create a block of code containing a list of desserts.

What would you do to correct the YAML block shown in the exhibit?

A.

The YAML block should not have a comment

B.

The item - cake should not be indented.

C.

The YAML block should start with # /bash/bin.

D.

The item - ice cream should be in quotes.

Full Access
Question # 7

Which two statements about Python lists are correct? (Choose two.)

A.

Lists can contain elements of multiple data types.

B.

Lists contain a countable number of ordered values

C.

Lists must contain only elements of the same data type.

D.

Lists contain a countable number of unordered values.

Full Access
Question # 8

Which two tools should be used to test REST APIs? (Choose two.)

A.

curl

B.

Puppet

C.

Chef

D.

Postman

Full Access
Question # 9

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-information &format=text&interface-name=ge- 0/0/0&terse="

B.

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

C.

curl ""u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text &interface-name=ge-0/0/0? terse="

D.

curl ""u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text?interface-name=ge- 0/0/0 &terse="

Full Access
Question # 10

Which set of DevOps CAUMS values is correct?

A.

Culture Automation, Lean, Measurement, and Sharing

B.

Coordinate, Acculturation. Lean, Mentoring, and Society

C.

Continuous, Assimilation, Learn, Morning, and Scientific

D.

Control, Automation, Learn, Methodology, and Support

Full Access
Question # 11

Exhibit.

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

A.

The module in the first task is maintained by Juniper.

B.

The module in the first task in maintained by Ansible.

C.

The Ansible play in the exhibit modifies and outputs the device hostname.

D.

The Ansible play in the exhibit outputs but does not modify the device hostname.

Full Access
Question # 12

Which XML feature is used to ensure that elements defined in multiple schemas would be used in the same document without conflicts?

A.

Attributes

B.

Predicates

C.

Selectors

D.

Namespaces

Full Access
Question # 13

Which statement is correct about the Junos XML API?

A.

The API uses NETCONF for off-box automation.

B.

The API is only executed when a configuration is committed

C.

The API uses HTTPS for securing off-box automation.

D.

The API only works for on-box automation tools.

Full Access
Question # 14

You want to perform a dry run on the myPlays playbook and use a custom inventory file called myRouters.ini.

Which Ansible command would you use in this scenario?

A.

ansible-playbook myPlays --check -i myRouters.ini

B.

ansible-playbook myPlays —extra-vars "inventory_file=myRouters .ini"

C.

ansible-playbook myPlays —extra-vars "dry run=True" myRouters.ini

D.

ansible-playbook myPlays —limit myRouters

Full Access
Question # 15

As part of an application to manage network devices, you must query hundreds of network devices and return the unique set of IP prefixes by configured firewall filters. To accomplish this task you will require a mutable data type that contains unordered, unique elements.

Which Python data type will fulfill these requirements?

A.

tuples

B.

lists

C.

dictionaries

D.

sets

Full Access