Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 9
Which two statements are considered best practices according to the 12-factor app methodology for application design? (Choose two.)
Answer options
- A. Application code writes its event stream to stdout.
- B. Application log streams are archived in multiple replicated databases.
- C. Application log streams are sent to log indexing and analysis systems.
- D. Application code writes its event stream to specific log files.
- E. Log files are aggregated into a single file on individual nodes.
Correct answer: A, C
Explanation
Option A is correct because writing the event stream to stdout allows for easier logging and monitoring in cloud environments. Option C is also correct as sending log streams to indexing and analysis systems enhances observability and troubleshooting. Options B, D, and E do not align with the 12-factor principles emphasizing simplicity and direct output methods.