Tag Archives: returns

Given: (Exhibit) It is required that if p instanceof Pair then p.isValid() returns true. Which is the

Given:It is required that if p instanceof Pair then p.isValid() returns true.Which is the smallest set of visibility changes to insure this requirement is met? A. left, right, setLeft, and setRight must be private. B. left and right must be private. C. setLeft and setRight must be protected. D. isValid must be public. Correct Answer: B

Given: (Exhibit) It is required that if p instanceof Pair then p.isValid() returns true. Which is the

Given:It is required that if p instanceof Pair then p.isValid() returns true.Which is the smallest set of visibility changes to insure this requirement is met? A. left and right must be private. B. left, right, setLeft, and setRight must be private. C. setLeft and setRight must be protected. D. isValid must be public. Correct Answer: A

What is the proper way to defined a method that take two int values and returns their sum as an int value?

What is the proper way to defined a method that take two int values and returns their sum as an int value? A. void sum (int first, int second) { return first + second; } B. sum(int first, int second) { return first + second; } C. int sum(int first, second) { return first + second; } D.… Read More »

Given: (Exhibit) It is required that if p instanceof Pair then p.isValid() returns true. Which is the

Given:It is required that if p instanceof Pair then p.isValid() returns true.Which is the smallest set of visibility changes to insure this requirement is met? A. setLeft and setRight must be protected. B. isValid must be public. C. left and right must be private. D. left, right, setLeft, and setRight must be private. Correct Answer: C

An engineer runs the code against an API of Cisco DNA Center, and the platform returns this output. What does the response indicate?

A. The authentication credentials are incorrect. B. The URI string is incorrect. C. The Cisco DNA Center API port is incorrect. D. The HTTP method is incorrect. Answer: Option D. Explanation:  No answer description available for this question Show AnswerDiscussion The post An engineer runs the code against an API of Cisco DNA Center, and the platform returns… Read More »

After running the code in the exhibit, which step reduces the amount of data that the NETCONF server returns to the NETCONF client, to only the interface’s configuration?

Refer to the exhibit. After running the code in the exhibit, which step reduces the amount of data that the NETCONF server returns to the NETCONF client, to only the interface’s configuration? A. Use the Ixml library to parse the data returned by the NETCONF server for the interface’s configuration. B. Create an XML filter as a string… Read More »

Routerl is currently operating as the HSRP primary with a priority of 110. Routerl fails and Router2 takes over the forwarding role. Which command on Router1 causes it to take over the forwarding role when it returns to service?

Refer to the exhibit. Routerl is currently operating as the HSRP primary with a priority of 110. Routerl fails and Router2 takes over the forwarding role. Which command on Router1 causes it to take over the forwarding role when it returns to service? A. standby 2 priority B. standby 2 preempt C. standby 2 track D. standby 2… Read More »

rag and drop the snippets into the RESTCONF request to form the request that returns this response.

Refer to the exhibit. Drag and drop the snippets into the RESTCONF request to form the request that returns this response. Not all options are used. Select and Place: Answer: Explanation:  No answer description available for this question Show AnswerDiscussion The post rag and drop the snippets into the RESTCONF request to form the request that returns this… Read More »

Cisco SD-WAN deployment must be troubleshooted using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If this JSON is converted to a Python dictionary and assigned to the variable “d”, how the status is accessed that is indicated on line 16?

Refer to the exhibit. Cisco SD-WAN deployment must be troubleshooted using vManage APIs. A call to vEdge Hardware Health API returns the data in the exhibit (only a portion is shown). If this JSON is converted to a Python dictionary and assigned to the variable “d”, how the status is accessed that is indicated on line 16? A.… Read More »

A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called “vegetables”. Using Python, which output is the result of this command?

Refer to the exhibit. A REST API returns this JSON output for a GET HTTP request, which has been assigned to a variable called “vegetables”. Using Python, which output is the result of this command? print(filter(lambda 1: 1[ ‘type’ ] == ‘fruit’, vegetables) [0][‘items’][0][‘items’][0]) A. {‘color’: ‘green’, ‘items’: [‘kiwi’, ‘grape’]} B. [‘kiwi’, ‘grape’] C. lettuce D. kiwi Answer:… Read More »