Weekend Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free Juniper JN0-224 Practice Exam with Questions & Answers

Questions 1

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.

Juniper JN0-224 Premium Access
Questions 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.

Questions 3

Referring to the exhibit, which XPath statement should be used to retrieve only user2's user ID value?

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/user2/uid

B.

./system/login/user < name='user2' > /uid

C.

./system/login/user[name='user2']/uid

D.

./system/login/user/uid

Questions 4

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.

Questions 5

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.

Questions 6

Which data serialization language does a REST API use?

Options:
A.

XML

B.

JSON

C.

CSV

D.

YAML

Questions 7

Which two statements describe an XML element node?

Choose two

Options:
A.

An XML element node can contain multiple nested root nodes.

B.

An XML element node can contain additional nested element nodes.

C.

An XML element node consists of a matching open and close tag.

D.

Only a single XML element node can be defined in a document.

Questions 8

Which two data serialization formats are used for automation?

Choose two

Options:
A.

NAPALM

B.

JSON

C.

NETCONF

D.

YAML

Questions 9

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.

Questions 10

Click the Exhibit button.

JSON

{

"configuration" : {

"@" : {

"junos:commit-seconds" : "1615325087",

"junos:commit-localtime" : "2024-03-09 14:24:47 MST",

"junos:commit-user" : "user"

},

"routing-options" : {

"static" : {

"route" : [

{

"name" : "0.0.0.0/0",

"next-hop" : ["10.10.10.1", "10.10.20.1"]

}

]

}

}

}

}

With reference to the exhibit, what is the data type of the next-hop statement?

Options:
A.

YAML sequence

B.

JSON array

C.

YAML mapping

D.

JSON object