Redeem Your Black Friday Code: 75% Off All Exam Bundles! Use coupon code below! - Ends in 0d 00h 00m 00s - Coupon code: discactive

Juniper JN0-224 Automation and DevOps - Associate (JNCIA-DevOps) Exam Practice Test

Page: 1 / 7
Total 65 questions

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

Question 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.

Question 2

You are using a REST API to create a new resource.

Which HTTP method will accomplish this task?

Options:

A.

PUT

B.

PATCH

C.

POST

D.

GET

Question 3

Which two data serialization formats are used for automation?

Choose two

Options:

A.

NAPALM

B.

JSON

C.

NETCONF

D.

YAML

Question 4

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.

Question 5

Which three of the following are valid REST HTTP methods?

Choose three

Options:

A.

POST

B.

PUT

C.

GET

D.

PUSH

E.

PASTE

Question 6

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 7

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

Choose two

Options:

A.

SLAX

B.

Python

C.

Java

D.

C++

Question 8

Which two Python data types are immutable?

Choose two

Options:

A.

integer

B.

list

C.

string

D.

dictionary

Question 9

Which API does NETCONF provide network access to?

Options:

A.

REST

B.

JET

C.

SLAX

D.

XML

Question 10

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.

Question 11

Which two HTTP methods are supported by the Junos REST API?

Choose two

Options:

A.

PUT

B.

DELETE

C.

GET

D.

POST

Question 12

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 13

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 14

Which two statements are correct about Python lists?

Choose two

Options:

A.

Lists can be empty.

B.

Lists are defined using curly braces.

C.

Lists must have at least one value assigned to them.

D.

Lists are defined using square brackets.

Question 15

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 16

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

Choose two

Options:

A.

It is a tool to issue XML RPCs within a REST API call.

B.

It is a Juniper Web UI tool.

C.

It is a tool that uses a NETCONF connection to get REST API data.

D.

It is an open source tool.

Question 17

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

Question 18

Which two automation tools make use of YAML?

Choose two

Options:

A.

JSNAPy

B.

PyEZ

C.

Junos REST API

D.

Junos REST API Explorer

Question 19

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

Options:

A.

lists

B.

dictionary

C.

tuples

D.

libraries

Page: 1 / 7
Total 65 questions