




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Automation and DevOps Specialist.pdf Automation and DevOps Specialist.pdf
Typology: Exams
1 / 178
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1 Which Junos process is responsible for handling configuration changes and committing the configuration? A) jsd B) chassisd C) mgd D) dcd Answer: C – mgd Rationale: The Management Daemon (mgd) is the central process that manages the Junos configuration, including loading,
validating, and committing configuration changes. Jsd handles automation scripts, chassisd manages chassis hardware, and dcd handles dynamic routing and interface configuration. Question 2 Which Junos daemon is specifically designed to execute automation scripts on the device? A) rpd B) jsd C) kmd D) l2ald Answer: B – jsd Rationale: The Junos Script Daemon (jsd) executes commit, op, event, and SNMP automation scripts written in Python or SLAX. Rpd handles routing protocols, kmd manages IPsec, and l2ald handles Layer 2 protocols.
Question 4 An automation engineer must choose between MGD-based automation and JSD/JET-based automation. The requirement is to load candidate configuration, validate it, and commit changes using the normal Junos management workflow. Which option is most appropriate? A) TIG stack B) JSD/JET-based automation only C) MGD-based automation D) JSNAPy snapshot comparison Answer: C – MGD-based automation Rationale: MGD-based automation is associated with Junos management, candidate configuration handling, validation, and commit workflows. JSD/JET-based automation is more
appropriate for deeper Junos extensibility and programmatic API interactions. Question 5 Which two statements are true regarding MGD-based and JSD- based automation? (Choose two.) A) MGD-based automation directly interacts with the configuration database and supports commit scripts B) JSD-based automation is limited to off-box automation tools such as Ansible and Salt C) JSD-based automation handles on-box scripts like event scripts and op scripts D) MGD-based automation only supports NETCONF for configuration changes Answer: A & C
transient settings and rapid, high-frequency changes that do not require persistent storage. Question 7 Which gRPC service model is used for streaming telemetry data from Junos devices? A) gNMI B) gNOI C) gNSI D) gRIBI Answer: A – gNMI Rationale: gNMI (gRPC Network Management Interface) is the service model used for streaming telemetry data from network devices. It supports both periodic polling and event-triggered (on-change) subscriptions for operational state data.
Question 8 A developer builds a gRPC automation interface. The service methods and request/response message structures must be defined in a shared file used by both client and server. Which file type is most directly involved? A) YAML inventory file B) Jinja2 template file C) .proto file D) JSNAPy snapshot file Answer: C – .proto file Rationale: gRPC uses Protocol Buffers. A .proto file defines the service methods, request structures, and response message formats, which are then used by both the client and server to generate code.
Question 10 Which configuration mode in Junos is used to apply a script that runs before configuration changes take effect? A) operational mode B) configuration mode with a commit script set C) shell mode D) diagnostic mode Answer: B Rationale: Commit scripts are applied to configuration groups in configuration mode. They run during the commit process and can validate, transform, or generate configuration changes before the new configuration is applied. Question 11 What is the purpose of the "confirmed commit" feature in Junos?
A) To require approval from another user before commit completes B) To automatically roll back a commit if not confirmed within a specified time C) To encrypt the commit operation D) To log commit attempts to a remote server Answer: B Rationale: Confirmed commit requires the administrator to confirm the commit within a specified time (default 10 minutes). If not confirmed, Junos automatically rolls back to the previous configuration, providing a safety mechanism for remote changes. Question 12 Which NETCONF capability is advertised during the hello exchange to indicate support for a separate candidate configuration datastore?
Answer: D – SSH Rationale: RFC-compliant NETCONF implementations must support SSH as the transport protocol, typically on port 830. SSH provides secure, encrypted communication for configuration management. Question 14 What is the role of the Junos Extension Toolkit (JET) in automation? A) Provides SNMP-based monitoring B) Allows programmatic access to Junos OS using modern APIs (gRPC) C) Enables GUI-based configuration only D) Replaces the need for NETCONF entirely Answer: B
Rationale: The Junos Extension Toolkit (JET) provides service APIs using gRPC, allowing developers to interact with Junos OS programmatically for both configuration and operational tasks. Question 15 Which Junos automation approach is most appropriate for deeper Junos extensibility through programmatic APIs (not commit-time configuration rules)? A) Commit script B) Op script C) JSD/JET-based automation D) Ansible Vault Answer: C – JSD/JET-based automation Rationale: JSD/JET-based automation is appropriate for deeper Junos extensibility and programmatic API interaction. Commit
automation is more directly tied to configuration and commit workflows. Question 17 Which Junos daemon is responsible for processing REST API requests? A) mgd B) jsd C) nginx D) rest-api (part of mgd) Answer: D Rationale: The REST API service is integrated with mgd. When enabled via system services rest, mgd handles incoming REST API requests and translates them to internal Junos operations.
Question 18 What is the default port for NETCONF over SSH in Junos? A) 22 B) 80 C) 443 D) 830 Answer: D – 830 Rationale: NETCONF over SSH uses TCP port 830 by default. This is the standard port assigned by IANA for NETCONF. Junos devices listen on this port when NETCONF is configured (set system services netconf ssh). Question 19 Which statement correctly describes the difference between MGD-based and JSD-based automation?
state C) To generate REST API documentation D) To manage user authentication Answer: B Rationale: JSNAPy is a Python-based tool that captures device snapshots (operational state and configuration), runs user- defined tests against them, and validates network state before and after changes. Question 21 When using JSNAPy, which type of file defines the tests to be executed against a device snapshot? A) A Python script compiled into .pyc bytecode B) A YAML test file where pre and post sections specify commands and expected outputs
C) An XML file containing NETCONF RPCs D) A JSON configuration file defining Jinja2 templates Answer: B Rationale: JSNAPy uses YAML test files that define pre and post sections. These sections contain Junos operational commands (e.g., show interfaces), expected outputs, and pass/fail criteria. Question 22 A Python automation script collects Junos routing state before a maintenance window and again afterward. The team wants to compare the results to confirm that expected routes and neighbors are still present. What is the main automation goal? A) Credential encryption only B) Operational state validation