JN0-224 Exam Questions
161 real JN0-224 exam questions with expert-verified answers and explanations. Page 2 of 4.
- Question #51PyEZ
Which two Python packages use NETCONF to interact with Junos devices? (Choose two.)
NETCONFPython packagesjsnapyjunos-eznc - Question #52Python
Which Python code block is an example of a context manager?
context managerPythonDevice connectionwith statement - Question #53Automation Overview and Evolution
Which two processes does Junos automation use? (Choose two.)
Junos automationjsdmgddaemons - Question #54NETCONF, RESTCONF, and gRPC
What are two examples of XPath axes? (Choose two.)
XPathaxesXML navigationparent-child - Question #55Python
Which type of data is contained in the key of the JSON object shown in the exhibit?
JSONdata typeskey-value pairsstring keys - Question #56Automation Overview and Evolution
According to the Manifesto for Agile Software Development, what is the highest priority?
Agile manifestosoftware methodologycustomer satisfactioncontinuous delivery - Question #57Ansible
Which Ansible Playbook play parameter will prevent the system from copying the playbook to the Junos devices?
Ansibleconnection parameterplay parametersJunos agentless - Question #58Python
Referring to the exhibit, what is the output from the print(x) line?
Pythonlist slicingindexingoutput prediction - Question #59Ansible
Which Ansible module would be used to obtain basic information about a Junos device?
Ansiblejuniper_junos_factsJunos modulesdevice info - Question #60Ansible
Which two statements about Ansible are correct? (Choose two.)
Ansibleinventoryhost groupsvariable files - Question #61PyEZ
Exhibit. You need to translate the configuration shown in the exhibit into a PyEZ RPC call. Which line shows the proper PyEZ syntax?
PyEZ RPC syntaxget_route_informationRPC method namingtable parameter - Question #62Automation Overview and Evolution
What are three elements of Infrastructure as Code (IaC)? (Choose three.)
Infrastructure as CodeIaC elementsversion controlDevOps pipeline - Question #63Ansible
Referring to the exhibit, what is the function of the register key?
Ansible registerplaybook variablesreturn valuesjuniper_junos_rpc - Question #64NETCONF, RESTCONF, and gRPC
Which API does the Junos CLI use to modify the configuration database?
Junos CLIREST APIconfiguration databaseAPI types - Question #65PyEZ
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...
RpcTimeoutErrorPyEZ exceptionserror handlingconnection timeout - Question #66Ansible
Referring to the exhibit, which statement is correct?
Ansible RPC outputcontrol machinefile outputjuniper_junos_rpc - Question #67Ansible
Which statement about using Ansible with a Junos device is correct?
Ansible agentlesscontrol serverJunos modulesexecution model - Question #68NETCONF, RESTCONF, and gRPC
Given the <name> username </name> XML code, what is the information between the opening and closing tags called?
XML terminologyelement nodestag pairsXML structure - Question #69NETCONF, RESTCONF, and gRPC
Which two tools should be used to test REST APIs? (Choose two.)
REST API testingcurlPostmanAPI tools - Question #70PyEZ
Which two statements about Junos PyEZ RPC(s) are correct? (Choose two.)
PyEZ RPCXML outputconfiguration retrievalRPC capabilities - Question #71NETCONF, RESTCONF, and gRPC
What is the purpose of an XSD file?
XSD schemaXML validationelement hierarchyschema definition - Question #72Automation Overview and Evolution
What are two components of the Waterfall model of software development? (Choose two.)
Waterfall modelSDLCrelease cadencecode change volume - Question #73NETCONF, RESTCONF, and gRPC
Which Junos system process handles NETCONF automation commands?
NETCONFmgd processJunos daemonsmanagement daemon - Question #74NETCONF, RESTCONF, and gRPC
Which character is used to separate multiple parameters in a single REST API call?
REST API parametersquery string syntaxURL structureparameter separator - Question #75NETCONF, RESTCONF, and gRPC
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. In this scen...
curl REST APIRPC call syntaxformat parameterinterface information RPC - Question #76NETCONF, RESTCONF, and gRPC
Referring to the exhibit, which XML XPath expression will only show the IP address XML elements?
XPath expressionsXML filteringaddress elementspath syntax - Question #77NETCONF, RESTCONF, and gRPC
You are using the curl tool to include multiple RPCs in a REST API request. Which HTTP method must be used for this request?
REST APIHTTP POSTmultiple RPCsHTTP methods - Question #78NETCONF, RESTCONF, and gRPC
Which statement is correct about XML element nodes?
XML element nodestag pairsXML structureelement definition - Question #79Automation Overview and Evolution
What are two advantages of the DevOps approach to network automation? (Choose two.)
DevOpsnetwork automationcost reductionquality improvement - Question #80Ansible
Ansible playbooks are written in which format?
Ansible playbooksYAML formatplaybook syntaxconfiguration management - Question #81Ansible
Which statement is correct about YAML?
YAML syntaxindentationdata serializationconfiguration format - Question #82Python
What is the outcome of the Python a = b operator?
Python operatorscomparison operatorsvariablessyntax - Question #83Ansible
Exhibit. You are asked to create a block of code containing a list of desserts. What would you do to correct the YAML block shown in the exhibit?
YAML listsindentationblock formattingsyntax errors - Question #84Python
Which two statements about Python lists are correct? (Choose two.)
Python listsdata typesordered collectionsdata structures - Question #85Automation Overview and Evolution
Which set of DevOps CAUMS values is correct?
DevOps principlesCALMS frameworkautomation valuesDevOps culture - Question #86NETCONF, RESTCONF, and gRPC
Which character is used to show the start of parameters in a REST API call?
REST APIURL parametersquery stringsRESTCONF - Question #87Automation Overview and Evolution
What are two values of the Agile model of software development? (Choose two.)
Agile methodologysoftware developmentDevOps valuesdevelopment principles - Question #88Ansible
Referring to the exhibit, where would the junos. conf file be found?
Ansible control machinefile pathsJunos configurationplaybook structure - Question #89NETCONF, RESTCONF, and gRPC
Which code format is a valid example of an HTTP GET method?
HTTP GETREST APIURL formatRESTCONF - Question #90NETCONF, RESTCONF, and gRPC
What is required to enable the Junos OS to accept NETCONF sessions on port 830?
NETCONFport 830SSHJunos services configuration - Question #91NETCONF, RESTCONF, and gRPC
The gem install net-netconf command is used to install NETCONF for which language?
NETCONFRubygem installlanguage bindings - Question #92Ansible
Referring to the exhibit, what will be two results of this playbook before saving it to a file? (Choose two.)
Ansible playbookJunos configuration retrievalcommitted configurationfilter options - Question #93NETCONF, RESTCONF, and gRPC
Exhibit. What is the function of the . // syntax in the code shown in the exhibit?
XPathrecursive descentXML traversaldescendant axis - Question #94NETCONF, RESTCONF, and gRPC
What are two examples of XPath operators? (Choose two.) A.
XPathoperatorsattribute axisXML filtering - Question #95Ansible
Referring to the exhibit, which statement about the Ansible host file is correct?
Ansible inventoryhost groupshost filedevice grouping - Question #96Ansible
An Ansible playbook executes which type of module?
Ansible playbookYAMLmodulestask execution - Question #97Python
You are a programmer currently developing code on a Linux device. You want to start the Python interactive interpreter (shell) from the command prompt. Which command must be used t...
Python interpreterinteractive shellcommand lineLinux - Question #98NETCONF, RESTCONF, and gRPC
Which XML feature is used to ensure that elements defined in multiple schemas would be used in the same document without conflicts?
XML namespacesschema conflictsmulti-schema documentsNETCONF - Question #99NETCONF, RESTCONF, and gRPC
Which XML shorthand notation is used when no data exists between tags?
XMLself-closing tagsempty elementsXML syntax - Question #100Ansible
You need an Ansible Playbook to log in to multiple devices with different login credentials. For compliance purposes, you are not allowed to prompt the user for the credentials or...
Ansible VaultSSH key authenticationcredential securitymulti-device login