QUESTION 161
Which approach to code is adopted while principles of Infrastructure as Code are being followed?
A. should rarely be modified
B. should have different inputs
C. should be small
D. should work in a variety of ways
Correct Answer: B
QUESTION 162
Which HTTP response code group must be used when a request contains bad syntax?
A. 2xx
B. 3xx
C. 4xx
D. 5xx
Correct Answer: C
QUESTION 163
What is a concept of test-driven development?
A. Create the test code before the final code.
B. Create the final code before the test code.
C. Construct the test code by using microservices.
D. Construct the final code by using microservices.
Correct Answer: A
QUESTION 164
A developer creates a REST API that runs on a load balancer for clients to query information about stocks. The data in the back-end database is updated every 15 minutes, but clients are polling the API every 2 minutes. The developer needs to reduce the load on the database without making changes to the client side. Which constraint must the engineer address?
A. Dynamic IP deny listing, which allows requests every 15 minutes, is not configured.
B. Use of Cache-Control headers and max-age validation is not enforced.
C. Request throttling on the load balancer database is not enabled.
D. The load balancer is not configured to use memcached as the primary back end.
Correct Answer: B
QUESTION 165
A developer is working on a new feature and already committed some changes in the repo. Meanwhile, a colleague asks for help on another issue. Which Git command must the developer use to change the working branch to the existing branch named “mytopic” without losing their current work?
A. git checkout mytopic
B. git switch mytopic
C. git switch -b mytopic
D. git checkout -b mytopic
Correct Answer: A
QUESTION 166
Which HTTP status code means that the origin server did not find a current representation for the target resource or is unwilling to disclose that one exists?
A. 104
B. 204
C. 304
D. 404
Correct Answer: D
QUESTION 167
A developer starts to learn about building applications that use Cisco APIs. The developer needs access to Cisco security products in a development lab to test the first new application that has been built. Which DevNet resource must be used?
A. DevNet Code Exchange
B. DevNet Sandbox
C. DevNet Automation Exchange
D. DevNet Communities
Correct Answer: B
QUESTION 168
An engineer must review and clean up a code repository. During the review, the engineer finds a file named config json that contains API URLs, shared keys, and other application configurations. Which two methods, according to best practice, must be used to protect secrets? (Choose two.)
A. Never appear in plaintext at rest or in transit.
B. Always store in a secure vault.
C. Store in plaintext if they are not stored in a code repository.
D. Make them long, secure strings that include numbers with special characters.
E. Store as plaintext when the server is secured physically.
Correct Answer: AB
QUESTION 169
What is an advantage of device-level management as compared to controller-level management to automate the configuration of network devices?
A. Device-level management supports REST API-enabled devices and controller-level management does not.
B. Device-level management has access to all devices from a single point on the network and controller-level management does not.
C. Device-level management requires one controller per vendor and controller-level management does not
D. Device-level management supports all subsets of the potential device settings and controller-level management does not
Correct Answer: D
QUESTION 170
What is a characteristic of test-driven development?
A. Large updates are applied infrequently.
B. It enables code refactoring.
C. Infrastructure testing is done at every stage.
D. User tests are created after deployment.
Correct Answer: B
QUESTION 171
A network engineer makes several API calls to Cisco Prime to retrieve a list of all devices. Each time a response is received, only a subset of the devices is retuned. The engineer notices that HTTP code 429 is returned instead of 200 for some API calls. Why did the response exclude some of the devices?
A. The API failed to identify how many items to retrieve.
B. The API timed out the request.
C. The API rate limited the request.
D. The API applied an offset that was indicated in the request.
Correct Answer: C
QUESTION 172
What is a benefit of using Python classes?
A. They remove the concept of inheritance to improve code readability and maintainability.
B. They simplify integration by testing the classes independently from other components.
C. They allow a Python script to import code from various independent modules.
D. They improve code organization by keeping data members and methods together.
Correct Answer: D
QUESTION 173
Which network device plane is responsible for handling QoS?
A. configuration plane
B. data plane
C. control plane
D. management plane
Correct Answer: C
QUESTION 174
An engineer clones a repository that contains a Python script from GitLab to a laptop. After modifying the code, the engineer wants to validate the changes. Which command starts the Cl/CD pipeline and runs the automated tests?
A. git test
B. git commit
C. git fetch
D. git push
Correct Answer: D
QUESTION 175
What does a developer import in a script to parse a file from XML to Python?
A. library
B. function
C. method
D. variable
Correct Answer: A
QUESTION 176
A distributed application was developed using the Cisco Intersight SDK. While testing the interaction between the application and the Intersight API, the requests that were sent to the server could not execute because the application was blocked by the firewall. Which URL and port must be provided to the firewall administrator to allow the traffic?
A. svc.intersight.com port 80
B. svc.intersight.com port 443
C. intersight.com port 443
D. intersight.com port 80
Correct Answer: B
QUESTION 177
A development team needs to containerize an application named ‘cust’. A Dockerfile has been created and now the docker build command needs to be run using the current folder to find the Dockerfile, build the image and create a local repository named ‘cust-rep’ that points to that image. Which command must be used?
A. docker build cust-rep Dockerfile
B. docker build -t cust-rep -f Dockerfile
C. docker build cust-rep -f Dockerfile.txt
D. docker build -t cust-rep Dockerfile.txt
Correct Answer: B
QUESTION 178
What is a component of the first stage of an application development Cl/CD pipeline?
A. triggering of the automated build phase
B. developer writing the initial lines of code
C. triggering of the automated testing phase
D. commitment and pushing of code into a version control system
Correct Answer: D
QUESTION 179
What is a capability of Cisco UCS Manager?
A. API interactions are XML-encoded and require a cookie in the method for authentication.
B. It automates IT workflows and enables continuous deployment anywhere quickly and securely.
C. API interactions are XML-encoded and require an API key pair for authentication.
D. It automates the orchestration of Cisco and third-party infrastructure to deliver an on-premises private cloud
Correct Answer: A
QUESTION 180
What is a benefit of organizing code into modules?
A. compatibility with REST APIs
B. simplified development
C. reduced development costs
D. better maintainability
Correct Answer: D
We use cookies to improve your experience, including essential cookies required for the website to function. By continuing, you agree to our use of cookies. Learn more.
We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.
Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.