Black Friday Flash Sale - Everything Must Go at 75% Off - Ends in 0d 00h 00m 00s - Coupon code: w75best

Juniper JN0-224 Dumps

Page: 1 / 7
Total 65 questions

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

Question 1

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

Question 2

What are two benefits of using the Junos REST API?

Choose two

Options:

A.

It has the ability to retrieve device data in YAML.

B.

It supports Secure Socket Layer (SSL).

C.

It operates over NETCONF and SSH.

D.

It has the availability of a REST API explorer.

Question 3

Click the Exhibit button.

XML

< dhcp-local-server >

< group >

< name > jdhcp-group < /name >

< interface >

< name > fxp0.0 < /name >

< /interface >

< interface >

< name > irb.0 < /name >

< /interface >

< /group >

< /dhcp-local-server >

Referring to the exhibit, which element is the parent of the < interface > element?

Options:

A.

< name >

B.

< dhcp-local-server >

C.

< group >

D.

< interface >

Question 4

Which three formats are designed for data serialization?

Choose three

Options:

A.

Ruby

B.

JSON

C.

YAML

D.

Python

E.

XML

Question 5

In Python, what are global variables?

Options:

A.

Variables that use the keyword “Global”.

B.

Variables where the name is enclosed in quotes.

C.

Variables defined at the module level.

D.

Variables defined within a function.

Question 6

Which three of the following are valid REST HTTP methods?

Choose three

Options:

A.

POST

B.

PUT

C.

GET

D.

PUSH

E.

PASTE

Question 7

Which transport protocol is used for remote JET API calls?

Options:

A.

SSH

B.

NETCONF

C.

gRPC

D.

telnet

Question 8

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 9

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 10

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 11

Which protocol serves as the underlying protocol used by Junos PyEZ for establishing connections to devices?

Options:

A.

JET

B.

Junos REST API

C.

XML API

D.

NETCONF

Question 12

You need to secure device credentials and hide the user's password input while running scripts.

Which Python module would you import for this purpose?

Options:

A.

getpass

B.

junos-eznc

C.

ncclient

D.

paramiko

Question 13

Which two statements about Python tuples are correct?

Choose two

Options:

A.

The values in a tuple can be modified at any time after they have been created.

B.

Tuples are defined using square brackets.

C.

The values in a tuple cannot be modified once they have been created.

D.

Tuples are defined using parentheses.

Question 14

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 15

You are making a Junos REST API request.

In this scenario, which three data formats are supported when data is returned?

Choose three

Options:

A.

binary

B.

CSV

C.

HTML

D.

XML

E.

plaintext

Question 16

Which two processes manage all Junos automation?

Choose two

Options:

A.

the rpd process

B.

the mgd process

C.

the dfwd process

D.

the jsd process

Question 17

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.

Question 18

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 19

Which REST API authentication method relies on usernames and passwords?

Options:

A.

basic authentication

B.

OAuth

C.

bearer authentication

D.

API keys

Page: 1 / 7
Total 65 questions