You are creating a Python data type that contains a collection of multiple ordered values. As part of your script, you must make changes to the values that are stored in your data type.
In this scenario, which data type should you use?
list
tuple
dictionary
set
Correct answer: C
Question 2
Which statement is correct about Ansible? (Choose two.)
Ansible core modules for the Junos OS are developed by Ansible developers
Ansible Galaxy modules for the Junos OS are developed by Juniper Networks developers
Ansible Galaxy modules for the Junos OS and Ansible core modules for the Junos OS can coexist on the same control machine
Ansible Galaxy modules for the Junos OS and Ansible core modules for the Junos OS cannot coexist on the same control machine
Correct answer: AC
Question 3
Which statement is correct about Python variables once they are created?
A global variable can only be used by functions that are defined later
All variables in Python can be used by any function within the script
A global variable can be used by any function within the script
A global can only be used within the function that created it
You are creating a Python data type that contains a collection of multiple ordered values. As part of your script, you must make changes to the values that are stored in your data type.
In this scenario, which data type should you use?
list
tuple
dictionary
set
Correct answer: C
Question 5
Which statement is correct about Ansible? (Choose two.)
Ansible core modules for the Junos OS are developed by Ansible developers
Ansible Galaxy modules for the Junos OS are developed by Juniper Networks developers
Ansible Galaxy modules for the Junos OS and Ansible core modules for the Junos OS can coexist on the same control machine
Ansible Galaxy modules for the Junos OS and Ansible core modules for the Junos OS cannot coexist on the same control machine
Correct answer: AC
Question 6
Which statement is correct about Python variables once they are created?
A global variable can only be used by functions that are defined later
All variables in Python can be used by any function within the script
A global variable can be used by any function within the script
A global can only be used within the function that created it