exam questions

Exam 300-535 All Questions

View all questions & answers for the 300-535 exam

Exam 300-535 topic 1 question 29 discussion

Actual exam question from Cisco's 300-535
Question #: 29
Topic #: 1
[All 300-535 Questions]

Which data format should be used to serialize structured data in the most compact way?

  • A. protobufs
  • B. YAML
  • C. JSON
  • D. XML
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nerdymarwa
10 months, 1 week ago
Selected Answer: A
Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data in a manner that is similar to XML but is smaller, faster, and simpler. They define the structure of data and then generate source code to easily write and read your structured data to and from various data streams in various languages. Source: https://ondemandelearning.cisco.com/cisco-cte/spaui10/sections/3/pages/2
upvoted 1 times
...
karen1337
1 year ago
It's funny how B is the worst answer. It's the least structured of all four.
upvoted 1 times
...
working_on_hcip
1 year, 1 month ago
Selected Answer: A
Google developed Protocol buffers (or Protobuf for short) to serve as the main language to define both the gRPC message format and RPC calls. Protocol buffers are one of the core technologies developed and used by Google to serialize data for communication between the elements of highly loaded systems. The reason they are so efficient has to do with the way the data is encoded for transmission: Only key indexes, data types, and values are converted to binary format and sent over the wire Indexes: The schema identifies an index associated with each variable name, as the names aren’t included in the Protobuf message sent over the wire. It is the indexes that are included. This is very different from XML and JSON data formats, where the actual key names are transferred. The indexes are both an advantage and a disadvantage of the Protobuf: On the one hand, they allow you to save a lot of bandwidth on the wire, especially in bandwidth-hungry applications such as streaming telemetry.
upvoted 1 times
...
charlesch
2 years, 11 months ago
Selected Answer: A
Protobuf is the most compact
upvoted 3 times
...
all4Luv
3 years, 7 months ago
Protobuf is the most compact of the options Ref: https://blog.mbedded.ninja/programming/serialization-formats/a-comparison-of-serialization-formats/#file-size-comparison
upvoted 4 times
arthurb
3 years, 6 months ago
agree with you, must be protobuf
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...