350-201 Question 252
Single answerYou are analyzing logs from a Cisco Secure Firewall, which are exported in a structured format. The logs need to be parsed to extract specific fields such as 'source_ip', 'destination_ip', and 'event_type'. Upon inspecting the log file, you notice it is enclosed in curly braces with key-value pairs separated by colons. Based on this format, which data type is the log file most likely using?
- A
JSON
- B
CSV
- C
HTML
- D
XML
Show answer and explanation
Correct answer: A
Explanation
The described log file format, with key-value pairs enclosed in curly braces and separated by colons, aligns with the JSON data format. JSON is commonly used in cybersecurity tools for structured log exports as it is both human-readable and machine-parsable.
- A. Correct.
JSON (JavaScript Object Notation) uses a lightweight data-interchange format consisting of key-value pairs enclosed in curly braces, making it suitable for structured log data.
- B. Incorrect.
CSV (Comma-Separated Values) is a flat file format where data is separated by commas, and it does not support hierarchical key-value structures like those seen in the scenario.
- C. Incorrect.
HTML (Hypertext Markup Language) is used for web page structuring and formatting, not for logging structured data in key-value pairs.
- D. Incorrect.
XML (Extensible Markup Language) is a hierarchical markup language using tags, but it does not use curly braces or colons for key-value pairs.