350-201 Question 251
Single answerA cybersecurity analyst is reviewing logs from a web application firewall (WAF) and notices that the data is being transmitted in a format that uses key-value pairs, enclosed in curly braces, with data types such as strings and arrays. Which data format is most likely being used in this scenario?
- A
JSON
- B
HTML
- C
CSV
- D
XML
Show answer and explanation
Correct answer: A
Explanation
The description of the data format in the scenario matches the characteristics of JSON. JSON is commonly used for transmitting data in web applications and is structured using key-value pairs enclosed in curly braces, with support for arrays and strings. The other formats (HTML, CSV, and XML) do not fit the given description.
- A. Correct.
JSON (JavaScript Object Notation) is a lightweight data format that uses key-value pairs enclosed in curly braces and can include arrays and strings. This matches the description in the scenario.
- B. Incorrect.
HTML (HyperText Markup Language) is used for structuring web pages and does not use key-value pairs or arrays in the described manner.
- C. Incorrect.
CSV (Comma-Separated Values) is a plaintext format used for tabular data, where values are separated by commas, not key-value pairs.
- D. Incorrect.
XML (Extensible Markup Language) is a markup language that uses tags to define data, but it does not use curly braces or key-value pairs as described.