Power Up Your Study Prep: Black Friday 75% Discount! Use coupon code below to save! - Ends in 0d 00h 00m 00s - Coupon code: big75certs

Free and Premium Juniper JN0-224 Dumps Questions Answers

Page: 1 / 5
Total 65 questions

Automation and DevOps - Associate (JNCIA-DevOps) Questions and Answers

Question 1

Which two statements are correct about using REST API with Juniper Mist?

Choose two

Options:

A.

The API returns an XML payload.

B.

The API returns a JSON payload.

C.

It supports the HTTP PUT method.

D.

It supports the HTTP PATCH method.

Buy Now
Question 2

Which two statements are correct about JSON and YAML?

Choose two

Options:

A.

The Junos OS can accept configurations in JSON format.

B.

The Junos OS can accept configurations in YAML format.

C.

YAML is a subset of JSON.

D.

JSON is a subset of YAML.

Question 3

Which two XML tags are used to represent an element when no data exists?

Choose two

Options:

A.

< name > < /name >

B.

[name]

C.

[name][/name]

D.

< name/ >

Question 4

Select the Exhibit button.

Plaintext

[edit]

user@router# show system services rest

http;

https {

server-certificate REST_certificate;

}

traceoptions {

flag lighttpd;

}

enable-explorer;

With reference to the exhibit, traceoptions have been enabled to troubleshoot an issue in which REST API requests are returning no data. In this scenario, which directory contains the traceoptions file?

Options:

A.

/var/chroot/rest-api/var/log/

B.

/var/chroot/rest-api/

C.

/var/log

D.

/var/home/user/

Question 5

Which API does NETCONF provide network access to?

Options:

A.

REST

B.

JET

C.

SLAX

D.

XML

Question 6

Which type of on-box Junos script is automatically triggered based on an entry in a log file?

Options:

A.

event script

B.

operation script

C.

SNMP script

D.

commit script

Question 7

Which two data serialization formats are used for automation?

Choose two

Options:

A.

NAPALM

B.

JSON

C.

NETCONF

D.

YAML

Question 8

Which Python operator is used to compare two objects for inequality?

Options:

A.

!=

B.

&

C.

%

D.

=

Question 9

What does the Python Interactive Interpreter do?

Options:

A.

It allows you to compile and build a Python GUI.

B.

It allows you to de-compile Python programs.

C.

It allows you to execute Python code one line at a time.

D.

It allows you to run both Python and Java commands.

Question 10

Which statement is correct about Python variables that are defined in the global namespace?

Options:

A.

Global variables are stored in disk storage and can be used by any Python script executed on this device.

B.

Global variables can only be referenced in the module's code within the global namespace.

C.

Global variables must have the data type explicitly declared.

D.

Global variables can be referenced in any portion of the module's code.

Question 11

Which two statements are valid regarding the NETCONF port in Junos?

Choose two

Options:

A.

The default SSH port continues to accept NETCONF sessions even with a configured NETCONF server port.

B.

The default SSH port rejects NETCONF sessions with a configured NETCONF server port.

C.

The configured port accepts regular SSH session requests.

D.

The configured port accepts only NETCONF-over-SSH connections.

Question 12

Click the Exhibit button.

YAML

configuration:

protocols:

ospf:

area:

- interface:

- name: ge-0/0/0.0

- name: lo0.0

name: 0.0.0.0

export:

- share-agg

Based on the exhibit, what is the data type used for the OSPF area 'name' statement?

Options:

A.

JSON array

B.

YAML mapping

C.

YAML sequence

D.

JSON object

Question 13

Click the Exhibit button.

Python

> > > with Device(host = "172.25.11.2", user = "lab", passwd = "lab123") as dev:

... dev.open()

... dev.close()

...

Traceback (most recent call last):

File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1347, in open

self._conn = netconf_ssh.connect(

File "/usr/local/lib/python3.8/dist-packages/ncclient/manager.py", line 168, in connect

return connect_ssh(*args, **kwds)

File "/usr/local/lib/python3.8/dist-packages/ncclient/manager.py", line 135, in connect_ssh

session.connect(*args, **kwds)

File "/usr/local/lib/python3.8/dist-packages/ncclient/transport/ssh.py", line 291, in connect

raise SSHError("Could not open socket to %s:%s" % (host, port))

ncclient.transport.errors.SSHError: Could not open socket to 172.25.11.2:830

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File " < stdin > ", line 1, in < module >

File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1450, in __enter__

self.open()

File "/usr/local/lib/python3.8/dist-packages/jnpr/junos/device.py", line 1379, in open

raise EzErrors.ConnectRefusedError(self)

jnpr.junos.exception.ConnectRefusedError: ConnectRefusedError(172.25.11.2)

What would cause the error shown in the exhibit to occur?

Options:

A.

The Junos device does not have NETCONF over SSH enabled.

B.

The Junos device had a RPC execution timeout.

C.

The Junos device tried to connect to the backup routing-engine.

D.

The Junos device is broken and needs to be replaced.

Question 14

You need to retrieve data from the Junos XML API. Which of the following would you use to accomplish this task?

Options:

A.

NETCONF

B.

SNMP

C.

RDP

D.

SOAP

Question 15

Which Junos process is responsible for aggregating the individual Junos APIs, and is used by the JET API?

Options:

A.

dcd

B.

dfwd

C.

snmpd

D.

jsd

Question 16

Which REST API authentication method combines the use of passwords and tokens?

Options:

A.

bearer authentication

B.

API keys

C.

basic authentication

D.

OAuth

Question 17

Referring to the exhibit below, which two XPath expressions will select all user nodes?

Choose two

XML

< system >

< host-name > router < /host-name >

< root-authentication >

< encrypted-password > $5$qpeLtgny$CxpyDUY...agdfxb7cjBKtX6 < /encrypted-password >

< /root-authentication >

< login >

< user >

< name > user1 < /name >

< uid > 2001 < /uid >

< class > super-user < /class >

< authentication >

< encrypted-password > $5$mKl4WHYI$...j9So160BGEJXaCCPJGy. < /encrypted-password >

< /authentication >

< /user >

< user >

< name > user2 < /name >

< uid > 2002 < /uid >

< class > super-user < /class >

< authentication >

< encrypted-password > $5$JZDcAQ12$...E23D8fk9gmZNa6kTEtz70 < /encrypted-password >

< /authentication >

< /user >

< user >

< name > user3 < /name >

< uid > 2003 < /uid >

< class > super-user < /class >

< authentication >

< encrypted-password > $5$JZDcAQ12$...X23d8fK9gmZNa6kActd6. < /encrypted-password >

< /authentication >

< /user >

< /login >

< /system >

Options:

A.

/system/login/user

B.

/user

C.

//user

D.

@user

Question 18

Which process or model includes the following stages: design change, commit the change to a Version Control System (VCS), feedback and peer review, automated testing, automated deployment, continuous monitoring, and continuous improvement?

Options:

A.

Infrastructure as Code

B.

waterfall development model

C.

network DevOps pipeline

D.

change control process

Question 19

Which two are the primary automation tools handled by the management process (mgd)?

Choose two

Options:

A.

SNMP

B.

NETCONF

C.

REST API

D.

JET

Page: 1 / 5
Total 65 questions