Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 313
An application must be able to print the values of the variables in specific modules. Different message levels will be used for production and for development. Proof of access and activity must be documented. What must be included in the implementation to support these observability requirements?
Answer options
- A. print
- B. streaming
- C. metrics
- D. logging
Correct answer: D
Explanation
The correct answer is D, logging, as it allows for recording detailed information about application behavior, including variable values, at different levels based on the environment. While print might display values temporarily, it does not provide the necessary documentation for access and activity, and streaming and metrics do not focus specifically on logging detailed messages and events.