A software team is designing a monitoring solution for a cloud-native application. The solution enables: 1. effective monitoring 2. easy troubleshooting and maintenance 3. reduction in time it takes to resolve issues 4. breaks down silos between different teams Which observability tracing design pattern should be used in the application design?
-
A
factory pattern based on OpenTelemetry
-
B
exception based on OpenTracing
-
C
observer based on OpenTracing
-
D
distributed based on OpenTelemetry
Reveal answer details
Close answer details
A heterogeneous network of vendors and device types needs automating for better efficiency and to enable future automated testing. The network consists of switches, routers, firewalls and load balancers from different vendors, however they all support the NETCONF/RESTCONF configuration standards and the YAML models with every feature the business requires. The business is looking for a buy versus build solution because they cannot dedicate engineering resources, and they need configuration diff and rollback functionality from day 1. Which configuration management for automation tooling is needed for this solution?
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Correct answerC
Explanationhttps://www.ciscolive.com/c/dam/r/ciscolive/emea/docs/2020/pdf/DEVLIT- 4019.pdf
An engineer is developing an application that must store the session information for a web app on the browser and the JavaScript code must be prevented from accessing the session cookie. What must be implemented to meet the requirements?
-
A
-
B
-
C
-
D
Use nonpersistent cookies.
Reveal answer details
Close answer details
Correct answerA
ExplanationThe HttpOnly flag is a security feature that prevents JavaScript codefrom accessing the session cookie. This is done by preventing thebrowser from exposing the session cookie in the Document Object Model(DOM).
Which method of addressing data privacy concerns should be considered during the development process of an application?
-
A
Set X-Frame-Options: DENY in the header.
-
B
Deny all requests on the web application firewall.
-
C
Ensure that data is encrypted at rest.
-
D
Ensure that a firewall runs on the server.
Reveal answer details
Close answer details
Question 5
Multiple choice
A team is developing a cloud-native application. The project has these architecture requirements: 1. Leverage the use of containers for effective usage of resources. 2. Scale up the application automatically when more resources are needed. 3. Ensure that the application is developed as a stateless application. Which two guidelines must be met? (Choose two.)
-
A
Rely on the web server to help provide sticky sessions for web transactions.
-
B
Use Python class definition to leverage object-oriented techniques for development.
-
C
Ensure that all data that should persist is stored in a data store such as a database.
-
D
Use memory or disk space for temporary data that should not persist between nodes.
-
E
Develop the application using Python and virtual environments.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box whore the code is missing to retrieve a list of rack units that have more than 16 CPU cores. The filtered list will be used to create a summary on the monitoring dashboard. Not all options are used. 
Reveal answer details
Close answer details
A developer has issued git add file1 and file2 test.py command to add the three files for the next commit, but then decides to executed test.py from this command. Which command needs to be used to exclude test.py from this commit but keep the rest of the files?
-
A
-
B
-
C
git checkout - file1 file2
-
D
git stash -- file1 file 2
Reveal answer details
Close answer details
While developing an application following the 12-factor app methodology, which approach should be used in the application for logging?
-
A
Write a log to a file in the application directory.
-
B
Write a log to a file in /var/log.
-
C
Write the logs buffered to stdout.
-
D
Write the logs unbuffered to stdout.
Reveal answer details
Close answer details
An engineer must enable an SSID in a Meraki network. Which request accomplishes this task?
-
A
PUT /networks/{networkld}/ssids/{number} {"enable": true)
-
B
POST /networks/{networkid}/ssids/{number) {"enable": true)
-
C
PUT /networks/{networkld}/ssids/{number}?enabled=true
-
D
POST /networks/{networkid}/sslds/{number}?enabled=true
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit.  Drag and drop the code snippets from the bottom onto the boxes where the code is missing to retrieve a list of all the members of a specific Cisco Webex organization Not at options are used. 
Reveal answer details
Close answer details
Question 11
Single choice
Refer to the exhibit.  An engineer needs to implement REST API error handling when a timeout or rate limit scenario is present. Which code snippet must be placed into the blank in the code to complete the API request? 
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
Explanation429 produces "retry-after" which is used in the code. 408 does not produce "retry-after" so you need to define a backoff-time yourself
Question 12
Single choice
An application must be able to print the values of the variables in specific modules. Different message levels will be used for production and for development. Proof of access and activity must be documented. What must be included in the implementation to support these observability requirements?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 13
Single choice
Which command is used 10 enable application hosting on a Cisco IOS XE device?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 14
Single choice
Refer to the exhibit.  An engineer needs to provide code that meets these requirements: 1. defines the network device object 2. enables differentiation between device types such as switches and routers 3. implements a method that appends a dictionary containing the networking device property values into the respective devices list 4. upholds single-responsibility and dependency-inversion principles Which code snippet meets these requirements?  
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 15
Single choice
An engineer is developing a Docket container for an application in Python For security reasons the application needs to be accessible on port 5001 only. Which line should be added to the dockerfile m order to accomplish this?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 16
Single choice
A network operations team is using the cloud to automate some of their managed customer and branch locations. They require that all of their tooling be ephemeral by design and that the entire automation environment can be recreated without manual commands. Automation code and configuration state will be stored in git for change control and versioning. The engineering high-level plan is to use VMs in a cloud-provider environment then configure open source tooling onto these VMs to poll, test, and configure the remote devices, as well as deploy the tooling itself. Which configuration management and/or automation tooling is needed for this solution?
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Question 17
Single choice
An eCommerce company deployed a new web store application to the production environment. The application integrates with numerous databases and performs frequent lookup and write operations. The application is failing at busy times. Which approach makes the application more resilient?
-
A
Eliminate any potential retry loops that could create more load on the infrastructure.
-
B
Use a predefined or default value mechanism to eliminate empty values during a failure.
-
C
Introduce redundant components to take over when one or more resources become unavailable.
-
D
Implement a reliable crossover mechanism so that data flows to redundant components.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to provision a new Cisco Unified Computing System server by using the UCS XML API. Options may be used more than once. Not all options are used. 
Reveal answer details
Close answer details
Question 19
Single choice
Which OAuth mechanism enables clients to continue to have an active access token without further interaction from the user?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 20
Single choice
Refer to the exhibit.  An engineer must update a static route on several Cisco IOS XE routers by using RESTCONF and a Python script. Which code snippet must be placed onto the blank in the code?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 21
Multiple choice
A developer releases a new application for network automation of Cisco devices deployed m a local data center. The application utilizes complex design patterns such as microservices that host multiple third-party libraries and programming languages. The development must be simplified by implementing an observability-driven development lifecycle. Which two considerations must be taken to meet the requirements? (Choose two.)
-
A
description of low-level errors
-
B
-
C
relevant metrics to expose
-
D
which monitoring tools to use
-
E
identifying customer priorities
Reveal answer details
Close answer details
Question 22
Single choice
What is a requirement to host an application on a Cisco Catalyst 9000 switch?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 23
Single choice
Refer to the exhibit.  An application was developed to be deployed on a global scale. The application will be available to all users of an enterprise and will require secure access. During code review, poor secret storage practices were identified. How must the secret storage approach be changed to improve security?
-
A
Leverage an external secret vault to retrieve DB_PWD and set the vault key as an OS environment variable before running the code.
-
B
Set an OS environment variable for DB_PWD to the database password before running the code, and stop setting DB_PWD within the code.
-
C
In DB_PWD, store a hashed version of the database password generated by using the hashlib library.
-
D
Store an encrypted version of the database password in DB_PWD and decrypt the password before running the code.
Reveal answer details
Close answer details
Question 24
Single choice
Refer to the exhibit.  A network administrator copies SSL certificates to a Cisco NX-OS switch. An Ansible playbook is created to enable NX-API, which will use the new certificate. In the group_vars/vars.yml file, which code snippet must be used to define the properly formatted variables?  
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP A developer must containerize a Python application to integrate into a prebuilt CD environment by creating a Docker image. It will be hosted as a web application to enable end users from accessing it remotely. Drag and drop the code from the bottom onto the box where the code is missing in the Docker file. Not all options are used. 
Reveal answer details
Close answer details
Question 26
Multiple choice
Refer to the exhibit.  An application design has been proposed for a new infrastructure monitoring system that collects telemetry from infrastructure devices and visualizes it on a dashboard from a central database. Because of constraints regarding available compute and storage at local sites, the decision has been made to implement a hybrid application design. Which two changes must be made to the application architecture to improve the high availability and resiliency of the application, specifically to ensure minimal data loss of measurement data that is being collected periodically? (Choose two.)
-
A
Implement caching to reduce the amount of data that is sent from the cloud to local sites.
-
B
Implement certificates to ensure that data collection nodes are trusted sources in the application.
-
C
Implement local storage at the data collection layer in case of connectivity loss to the cloud.
-
D
Ensure that the database is replicated across multiple different cloud regions.
-
E
Implement a redundant network at the local sites.
Reveal answer details
Close answer details
Question 27
Multiple choice
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit.  Drag and drop parts of the URL from the left onto the item numbers on the right that match the missing sections in the exhibit to create the appropriate RESTCONF URL to query the VLAN configuration given this YANG model. Not all URL parts are used. 
Reveal answer details
Close answer details
Question 29
Single choice
Which step is part of a three-legged OAuth2 authorization code grant flow?
-
A
Use authorization codes to access protected resources when approved.
-
B
Exchange tokens for authorization codes by using the authentication server.
-
C
A user initiates a request to the OAuth client by using a predefined token.
-
D
The OAuth client redirects to the authorization server by using a username and password.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to construct an Ansible task to configure and enable a list of features on one or more Cisco Nexus switches. Not all options are used. 
Reveal answer details
Close answer details
Question 31
Single choice
Refer to the exhibit  A script returns the location of a specific access point when given the access point name If a user enters a search value such as DROP TABLE access points then the entire table is removed. What must be added to the box where the code is missing to prevent a SQL injection attack?
-
A
cur.execute("SELECT location FROM accesspoints WHERE name = '%s';" % ap_name)
-
B
cur.execute("SELECT location FROM accesspoints WHERE name = '%s';" + ap_name)
-
C
cur.execute("SELECT location FROM accesspoints WHERE name = %s;", (ap_name,))
-
D
cur.execute("SELECT location FROM accesspoints WHERE name = %s", (ap_name,))
Reveal answer details
Close answer details
Question 32
Multiple choice
A network operations team uses the cloud to automate some managed customer and branch locations. The team requires that all of the tooling be ephemeral by design and that the entire automation environment is re-created without manual commands. Automation code and configuration state must be stored in Git for change control and versioning. The engineering high-level plan is to use VMs in a cloud-provider environment, then configure open-source tooling onto these VMs to poll, test, and configure the remote devices, and also deploy the tooling itself. Which two configuration automation tools meet these requirements? (Choose two.)
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
DRAG DROP Drag and drop the steps from the left into the order of operation on the right for a successful OAuth2 three-legged authorization code grant flow, 
Reveal answer details
Close answer details
Question 34
Single choice
A developer designs and builds an API to interact with a large database that is hosted in the public cloud. The developer is concerned about database performance because the database is shared between production and non-production systems. Which approach provides protection to the database from excessive load?
-
A
Ensure that only valid users can access the API.
-
B
Host the API on a public cloud platform to take advantage of auto-scaling.
-
C
Rate limit requests to the API.
-
D
Take the API offline if database utilization exceeds a predefined threshold.
Reveal answer details
Close answer details
Question 35
Single choice
A web application is being developed to provide online sales to a retailer. The customers will need to use their username and passwords to login into then profile and complete their order For this reason the application must store user passwords. Which approach ensures that an attacker wifi need to crack the passwords one at a time?
-
A
Apply the peppering technique
-
B
Store the passwords by using asymmetric encryption
-
C
Apply the salting technique
-
D
Store the passwords by using symmetric encryption
Reveal answer details
Close answer details
Question 36
Single choice
Refer to the exhibit.  A developer runs the docker service scale command to increase the number of replicas for the cisco_devnet service. The swarm cluster is using a private IP address subnet. The service has these design requirements: 1. It must be hosted behind a virtual IP address that is reachable from the Internet. 2. For security reasons, the Docker swarm cluster subnet must not be reachable from the Internet. Which design approach is used to fulfill the requirements?
-
A
Create an overlay network by using a globally roulable subnet and enable a routing mesh within the swarm cluster.
-
B
Create a bridge network by using a globally routable subnet and enable a routing mesh within the swarm cluster.
-
C
Configure an external load balancer to route requests to the swarm service by using VPN.
-
D
Configure an external load balancer to route requests to the swarm service by using NAT.
Reveal answer details
Close answer details
Correct answerD
ExplanationThe design approach that fulfills the requirements is to configure an external load balancer to route requests to the swarm service by using NAT. This will allow the service to be hosted behind a virtual IP address that is reachable from the Internet, while keeping the Docker swarm cluster subnet unreachable from the Internet.
Question 37
Single choice
Refer to the exhibit.  A network engineer must integrate error handling tor time-outs on network devices using the REST interface. Which line of code needs to be placed on the snippet where the code is missing to accomplish this task?
-
A
elif resp.status_code == 429 or self._retries < self._MAX_RETRIES:
-
B
elif resp.status_code == 404 and self._retries < self._MAX_RETRIES:
-
C
elif resp.status_code == 404 or self._retries < self._MAX_RETRIES:
-
D
elif resp.status_code == 429 and self._retries < self._MAX_RETRIES:
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to enable an SSID by using the Cisco Meraki Dashboard API. Not all options are used. 
Reveal answer details
Close answer details
Question 39
Single choice
Refer to the exhibit.  A Python script has these requirements: 1. Retrieve a list of Bluetooth clients seen by the access pants on a network. 2. Print the content of the response 3. Retrieve the next page only if it is available in the response headers What must be added where the code is missing to get the remaining pages by using the next link from the link response header of the last request?
-
A
if links[0]['rel'] = 'next': url = links[0]['url'] response = requests.get(url) print(response.text)
-
B
if links[0]['rel'] == 'next': url = response.links['next']['url'] response = requests.get(url) print(response.text)
-
C
if response.links.get('next'): url = links['url'] response = requests.get(url) print(response.text)
-
D
if response.links.get('next'): url = response.links['next']['url'] response = requests.get(url) print(response.text)
Reveal answer details
Close answer details
Question 40
Single choice
Which database type should be used with highly structured data and provides support for ACID transactions?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 41
Single choice
An engineer needs to improve the responsiveness of an application by implementing client-side HTTP caching. The cached data must be cacheable by everyone and must be validated during each request. Which value must the engineer set in the Cache-Control header to meet these requirements?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 42
Single choice
Refer to the exhibit.  An application has been developed to serve the users in an enterprise After HTTP cache controls are implemented m the application users report that they receive state data when they refresh the page Without removing HTTP cache controls, which change ensures that the users get current data when refreshing the page'
-
A
Reduce the expire_after value to 60.
-
B
Add a Cache-Control header that has a value of no-cache, no-store must-revalidate.
-
C
Add an if-None-Match header that has a value of an Entity Tag
-
D
Add an Expires header that has a value of 0.
Reveal answer details
Close answer details
Question 43
Multiple choice
An application has these characteristics: provide one service or function distributed database API gateway central repository for code configuration database uses session management Which two design approaches contribute to the scalability of the application'? (Choose two )
-
A
built to scale based on a star topology
-
B
-
C
session management in a stateless architecture
-
D
planned before the first device is deployed
-
E
distributed computing with tightly coupled components
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit above and click on the resource tabs in the top left corner to view resources to help with this question.    Drag and drop the correct code snippets from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the cURL script that will use RESTCONF to update an interface on a CISCO IOS XE device. 
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit.  Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the curl exhibit to complete the cURL request to FirePower Device Manager API to create objects. Not all code snippets are used. 
Reveal answer details
Close answer details
Question 46
Single choice
Which command enables Cisco Application Hosting on a Cisco IOx-enabled device in cat9k(config)# configuration mode?
-
A
-
B
application-hosting enable
-
C
-
D
Reveal answer details
Close answer details
Question 47
Multiple choice
An application has initiated an OAuth authorization code grant flow to get access to an API resource on behalf of an end user. Which two parameters are specified in the HTTP request coming back to the application as the end user grants access? (Choose two.)
-
A
access token and a refresh token with respective expiration times to access the API resource
-
B
access token and expiration time to access the API resource
-
C
redirect URI a panel that shows the list of permissions to grant
-
D
code that can be exchanged for an access token
-
E
state can be used for correlation and security checks
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code snippets from the bottom onto the blanks in the code to deploy the last version of a previously created Python Flask application called app-updates onto a Kubernetes cluster. Not all options are used. 
Reveal answer details
Close answer details
Question 49
Single choice
Refer to the exhibit.  A Python developer is creating a wireless network device inventory application for local deployment of Cisco access points. The developer is retrieving an access point ID by using a REST API The output indicates that there was a KeyError when parsing the JSON response. What returns the expected output of 266 at line 14?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 50
Multiple choice
An engineer needs to automate the configuration on a Cisco NX-OS switch. The solution must meet these requirements: 1. Ansible is used 2. The transport protocol is encrypted 3. Support for Asynchronous requests. Which two access mechanisms must be used? (Choose two.)
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Correct answersC, D
ExplanationNX-API uses HTTP/HTTPS as its transport. CLIs are encoded into the HTTP/HTTPS POST body. Starting with Cisco NX-OS Release 9.2 (1), the NX-API feature is enabled by default on HTTPS port 443. HTTP port 80 is disabled. NX-API is also supported through UNIX Domain Sockets for applications running natively on the host or within Guest Shell.
DRAG DROP Refer to the exhibit.  Drag and drop the code snippets from the left onto the targets on the right to complete the Cisco Meraki Captive Portal REST API call. Not all options are used. 
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code snippets from the bottom onto the blanks in the Python script to retrieve a list of all the Cisco Webex rooms using pagination and the Webex API. Not all options are used. 
Reveal answer details
Close answer details
Question 53
Single choice
A developer creates an application for a Cisco Catalyst 9000 switch in a Docker container. Which action must be taken to host the application on the switch?
-
A
Copy the application code to a NETCONF file and upload the file to the switch
-
B
Connect the switch to Cisco DNA Center and push the application through the platform.
-
C
Use the Cisco IOxClient tool to export the application to a ZIP file and push the file to the switch
-
D
Export the application as a TAR file and import the file to the switch
Reveal answer details
Close answer details
Question 54
Single choice
Refer to the exhibit.   An engineer writes a script to retrieve data from a REST API and must build support for cases where the response that contains data from the server may take a longer time than normal. Which code must be added to the snippet where the code is missing to catch such a timeout?
-
A
requests.exceptions.HTTPError
-
B
requests.exceptions.DataTimeout
-
C
requests.exceptions.ConnectTimeout
-
D
requests.exceptions.ReadTimeout
Reveal answer details
Close answer details
Question 55
Single choice
Refer to the exhibit.  An Intersight API is being used to query RackUnit resources that have a tag keyword set to "Site". What is the expected output of this command?
-
A
list of all resources that have a tag with the keyword "Site"
-
B
error message because the Value field was not specified
-
C
error message because the tag filter should be lowercase
-
D
list of all sites that contain RackUnit tagged compute resources
Reveal answer details
Close answer details
Question 56
Multiple choice
Refer to the exhibit.  An application hosting server with the local data center is experiencing large amounts of traffic from enclusers. A developer must optimize this API server to reduce the toad on its host. What are two ways to optimize this code through HTTP cache controls? (Choose two.)
-
A
Include the "ETag" header in the API response.
-
B
Include the "Last-Modified" header in the API response.
-
C
Include the "Content-Type" header in the API response.
-
D
Leverage middleware caching and respond with HTTP code 104 m the API response
-
E
Leverage middleware caching and respond with HTTP code 204 m the API response.
Reveal answer details
Close answer details
Question 57
Single choice
A team of engineers must manage and configure an infrastructure programmatically. The team must be able to bootstrap and configure new servers and switches remotely without using an agent. Which configuration management tool meets the requirements?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom of the code snippet to the blanks in the code to construct a Puppet manifest that configures a VRF instance on a Cisco IOS XR device. Not all options are used. 
Reveal answer details
Close answer details
Question 59
Single choice
Refer to the exhibit.   A team of developers uses Git to store the code for a new application. Each team member is developing the code for a specific part of the application. When a developer commits new code to the Git repository, the deployment pipeline fails. What is the cause of the unit test failure?
-
A
The username that was provided for basic authentication is incorrect.
-
B
The assert statement must check for HTTP code 401 instead of HTTP code 200.
-
C
The URL in the URL variable is formatted incorrectly.
-
D
The token that is used during authorization is incorrect.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to permit network traffic between 10.0.0.0/8 and all other networks on port 80 for a Cisco Nexus 9000 switch by using the Puppet module. Not all options are used. 
Reveal answer details
Close answer details
Question 61
Single choice
Which load balancing algorithm balances load based on the active sessions of a node?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit above and click on the resource tabs in the top left corner to view an IETF TANG MODEL and a Python file that changes the configuration via RESTCONF.    Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the JSON file that changes configuration of interface GigabitEthernet1 to have an IPv4 configuration of 10.10.0.1/24. Not all options are used. 
Reveal answer details
Close answer details
Question 63
Single choice
What is a characteristic of release packaging?
-
A
It describes packages that are depended on but not the specific version.
-
B
It describes the process of packaging an application including all the binaries and scripts.
-
C
It simplifies application deployment and clearly describes dependencies.
-
D
It slows down the deployment process but speeds up the development process.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to create a Webex meeting by using the Webex API. Not all options are used. 
Reveal answer details
Close answer details
Question 65
Single choice
A local Docker container with a Container ID of 391441516e7a is running a Python application. Which command is used to connect to a bash shell in the running container?
-
A
docker attach <Container ID>
-
B
docker exec -it <Container ID> /bin/bash
-
C
docker run -a stdin -a stdout <Container ID> /bin/bash
-
D
docker container attach <Container ID>
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code snippets from the bottom onto the blanks in the code to write a module that will do the following: 1. examine an HTTP response status for the";Too Many Request"; 2. error and the HTTP Retry-After header ?enter the sleep() function 3. wake from the sleep() function and retry the POST request Not all options are used. 
Reveal answer details
Close answer details
Question 67
Single choice
A developer in a learn of distributed authors is working on code in an isolated Git branch named 'update4a2f5464771. The developer attempts to merge the new code with a branch named 'dvcapp2a3f1564733' however the merge operation encounters a conflict error during the process. Which Git command must the developer use to exit from the merge process and return the branch to the previous state?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationReferences: https://git-scm.com/docs/git-merge
Question 68
Single choice
Refer to the exhibit.  The API supports basic authentication. During testing, the engineer encounters an error when submitting a request and receives a response that has HTTP status code 429. Which code snippet must be placed in the blank in the code to reliably handle the HTTP status code? 
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 69
Single choice
How should end-to-end encryption of API communications be applied between the microservices containers of the application in a Kubernetes environment?
-
A
Set up the network policy on the deployment.
-
B
Modify the application code to instrument encryption of the API communication endpoints.
-
C
Ensure that container pods are deployed with non-root privileges to enforce encryption.
-
D
Deploy Istio service mesh and enable mutual TLS for all the container pods.
Reveal answer details
Close answer details
Question 70
Single choice
Refer to the exhibit.  What is the output of this IOS-XE configuration program?
-
A
interface operational status in IPv6 addresses
-
B
interface administrative status in IPv4 addresses
-
C
interface operational status in IPv4 addresses
-
D
interface administrative status in IPv6 addresses
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit above and click on the Meraki Resources tab in the top left corner to view Meraki documentation to help with this question.  Drag and drop the parts of the Python code from the left onto the item numbers on the right that match the missing sections in the exhibit to enable an SSID. Not all code parts are used. 
Reveal answer details
Close answer details
Question 72
Single choice
An application is hosted on Google Kubernetes Engine. A new JavaScript module is created to work with the existing application. Which task is mandatory to make the code ready to deploy?
-
A
Create a Dockerfile for the code base.
-
B
Rewrite the code in Python.
-
C
Build a wrapper for the code to "containerize" it.
-
D
Rebase the code from the upstream git repo.
Reveal answer details
Close answer details
DRAG DROP An engineer must access multiple bots that are running in an internal infrastructure. A different HTTPS URL is required for each bot. The infrastructure has just one public IP address and a Linux server with Apache installed. Drag and drop the actions from the left into the order of steps on the right to enable access to the bots inside. Not all options are used. 
Reveal answer details
Close answer details
Question 74
Multiple choice
What are two benefits of using distributed log collectors? (Choose two.)
-
A
supports multiple transport protocols such as TCP/UDP
-
B
improves performance and reduces resource consumption
-
C
provides flexibility due to a wide range of plugins and accepted log formats
-
D
enables extension of logs with fields and export to backend systems
-
E
buffers and resends data when the network is unavailable
Reveal answer details
Close answer details
Question 75
Single choice
Refer to the exhibit.  A user makes a request to authenticate and retrieve a token to consume resources. The user encodes the username and password in base64 format and makes a POST request to the server. The server responds with a 401 Unauthorized status and provides the information to allow authorization by using a WWW-Authenticate response header. Which code snippet must be placed in the blank in the code to complete the Python script that retrieves the resource?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 76
Multiple choice
Refer to the exhibit.  A developer must review an intern's code for a script they wrote to automate backups to the storage server. The script must connect to the network device and copy the running-config to the server. When considering maintainability, which two changes must be made to the code? (Choose two.)
-
A
Rename the class to "ArchiveManager".
-
B
The code is incorrect because the class does not have an__init__() method.
-
C
The command sent to the network device is incorrect.
-
D
Refactor the code placing the "for" loop steps inside a single nc method.
-
E
The intern must use IP addresses because DNS is unreliable.
Reveal answer details
Close answer details
DRAG DROP Drag and drop the code from the bottom onto the box where the code is missing to construct a contact tracking application that dynamically returns all the Bluetooth clients on a given Meraki network. Not all options are used. 
Reveal answer details
Close answer details
Question 78
Single choice
Which security approach should be used for developing a REST API?
-
A
Use custom security relevant HTTP response codes
-
B
Utilise TLS for end to end encryption
-
C
Add an API key to each URL string
-
D
Reveal answer details
Close answer details
Question 79
Single choice
A container running a Python script is failing when it reaches the integration testing phase of the CI/CD process. The code has been reviewed thoroughly and the build process works on this container and all other containers pass unit and integration testing. What should be verified to resolve the issue?
-
A
that the correct port is exposed in the Dockerfile
-
B
that the necessary modules and packages are installed on build
-
C
that the script is running from the right directory
-
D
that the Python version of the container image is correct
Reveal answer details
Close answer details
Question 80
Multiple choice
What are two features of On-Box Python for hosting an application on a network device? (Choose two.)
-
A
It has direct access to Cisco IOS XE CLI commands.
-
B
It is a Python interpreter installed inside the guest shell.
-
C
It enables execution of XML scripts on a Cisco IOS XE router or switch.
-
D
It supports Qt for graphical interfaces and dashboards.
-
E
It has access to Cisco IOS XE web UI through a controller.
Reveal answer details
Close answer details
Correct answersA, B
ExplanationReferences: https://blog.wimwauters.com/networkprogrammability/2020-06-08_guestshell_onbox/
Question 81
Single choice
A developer must meet these requirements: 1. Support the provisioning of up to 500 new virtual machines into private data centers or the public cloud. 2. Ensure that the configuration of 400 existing virtual machines is kept in sync and can be updated on-demand. 3. Support specifying a list of instructions or steps that must be performed in a precise order to configure a virtual machine. Which configuration management solution must the developer use?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP Refer to the exhibit.  Drag and drop the code snippets from the bottom onto the blanks in the Python script to list all rooms and use pagination to restrict the number of results to five by using the Cisco Webex API. Not all options are used. 
Reveal answer details
Close answer details
Question 83
Single choice
A developer is working on an enhancement for an application feature and has made changes to a branch called `devcor-432436127a-enhance4`. When merging the branch to production, conflicts occurred. Which Git command must the developer use to recreate the pre-merge state?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationThis command will recreate the pre-merge state, reverting any changes made to the branch before the merge.
Question 84
Single choice
A developer is working on a new feature in a branch named 'newfeay000222118' and the current working primary branch is named 'pnm409024967' The developer requires a merge commit during a fast forward merge for record-keeping purposes. Which Git command must Be used?
-
A
git reset --commit-ff newfeat000222118
-
B
git add --commit-ff newfeat000222118
-
C
git merge --no-ff newfeat000222118
-
D
git commit --no-ff newfeat000222118
Reveal answer details
Close answer details
|