What are two popular methods of data serialization? (Choose two.)
- A . Python
- B . JSON
- C . SLAX
- D . YAML
BD
Explanation:
Reference: https://docs.python-guide.org/scenarios/serialization/
Exhibit.
Referring to the exhibit, which two statements are correct? (Choose two)
- A . The Junos configuration database is automatically locked and unlocked.
- B . The connection to the Junos device is explicitly opened and closed
- C . The connection to the Junos device is automatically opened and closed
- D . The Junos configuration database is explicitly locked and unlocked
Which HTTP status code indicates a response to a successful request?
- A . 500
- B . 302
- C . 200
- D . 400
C
Explanation:
Reference: https://www.juniper.net/documentation/en_US/junos-spacesdk/13.1/apiref/com.juniper.junos_space.sdk.help/html/reference/Commonbehav.html
Exhibit.
Referring to the exhibit, what is the function of the register key?
- A . to set an input value for the juniper_junos_rpc module
- B . to configure a global setting for the playbook
- C . to define a variable containing the return value from the module
- D . to print a result to standard out
Junos PyEZ is a microframework used to operate the Junos OS using which language?
- A . Puppet
- B . Chef
- C . Python
- D . Ruby
C
Explanation: Explanation
Reference: https://www.juniper.net/documentation/en_US/junos-pyez/topics/concept/junospyezoverview.html#:~:text=Junos%20PyEZ%20is%20a%20microframework,operating%20 system%20(Junos%
20OS).
Exhibit.
Referring to the exhibit, where would the junos. conf file be found?
- A . a directory located on R1
- B . a directory on juniper__}uno3_conf
- C . a local directory on the Ansible control machine
- D . a directory on the device list in inventory_hostname
Exhibit.
You have the configuration shown in the exhibit, but are unable to access the REST API Explorer.
Which configuration is necessary to solve this problem?
- A . Configure the rest service to be active on port 80.
- B . Configure an IPv4 address on ge-0/0/0 0.
- C . Configure a secondary IPv6 address on ge-0/0/0.0.
- D . Configure a firewall filter to explicitly permit SSH.
Which Python code block is an example of a context manager?
- A . while True: device C Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)…
- B . try: device C Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)… except: print(“Unable to connect to the vMX1”)
- C . with Device(host=”vmx-1”, user=”lab”, passwd=”lab123”) as device:…
- D . for host in [“vmx-1”, “vmx-2”]: device C Device(host-host, user-“lab”, passwd-“lab123”)…
Exhibit.
Referring to the exhibit, which two statements about the script arc correct? (Choose two.)
- A . The script prints the name of each configured interface.
- B . The script retrieves the interface configuration in XML
- C . The script prints interface information for each interface name.
- D . The script retrieves the interface configuration in JSON.
You are asked to gather interface information from a Junos device. Your environment supports the JSON
format. To determine how interface information is represented, you decide to view all of the configured
interface key-value pairs in the current Junos candidate configuration.
In this scenario, which command will provide the information that you need?
- A . user@router# show interfaces | find json
- B . user@router# show interfaces | display json
- C . user@router# show interfaces | except json
- D . user@router# show interfaces | match json
Which feature is used in XML to ensure that all attributes and elements have unique names?
- A . selectors
- B . predicate
- C . namespace
- D . XPath
In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?
- A . Assignment
- B . Membership
- C . bitwise
- D . comparison
Which XML feature is used to ensure that elements defined in multiple schemas would be used in the same document without conflicts?
- A . Attributes
- B . Predicates
- C . Selectors
- D . Namespaces
Given the <name> username </name> XML code, what is the information between the opening and closing tags called?
- A . name node
- B . data node
- C . text node
- D . element node
C
Explanation: Explanation
Reference: https://www.juniper.net/documentation/en_US/junos/topics/concept/junosscript-automation-xmloverview.html
Which statement is correct about YAML?
- A . YAML strings must have quotation marks.
- B . YAML is not case-sensitive.
- C . YAML files must start
- D . YAML uses spaces for indentation
Which two statements about Junos PyEZ RPC(s) are correct? (Choose two.)
- A . PyEZ RPCs return XML data
- B . PyEZ RPCs can be used to view only the interface configuration
- C . PyEZ RPCs can be used to view the active device configuration
- D . PyEZ RPCs return CSV data
While conducting an automation test, you must issue a command using the curl tool to request the text
formatted output from the show interfaces ge-0/0/0 terse command.D18912E1457D5D1DDCBD40AB3BF70D5D
In this scenario, which command would you use?
- A . curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation&format=text&interface-name=ge-0/0/0&terse=”
- B . curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/get-interfaceinformation@interfacename=ge-0/0/0?terse=”
- C . curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation@format=text&interface-name=ge-0/0/0?terse=”
- D . curl Cu “lab:lab123” “http://10.210.10.155:3000/rpc/getinterfaceinformation@format=text?interface-name=ge-0/0/0&terse=”
What will determine which data serialization format is used for interfacing with a system?
- A . the system’s API
- B . the operating system
- C . programming language version
- D . IDE specifications
Ansible playbooks are written in which format?
- A . YAML
- B . Python
- C . XML
- D . JSON
Which two statements are correct about Junose PyEZ Tables and Views? (Choose two.)
- A . PyEZ Tables and Views are defined using CSV.
- B . The Juniper_Junos_config module enables the use of PyEZ Tables and Views.
- C . The juniper_junos_table module enables the use of PyEZ Tables and Views.
- D . PyEZ Tables and Views are defined using YAML.
Exhibit
Referring to the exhibit, what is the output from the print(x) line?
- A . [‘b’, ‘c’]
- B . [‘b’, ‘c’, ‘d’]
- C . [‘a’, ‘b’, ‘c’]
- D . [‘a’, ‘b’]
Which type of data is contained in the key of the JSON object shown in the exhibit?
- A . string
- B . name
- C . integer
- D . interface
Which two statements about DevOps are correct? (Choose two.)
- A . DevOps is a methodology that allows for frequent, quick modifications
- B . DevOps is a methodology that ensures that collaboration does not occur across organizational boundaries
- C . DevOps is a methodology used to develop software or systems
- D . DevOps is a methodology that is limited to small codebase development
A,C
Explanation:
Reference: https://www.juniper.net/us/en/products-services/what-is/devnetops/
Exhibit.
Referring to the exhibit, which two statements are correct? (Choose two )
- A . The connection to the Junos device is explicitly opened and closed.
- B . The connection to the Junos device is automatically opened and closed.
- C . The Junos configuration database is explicitly locked and unlocked.
- D . The Junos configuration database is automatically locked and unlocked.
Which development model is the classic approach to software development?
- A . Waterfall
- B . Scrum
- C . Kanban
- D . Lean
A
Explanation: https://searchsoftwarequality.techtarget.com/definition/waterfall-model
What are two components of the Waterfall model of software development? (Choose two.)
- A . a large volume of code changes between releases
- B . a small volume of code changes between releases
- C . a short interval of time between releases
- D . a long interval of time between releases
Referring to the exhibit.
which two statements are correct? (Choose two.)
- A . The retrieved configuration will be from the Junos candidate configuration.
- B . The configuration will be retrieved in JSON format.
- C . The configuration will be retrieved in XML format.
- D . The retrieved configuration will be from the Junos active configuration.
Exhibit.
Referring to the exhibit, which XPath statement would retrieve the commit-user attribute in the candidate configuration?
- A . configuration/@ junos: commit-user
- B . configuration:@ junos: commit-user
- C . configuration/junos: commit-user
- D . configuration/commit-user
Which two statements about Ansible are correct? (Choose two.)
- A . Ansible can use a single playbook to configure devices from multiple vendors.
- B . Ansible modules must be written in Go.
- C . Ansible is an open source project.
- D . Ansible requires a license to unlock full functionality.
What are two examples of XPath axes? (Choose two.)
- A . grandchild
- B . sibling
- C . parent
- D . grandparent
B,C
Explanation: Explanation
Reference: https://www.juniper.net/documentation/en_US/junos/topics/concept/junosscript-automation-xpathoverview.html
Which Python operator tests two variables to see if they contain the same value?
- A . !=
- B . != =
- C . = =
- D . =
Exhibit.
Referring to the exhibit, which statement is correct?
- A . The RPC execution output is saved to a file on the Ansible control machine
- B . The RPC execution output is not saved
- C . The RPC execution output is saved to a file on R1
- D . The RPC execution output is saved to memory on R1
Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)
- A . Python
- B . Puppet
- C . Ansible
- D . XSLT
Why is a REST API considered stateless?
- A . The client requests to the server do not include state information.
- B . The REST API is an international API.
- C . No client context is stored on the server between requests.
- D . The state of the server is not important when making requests.
You are asked to write an automation script using Python. When you execute the script, you notice that your
code sends an RpcTimeoutError error.
In this scenario, what would be the reason for this error?
- A . The Python script was not able to connect to the Juniper device
- B . The Juniper device rejects the connection
- C . The Juniper device took too long to reply to the RPC call
- D . The RPC syntax is incorrect