Black Friday Early Access - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save75geek

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

Questions 4

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.

Buy Now
Questions 5

Referring to the exhibit below, you are asked to capture a list of inactive users on each router in the network.

XML

< system >

< login >

< user >

< name > USER_1 < /name >

< class > super-user < /class >

< authentication >

< encrypted-password > $6$fcFF5IHs$A7.fquN6v.38X20q/EyO2UsMoKToljVuiVqbT7.iF2vNc/wsWe9TrV.ZJ3Wg8n0d3sZ7mm94uOcaElmtnDXMe/ < /encrypted-password >

< /authentication >

< /user >

< user inactive="inactive" >

< name > USER_2 < /name >

< class > super-user < /class >

< authentication >

< encrypted-password > $6$C.FG45FN$LI4ikrelvBe4N4ZkMCId2EBHU/5vWF6341ECEiYOOL9M1Z7B89hUccRgsQ5rojzm0qhFUsXJ7BlExPcHtjFLB0 < /encrypted-password >

< /authentication >

< /user >

< user >

< name > USER_3 < /name >

< class > super-user < /class >

< authentication >

< encrypted-password > $6$69bGSvYP$RmEt3x.zohWnyklywrdx4hIaxCNylFoyTynJSjLp.3ksQ1RZLP127Cjja.P3DXPpl8jnbc3xcnMFiuxweqWf1/ < /encrypted-password >

< /authentication >

< /user >

< /login >

< /system >

Which XPath concept allows you to select only the inactive user elements?

Options:

A.

axes

B.

operator

C.

attribute

D.

namespace

Buy Now
Questions 6

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.

Buy Now
Questions 7

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 8

Click the Exhibit button.

JSON

[ "network 1", "network 2", "network 3" ]

What is the JSON data type shown in the exhibit?

Options:

A.

sequence

B.

mapping

C.

object

D.

array

Buy Now
Questions 9

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

Options:

A.

!=

B.

&

C.

%

D.

=

Buy Now
Questions 10

Which data serialization language does a REST API use?

Options:

A.

XML

B.

JSON

C.

CSV

D.

YAML

Buy Now
Questions 11

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 12

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 13

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

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

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 16

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 17

In DevOps, what is the meaning of the term “technical debt”?

Options:

A.

spending too much money on DevOps

B.

when a team does not adopt to a new development culture

C.

overspending on a project’s budget

D.

a short term workaround that stays long term

Buy Now
Questions 18

Append, pop, and sort are all methods used to manipulate which Python data structure?

Options:

A.

lists

B.

dictionary

C.

tuples

D.

libraries

Buy Now
Questions 19

Which three formats are designed for data serialization?

Choose three

Options:

A.

Ruby

B.

JSON

C.

YAML

D.

Python

E.

XML

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

JN0-224 PDF

$22.5  $89.99
JN0-224 Engine

JN0-224 Testing Engine

$28.75  $114.99
JN0-224 PDF + Engine

JN0-224 PDF + Testing Engine

$35  $139.99