Exam4Training

Juniper JN0-421 Automation and DevOps, Specialist (JNCIS-DevOps) Online Training

Question #1

Which two automation frameworks are agentless when managing Junos devices?

  • A . Chef
  • B . Ansible
  • C . Puppet
  • D . SaltStack

Reveal Solution Hide Solution

Correct Answer: BD
Question #2

With the inclusion of Python in the Junos OS, what is an advantage that this feature provides administrators?

  • A . The ability to compile Python scripts on the device.
  • B . The ability to execute Python scripts on the device.
  • C . It provides compatibility with all Python versions.
  • D . It provides the Python command line (REPL) for testing

Reveal Solution Hide Solution

Correct Answer: B
Question #3

What are two benefits of network automation? (Choose two )

  • A . to enforce consistency in automated devices
  • B . increase programming language fluency
  • C . to provide historical configuration management
  • D . to improve product lifecycle management

Reveal Solution Hide Solution

Correct Answer: AD
Question #4

Which command is used to execute an Ansible playbook?

  • A . ansible-vault
  • B . ansible
  • C . ansible-galaxy
  • D . ansible-playbook

Reveal Solution Hide Solution

Correct Answer: D
Question #5

What are two attributes of the jsd JET service process? (Choose two.)

  • A . It executes APIs from multiple sessions in parallel
  • B . It executes one API request per session.
  • C . It creates a separate thread to service JET application requests
  • D . It supports only one client session at a time

Reveal Solution Hide Solution

Correct Answer: AC
Question #6

Exhibit:

Referring to the exhibit. how would you solve this issue ?

  • A . Enable protocol-version v1 under the SSH configuration hierarchy.
  • B . Enable ssh under the NETCONF configuration hierarchy.
  • C . Enable outbound-ssh with services netconf under the SSH configuration hierarchy.
  • D . Enable trace options under the NETCONF configuration hierarchy.

Reveal Solution Hide Solution

Correct Answer: C
Question #7

In the Python commit script, which object provides the post-inheritance candidate configuration?

  • A . Commit-Script-Input
  • B . Checkout_Configuration
  • C . Junos_ Configuration
  • D . Canadidate_ Configuration

Reveal Solution Hide Solution

Correct Answer: B
Question #8

Which format does an Ansible playbook use

  • A . JSON
  • B . YAML
  • C . XML
  • D . CSV

Reveal Solution Hide Solution

Correct Answer: B
Question #9

Referring to the exhibit, what should <CHANGEME> be replaced with to correctly print out the exception message Cannot cannot to device ?

  • A . PeramissionError
  • B . RpcError
  • C . ConnectError
  • D . CommitError

Reveal Solution Hide Solution

Correct Answer: C
Question #10

Click the Exhibit:

Referring to the exhibit, what will he hostname be if interface ge-0/0/0 goes down?

  • A . int-test-2
  • B . int-test-3
  • C . int-test-4
  • D . int-test-1

Reveal Solution Hide Solution

Correct Answer: A

Question #11

Click the Exhibit button.

You need to programmatically extract interface information using PYeZ from you MX Series device. You log in and use the show interfaces terse I display xml rpc command and see the information shown in the exhibit.

What is the correct PyEZ syntax to accomplish this task?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: B
Question #12

Which transport protocol must be supported by RFC-compliant NETCONF implementations?

  • A . SSH
  • B . Telnet
  • C . TLS
  • D . BEEP

Reveal Solution Hide Solution

Correct Answer: A
Question #13

Which command is valid for assessing a Junos device using the RESTful API on the default port?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: D
Question #14

Which YAML document represents a valid mapping(dictionary) of sequences (lists) ?

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: A
Question #15

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

  • A . JSON is programming language independent
  • B . JSON uses # # for comments
  • C . JSON is a supported template language.
  • D . JSON is easy to read for humans and devices.

Reveal Solution Hide Solution

Correct Answer: AD
Question #16

Referring to the exhibit, the configuration components are displayed in which format?

  • A . XML
  • B . YANG
  • C . YAML
  • D . JSON

Reveal Solution Hide Solution

Correct Answer: D
Question #17

Which statement is true about a Junos ephemeral configuration database?

  • A . It can be used to reduce commit time.
  • B . It can be used to archive previous versions of the ephemeral configuration.
  • C . It can be used to validate configuration data semantics.
  • D . It can be used to trigger a commit script.

Reveal Solution Hide Solution

Correct Answer: A
Question #18

Click the Exhibit button.

Where would the Python code shown in the exhibit be used?

  • A . a commit script
  • B . an op script
  • C . an event script
  • D . an SNMP script

Reveal Solution Hide Solution

Correct Answer: D
Question #19

What is a purpose of RubyEZ?

  • A . to provide a Ruby interface to Juniper devices that support Puppet
  • B . to provide an off device interface to Ruby
  • C . to provide a Ruby interface to the Junos Space management product
  • D . to provide a Ruby framework for interfacing with Juniper devices

Reveal Solution Hide Solution

Correct Answer: C
Question #20

What is the purpose of an _intit_.py file ?

  • A . An_init_.py file sets all magic attributes with the _init_prefix with the appropriate default values.
  • B . An_init_.py file initializes a Python application with default values for instantiated objects.
  • C . An_init_.py file contains strings for additional directories that the Python interpreter adds to sys.path [].
  • D . An_init_.py file indicates to the Python interpreter that a directory contains Python packages or modules.

Reveal Solution Hide Solution

Correct Answer: B
Exit mobile version