- (Exam Topic 3)
Refer to the exhibit. Which HTTP code is returned after the RESTCONF query is executed?
Correct Answer:
A
- (Exam Topic 2)
What is the function of IP address in networking?
Correct Answer:
B
- (Exam Topic 2)
Why is refactoring done during test-driven development?
Correct Answer:
B
- (Exam Topic 3)
What is a benefit of version control?
Correct Answer:
B
- (Exam Topic 3)
Refer to the exhibit.
An engineer sends the request to collect data over Cisco AMP for Endpoints API. The Engineer must list guide and hostname data for all computers, but the first request returns only 500 items out of 2,000. Then, the engineer adds the loop to collect all the data. What must be added to the script where the code is missing to complete the requests?
Correct Answer:
A
https://github.com/CiscoSecurity/amp-03-pagination/blob/master/01_paginate.py while 'next' in response_json['metadata']['links']:
next_url = response_json['metadata']['links']['next'] response = session.get(next_url)
response_json = response.json()
for computer in response_json['data']: print(computer['connector_guid'], computer['hostname'])