Tag Archives: variable

Given: (Exhibit) You want to examine the items list it contains an item for which the variable count

Given:You want to examine the items list it contains an item for which the variable count is below zero.Which code fragment at line 1 accomplish this? A. If (items.stream () .allmatch (i -> count < 0) < 0) ) { B. If (items.stream () .anymatch (i -> count < 0) < 0) ) { C. If (items.stream ()… Read More »

Given: (Exhibit) You want to examine the items list it contains an item for which the variable count

Given:You want to examine the items list it contains an item for which the variable count is below zero.Which code fragment at line 1 accomplish this? A. If (items.stream () .filter (i -> count < 0) . findFirst () ) { B. If (items.stream () .allmatch (i -> count < 0) < 0) ) { C. If (items.stream… Read More »

Given: (Exhibit) You want to examine the items list it contains an item for which the variable count

Given:You want to examine the items list it contains an item for which the variable count is below zero.Which code fragment at line 1 accomplish this? A. If (items.stream () .filter (i -> count < 0) . findFirst () ) { B. If (items.stream () .anymatch (i -> count < 0) < 0) ) { C. If (items.stream… Read More »

Given the code fragment: (Exhibit) And given the requirements: – If the value of the qty variable is

Given the code fragment:And given the requirements:– If the value of the qty variable is greater than or equal to 90, discount = 0.5 – If the value of the qty variable is between 80 and 90, discount = 0.2Which two code fragments can be independently placed at line n1 to meet the requirements? A. Option D B.… Read More »

Given the code fragment: (Exhibit) And given the requirements: If the value of the qty variable is greater

Given the code fragment:And given the requirements: If the value of the qty variable is greater than or equal to 90, discount = 0.5 If the value of the qty variable is between 80 and 90, discount = 0.2Which two code fragments can be independently placed at line n1 to meet the requirements? A. Option B B. Option… 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 »

An engineer creates an Ansible playbook to configure VRF information using a local_vrfs variable. The code must be completed so that it can be tested. Which string completes the code?

Refer to the exhibit. An engineer creates an Ansible playbook to configure VRF information using a local_vrfs variable. The code must be completed so that it can be tested. Which string completes the code? A. present B. up C. on D. active Answer: Option A. Explanation:  Reference: https://docs.ansible.com/ansible/latest/modules/ios_vrf_module.html Show AnswerDiscussion The post An engineer creates an Ansible playbook… 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 »