Black Friday Special: Limited Time 75% Discount Offer! Use coupon code below to save on all exam bundles! - Ends in 0d 00h 00m 00s - Coupon code: 75dspecial

Welcome To DumpsPedia

JN0-224 Sample Questions Answers

Questions 4

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.

Buy Now
Questions 5

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

Buy Now
Questions 6

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.

Buy Now
Questions 7

In the context of a REST API, create, read, update, and delete operations are examples of what?

Options:

A.

SOAP messages

B.

NETCONF

C.

RPCs

D.

HTTP request methods

Buy Now
Questions 8

Which two statements are correct about the REST API?

Choose two

Options:

A.

It is considered to be stateful.

B.

It uses TFTP for transport.

C.

It is considered to be stateless.

D.

It uses HTTP for transport.

Buy Now
Questions 9

Which two of the following statements about JSON are true?

Choose two

Options:

A.

Curly braces are used to create arrays.

B.

Square brackets are used to create arrays.

C.

Curly braces are used to create nested objects.

D.

Square brackets are used to create nested objects.

Buy Now
Questions 10

Which two programming languages are supported for writing on-box Junos automation scripts?

Choose two

Options:

A.

SLAX

B.

Python

C.

Java

D.

C++

Buy Now
Questions 11

Which REST API authentication method relies on usernames and passwords?

Options:

A.

basic authentication

B.

OAuth

C.

bearer authentication

D.

API keys

Buy Now
Questions 12

Which two statements about the Junos REST API Explorer are correct?

Choose two

Options:

A.

It is enabled by default.

B.

You must configure a port on the Junos device to connect.

C.

It has to be manually enabled.

D.

You do not need to configure a port on the Junos device to connect.

Buy Now
Questions 13

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/

Buy Now
Questions 14

Which transport protocol is used for remote JET API calls?

Options:

A.

SSH

B.

NETCONF

C.

gRPC

D.

telnet

Buy Now
Questions 15

Which two data serialization formats are used for automation?

Choose two

Options:

A.

NAPALM

B.

JSON

C.

NETCONF

D.

YAML

Buy Now
Questions 16

You are troubleshooting a Python script and want to determine which kind of data structure a certain object is.

Which built-in function would you use to accomplish this task?

Options:

A.

object()

B.

isinstance()

C.

id()

D.

type()

Buy Now
Questions 17

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.

Buy Now
Questions 18

What are two main differences between YAML and JSON?

Choose two

Options:

A.

YAML supports comments.

B.

YAML is whitespace sensitive.

C.

JSON is whitespace sensitive.

D.

JSON supports comments.

Buy Now
Questions 19

Which two Python data types can be changed after they have been created?

Choose two

Options:

A.

integer

B.

dictionary

C.

list

D.

string

Buy Now
Exam Code: JN0-224
Exam Name: Automation and DevOps - Associate (JNCIA-DevOps)
Last Update: Nov 28, 2026
Questions: 65

PDF + Testing Engine

$45.35 $181.4

Testing Engine

$34.64 $138.55

PDF (Q&A)

$38.21 $152.82