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:
Question 2
Click the Exhibit button.
Exhibit:
Referring to the exhibit, which exception is raised if the RPC takes 40 seconds to return a complete response?
Options:
A.
jnpr.junos.exception.RpcError
B.
jnpr.junos.exception.ConnectTimeoutError
C.
jnpr.junos.exception.RpcTimeoutError
D.
jnpr.junos.exception.LockError
Answer:
C
Explanation:
Explanation:
By default, the timeout value is 30 seconds, if this is exceeded a jnpr.junos.exception.RpcTimeoutError error is received.
Question 3
In a Python commit script, which object provides the post-inheritance candidate configuration?
Options:
A.
Commit-Script-Input
B.
Junos_Configuration
C.
Candidate_Configuration
D.
Checkout_Configuration
Answer:
B
Explanation:
Explanation:
Python automation scripts import the Junos_Context dictionary when the script must access information about the script execution environment. The Junos_Configuration object is required when the commit script must read and manipulate the post-inheritance candidate configuration.