Juniper Automation and DevOps, Specialist Exam JN0-421 JNCIS-DevOps Exam Questions

Page: 1 / 14
Total 65 questions
Question 1

Click the Exhibit button.

Exhibit:

While using NETCONF, the developer attempts to lock the configuration, but the error shown in the exhibit is received. The developer verifies no one else is configuring the device.

According to Juniper, how would you clear the error in this scenario?



Question 2

What are three ways for PyEZ to connect to supported Junos devices? (Choose three)



Answer : A, B, C


Question 3

You are asked to write an application that interacts directly with the internal APIs belonging to rpd

Which statement is true in this scenario?



Answer : C


Question 4

Which data serialization is used between RubyEZ and a Junos device?



Answer : C


Question 5

Click the Exhibit button.

Exhibit:

Referring to the exhibit, what is the type of the myConfig variable on line 17 of the Python script?



Answer : C


from jnpr.junos import Device

from jnpr.junos.utils.config import Config

from jnpr.junos.exception import *

from jinja2 import Template

import yaml

import sys

with open('vMX-1.yml', 'r') as fh:

data = yaml.load(fh.read())

with open('test.j2', 'r') as t_fh:

t_format = t_fh.read()

template = Template(t_format)

myConfig = template.render(data)

print(type(myConfig))

python3 script.py

<class 'str'>

Question 6

Click the Exhibit button.

Exhibit:

You are using RubyEZ to interact with a Junos device: however, you are not successfully connecting to the device.

Referring to the exhibit, what is the problem?



Answer : A


Question 7

Which two statements are correct about JSON characteristics? (Choose two)



Answer : B, D


Page:    1 / 14   
Total 65 questions