Skip to main content

JN0-420 Real Exam Questions

Automation and DevOps, Specialist (JNCIS-DevOps)

65 questions available · Page 1 of 7

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

You want to push a configuration onto a Junos device without using NETCONF.

Which two will accomplish this task? (Choose two)

  1. A

    ZTP

  2. B

    Ansible

  3. C

    JET

  4. D

    JSNAPy

Show answer and explanation

Correct answers: A, C

Question 2 Multiple choice

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

  1. A

    NETCONF over SSH

  2. B

    serial interface

  3. C

    Telnet

  4. D

    JET API

  5. E

    Webhook

Show answer and explanation

Correct answers: A, B, C

Explanation

References:
https://www.juniper.net/documentation/en_US/junos-pyez/topics/task/program/junos-pyez-connection-methods.html

Question 3 Multiple choice

What are two format distinctions to know when using YAML? (Choose two)

  1. A

    white space indentation sensitive

  2. B

    tab indentation not allowed

  3. C

    tab indentation allowed

  4. D

    white space indentation insensitive

Show answer and explanation

Correct answers: A, B

Explanation

Because YAML is white-space sensitive and indentation is significant (not allowed), you should always use spaces rather than tabs when creating playbooks. In YAML, items preceded by a hyphen (-) are considered list items, and the key:value notation represents a hash.
References:
https://www.juniper.net/documentation/en_US/junos-ansible1.0/topics/task/program/junos-ansible-playbooks-creating-executing.html

Question 4 Multiple choice

You need to reset all Junos systems in your lab to their factory-default state and then push a new configuration to the device.

Which two Ansible modules would your playbook use to accomplish this task? (Choose two)

  1. A

    junos_system_services

  2. B

    junos_zeroize

  3. C

    junos_get_facts

  4. D

    junos_install_config

Show answer and explanation

Correct answers: B, D

Explanation

References:
https://www.juniper.net/documentation/en_US/junos-ansible1.0/topics/example/junos-ansible-playbooks-device-zeroize.html
https://www.juniper.net/documentation/en_US/junos-ansible1.0/topics/example/junos-ansible-playbooks-device-configuring.html

Question 5 Single choice

Which command is used to execute an Ansible playbook?

  1. A

    ansible-vault

  2. B

    ansible

  3. C

    ansible-galaxy

  4. D

    ansible-playbook

Show answer and explanation

Correct answer: D

Explanation

References:
https://docs.ansible.com/ansible/2.4/command_line_tools.html

Question 6 Single choice

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

Which statement is true in this scenario?

  1. A

    You must write the application using the XML APIs

  2. B

    You must write the application using the REST APIs

  3. C

    You must write the application using the JET APIs

  4. D

    You must write the application using the YANG APIs

Show answer and explanation

Correct answer: C

Question 7 Single choice

You are asked by your manager to automatically switch traffic from the primary link to the backup link on the MX Series device at the branch site whenever latency is above 300 ms over a 5-minute period.

Which type of Junos script would you use in this scenario?

  1. A

    Op

  2. B

    SNMP

  3. C

    Commit

  4. D

    Event

Show answer and explanation

Correct answer: D

Explanation

References:
https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-script-automation-overview.html

Question 8 Single choice

Click the Exhibit button.
Exhibit:

Your manager asks you to troubleshoot an Ansible problem when logging into a Junos device. You notice the Ansible play in question has a vars_files argument that calls the variables.yml entry file. The contents of that file are displayed in the exhibit.

What is happening in this scenario?

  1. A

    The file is an SSH key

  2. B

    The variables.yml file is not actually a YAML file

  3. C

    The file is encrypted with ansible-vault

  4. D

    The file is encrypted with ansible

Show answer and explanation

Correct answer: C

Explanation

References:
https://www.juniper.net/documentation/en_US/junos-ansible1.0/topics/task/configuration/junos-ansible-authenticating-users.html

Question 9 Single choice

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

  1. A

    It provides the Python command line (REPL) for testing

  2. B

    It provides compatibility with all Python versions

  3. C

    The ability to execute Python scripts on the device

  4. D

    The ability to compile Python scripts on the device

Show answer and explanation

Correct answer: C

Question 10 Multiple choice

Which two primary processes are used by Juniper devices for on-box or off-box automation? (Choose two)

  1. A

    mgd

  2. B

    ancpd

  3. C

    jsd

  4. D

    rpd

Show answer and explanation

Correct answers: B, C