389
94. B. When a square bracket is in place of a value inside a JavaScript Object Notation
(JSON) file, it means there is a series of key-value pairs for the initial value. These key-
value pairs are often called collections. All of the other options are incorrect.
95. C. There is a missing curly bracket that ends the address value. The capitalization of
Fa0/1 is fine because it is within double quotes, so therefore it is read literally. The address
does not need to have square brackets unless there will be more than one address.
96. D. JavaScript Object Notation (JSON) allows for a hierarchical structure that allows
for programmability; this is somewhat similar to Extensible Markup Language (XML).
Both JSON and comma-separated values (CSV) can contain spaces, because the values
are enclosed within double quotes. Both JSON and CSV can have multiple values for a
particular key. Only CSV can be read line by line; JSON files must be read in their entirety.
97. A. Cisco DNA Center will return REST-based requests in JavaScript Object Notation
(JSON) format. All of the other options are incorrect.
98. B. The collection of routes contains two individual route statements that are named route
(singular). All collections must be contained within square brackets, also called braces. All
of the other options are incorrect.
99. D. Nothing is wrong with the exhibit. The IP address is defined as a collection of IP
addresses using the JSON tag of
ipaddress. Although for completeness a second subnet
mask should be stated in the JSON data, it may be in the proper format that is expected.
The last comma is not needed in JSON files, as it defines the end of the hierarchy. The
underscore in a JSON key or value data is not considered an illegal character.
100. B. The JavaScript Object Notation (JSON) data is incorrect because it is missing a
closing square bracket after the IP addresses. The last comma is not needed in JSON files,
as it defines the end of the hierarchy. The underscore in a JSON key or value data is not
considered an illegal character.
Chapter 7: Practice Exam 1
1. B. A hub is a multiport repeater. When a hub receives a frame, it will repeat the frame on
all other ports, regardless of whether or not the port is the destination host. A firewall is
a network device that can protect a network from malicious traffic and/or restrict access.
A router is a network device that routes layer 3 packets. A switch is a layer 2 device that
creates micro-segmentation.
2. B. Switches break up collision domains by allowing micro-segmentation. Switches are set
to auto-negotiate duplex and speed by default, and they do not force full-duplex. Routers
break up broadcast domains; switches will not break up broadcast domains. Switches also
don’t always allow for a fast uplink port; it always depends on the type of switch and the
application in which it is marketed.
Do'stlaringiz bilan baham: |