exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 152 discussion

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

What is an effective logging strategy according to the 12-factor app tenets?

  • A. Tag and save logs in a local document database that has querying capabilities.
  • B. Back up log files in a high-availability remote cluster on the public cloud.
  • C. Timestamp and save logs in a local time-series database that has querying capabilities.
  • D. Capture logs by the execution environment and route to a centralized destination.
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
duracell
Highly Voted 1 year, 5 months ago
D is correct.
upvoted 10 times
...
ferock
Highly Voted 1 year, 1 month ago
Selected Answer: D
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. In staging and production deploys, each process’s stream will be captured by the execution environment, collated together with all other streams from the app, and routed to one or more final destinations for viewing and long-term archival. These archival destinations are not visible to or configurable by the app. Source: Cisco DEVCOR 350-901 Study Guide
upvoted 5 times
...
designated
Most Recent 9 months, 2 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. In staging and production deploys, each process’s stream will be captured by the execution environment, collated together with all other streams from the app, and routed to one or more final destinations for viewing and long-term archival. These archival destinations are not visible to or configurable by the app.
upvoted 2 times
...
__al__
1 year, 2 months ago
Selected Answer: D
D indeed... but it is a tricky question: the way C is wrote, if you read it too quickly and without enough attention, you could fall for it.
upvoted 4 times
...
hartak
1 year, 3 months ago
Selected Answer: D
Also agree with D. According to the official study guide.
upvoted 4 times
...
udo2020
1 year, 4 months ago
I agree with D. This ist defined in the official study guide.
upvoted 4 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 ...