Deck 4: Cloud, Associate
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/33
Play
Full screen (f)
Deck 4: Cloud, Associate
1
Click the Exhibit button.
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']
![<strong>Click the Exhibit button. Referring to the exhibit, what is the output from the print(x) line?</strong> A) ['b', 'c'] B) ['b', 'c', 'd'] C) ['a', 'b', 'c'] D) ['a', 'b']](https://d2lvgg3v3hfg70.cloudfront.net/C1585/11ec5107_461f_9acd_b560_0f025bce204a_C1585_00.jpg)
A) ['b', 'c']
B) ['b', 'c', 'd']
C) ['a', 'b', 'c']
D) ['a', 'b']
['a', 'b', 'c']
2
What is an example of correct XML syntax?
A)vMX1
B)vMX1
C)vMX1
D)vMX1
A)
B)
C)
D)
3
Which two statements are correct about Junos PyEZ Tables and Views? (Choose two.)
A) PyEZ Tables and Views are defined using YAML
B) The juniper_junos_config module enables the use of PyEZ Tables and Views The juniper_junos_config module enables the use of PyEZ Tables and Views
C) PyEZ Tables and Views are defined using CSV
D) The juniper_junos_table module enables the use of PyEZ Tables and Views juniper_junos_table
A) PyEZ Tables and Views are defined using YAML
B) The juniper_junos_config module enables the use of PyEZ Tables and Views The juniper_junos_config module enables the use of PyEZ Tables and Views
C) PyEZ Tables and Views are defined using CSV
D) The juniper_junos_table module enables the use of PyEZ Tables and Views juniper_junos_table
PyEZ Tables and Views are defined using YAML
The juniper_junos_table module enables the use of PyEZ Tables and Views juniper_junos_table
The juniper_junos_table module enables the use of PyEZ Tables and Views juniper_junos_table
4
Click the Exhibit button.
You need to translate the configuration shown in the exhibit into a PyEZ RPC call. Which line shows the proper PyEZ syntax?
A) dev.rpc.get_route_information(table="inet.0")
B) dev.rpc.get-route-information(table="inet.0")
C) dev.rpc.get_route_information:table="inet.0"
D) dev.rpc.get-route-information:table="inet.0"

A) dev.rpc.get_route_information(table="inet.0")
B) dev.rpc.get-route-information(table="inet.0")
C) dev.rpc.get_route_information:table="inet.0"
D) dev.rpc.get-route-information:table="inet.0"
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
5
Click the Exhibit button.
Referring to the exhibit, what will be two results of this playbook before saving it to a file? (Choose two.)
A) to include everything but the system/services to include everything but the system/services
B) to retrieve the committed configuration
C) to include only the system/services to include only the
D) to retrieve the candidate configuration

A) to include everything but the system/services to include everything but the system/services
B) to retrieve the committed configuration
C) to include only the system/services to include only the
D) to retrieve the candidate configuration
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
6
Which two statements about Ansible are correct? (Choose two.)
A) All Ansible host and group variables must be defined in the /etc/ansible/hosts directory
B) Groups can be nested and a device is allowed to participate in multiple groups
C) Separate host and group variable files can be used for larger environments
D) Groups cannot be nested and a device is allowed to participate only a single group
A) All Ansible host and group variables must be defined in the /etc/ansible/hosts directory
B) Groups can be nested and a device is allowed to participate in multiple groups
C) Separate host and group variable files can be used for larger environments
D) Groups cannot be nested and a device is allowed to participate only a single group
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
7
Which Python code block is an example of a context manager?
A) while True: device - Device(host-"vmx-1", user-"lab", passwd-"lab123") ...
B) try: 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 - Device(host-host, user-"lab", passwd-"lab123")
A) while True: device - Device(host-"vmx-1", user-"lab", passwd-"lab123") ...
B) try: 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 - Device(host-host, user-"lab", passwd-"lab123")
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
8
What are two popular methods of data serialization? (Choose two.)
A) Python
B) JSON
C) SLAX
D) YAML
A) Python
B) JSON
C) SLAX
D) YAML
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
9
What is the outcome of the Python a == b operator?
A) The variables will be added together
B) The variables are compared to determine if they have the same value
C) The variables are compared to determine if they have different data types
D) The variables will be subtracted from each other
A) The variables will be added together
B) The variables are compared to determine if they have the same value
C) The variables are compared to determine if they have different data types
D) The variables will be subtracted from each other
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
10
Which statement is correct about Infrastructure as Code (IaC)?
A) It is an infrastructure that runs identical operating systems
B) It is an infrastructure where devices are entirely virtualized
C) It is an infrastructure that is used for beta code testing
D) It is an infrastructure where devices are managed like software
A) It is an infrastructure that runs identical operating systems
B) It is an infrastructure where devices are entirely virtualized
C) It is an infrastructure that is used for beta code testing
D) It is an infrastructure where devices are managed like software
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
11
Junos PyEZ is a microframework used to operate the Junos OS using which language?
A) Puppet
B) Chef
C) Python
D) Ruby
A) Puppet
B) Chef
C) Python
D) Ruby
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
12
What are three elements of Infrastructure as Code (IaC)? (Choose three.)
A) code review
B) integration
C) flow
D) feedback
E) version control
A) code review
B) integration
C) flow
D) feedback
E) version control
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
13
Click the Exhibit button. >>> print(hardware_count) {'MX960':10, 'SRX300': 22, 'QFX5100': 4} Referring to the exhibit, what is the correct method to retrieve the value associated only with "MX960"?
A) hardware_count.keys()
B) hardware_count.values()
C) hardware_count[0]
D) hardware_count["MX960"]
A) hardware_count.keys()
B) hardware_count.values()
C) hardware_count[0]
D) hardware_count["MX960"]
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
14
Which Ansible module would be used to obtain basic information about a Junos device?
A) juniper_junos_facts
B) juniper_junos_info
C) juniper_junos_rpc
D) juniper_junos_config
A) juniper_junos_facts
B) juniper_junos_info
C) juniper_junos_rpc
D) juniper_junos_config
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
15
Which API does the Junos CLI use to modify the configuration database?
A) REST API
B) XML API
C) JET API
D) RPC API
A) REST API
B) XML API
C) JET API
D) RPC API
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
16
Click the Exhibit button.
Referring to the exhibit, which two statements are correct? (Choose two.)
A) The configuration will be retrieved in JSON format
B) The retrieved configuration will be from the Junos active configuration
C) The retrieved configuration will be from the Junos candidate configuration
D) The configuration will be retrieved in XML format

A) The configuration will be retrieved in JSON format
B) The retrieved configuration will be from the Junos active configuration
C) The retrieved configuration will be from the Junos candidate configuration
D) The configuration will be retrieved in XML format
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
17
As part of an application to manage network devices, you must query hundreds of network devices and return the unique set of IP prefixes blocked by configured firewall filters. To accomplish this task, you will require a mutable data type that contains unordered, unique elements. Which Python data type will fulfill these requirements?
A) dictionaries
B) lists
C) tuples
D) sets
A) dictionaries
B) lists
C) tuples
D) sets
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
18
Click the Exhibit button.
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

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
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
19
Which two statements about Ansible are true? (Choose two.)
A) Ansible modules only execute a change if required
B) By default, Ansible core modules use NETCONF to connect to the remote host
C) By default, Ansible playbooks are executed locally
D) Ansible uses an agentless architecture
A) Ansible modules only execute a change if required
B) By default, Ansible core modules use NETCONF to connect to the remote host
C) By default, Ansible playbooks are executed locally
D) Ansible uses an agentless architecture
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
20
Click the Exhibit button.
Referring to the exhibit, which statement about the Ansible Playbook is correct?
A) The Ansible Playbook will report a syntax error
B) The Ansible Playbook execution will fail
C) The Ansible Playbook will prompt for credentials
D) The Ansible Playbook will execute successfully

A) The Ansible Playbook will report a syntax error
B) The Ansible Playbook execution will fail
C) The Ansible Playbook will prompt for credentials
D) The Ansible Playbook will execute successfully
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
21
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
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
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
22
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
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
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
23
Which HTTP status code indicates a response to a successful request?
A) 302
B) 400
C) 500
D) 200
A) 302
B) 400
C) 500
D) 200
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
24
Click the Exhibit button.
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

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
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
25
Which Junos system process handles NETCONF automation commands?
A) snmpd
B) eventd
C) mgd
D) jsd
A) snmpd
B) eventd
C) mgd
D) jsd
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
26
Which character is used to separate multiple parameters in a single REST API call?
A) &
B) #
C) ?
D) =
A) &
B) #
C) ?
D) =
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
27
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
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
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
28
What is the purpose of an XSD file?
A) to define the allowed elements and hierarchy of an XML document
B) to define the scripting language of an XML document
C) to define the security and access permissions for an XML document
D) to define the shortcuts that can be used in an XML document
A) to define the allowed elements and hierarchy of an XML document
B) to define the scripting language of an XML document
C) to define the security and access permissions for an XML document
D) to define the shortcuts that can be used in an XML document
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
29
Given the username 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
A) name node
B) data node
C) text node
D) element node
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
30
Which XML shorthand notation is used when no data exists between tags?
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
31
Which two tools should be used to test REST APIs? (Choose two.)
A) curl
B) Puppet
C) Chef
D) Postman
A) curl
B) Puppet
C) Chef
D) Postman
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
32
Click the Exhibit button.
In the XML output shown in the exhibit, what is the full XPath for the IP address of the interface?
A) /interface/unit/family/inet/address
B) /configuration/interface/unit/family/inet/address
C) /configuration/interfaces/interface/unit/family/inet/address/name
D) /interfaces/interface/unit/family/inet/address

A) /interface/unit/family/inet/address
B) /configuration/interface/unit/family/inet/address
C) /configuration/interfaces/interface/unit/family/inet/address/name
D) /interfaces/interface/unit/family/inet/address
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
33
Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)
A) Ansible
B) Python
C) XSLT
D) Puppet
A) Ansible
B) Python
C) XSLT
D) Puppet
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck