exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 136 discussion

Actual exam question from Cisco's 350-901
Question #: 136
Topic #: 1
[All 350-901 Questions]

While developing an application following the 12-factor app methodology, which approach should be used in the application for logging?

  • A. Write a log to a file in the application directory.
  • B. Write a log to a file in /var/log.
  • C. Write the logs buffered to stdout.
  • D. Write the logs unbuffered to stdout.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
FR99
Highly Voted 2 years, 9 months ago
Answer is 'D' https://12factor.net/logs
upvoted 16 times
...
Teringzooi
Most Recent 7 months, 3 weeks ago
Selected Answer: D
Correct answer: D Logs have no fixed beginning or end but flow continuously as long as the app is operating. A 12-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage log files. Instead, each running process writes its event stream, unbuffered, to stdout. https://12factor.net/logs
upvoted 2 times
...
designated
8 months, 4 weeks ago
Selected Answer: D
D is correct. ## Factor XI: Logs ## Treat logs as event streams. Logs have no fixed beginning or end but flow continuously as long as the app is operating. A 12-factor app never concerns itself with routing or storage of its output stream. It should not attempt to write to or manage log files. Instead, each running process writes its event stream, unbuffered, to stdout.
upvoted 3 times
...
__al__
1 year, 1 month ago
Selected Answer: D
D it is
upvoted 2 times
...
dhie
1 year, 9 months ago
From 22factor logs: each running process writes its event stream, unbuffered, to stdout.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago