PrepAway - Latest Free Exam Questions & Answers

Universal Containers needs to write their Heroku application’s logs to two destinations: an on-premise S

Universal Containers needs to write their Heroku application’s logs to two destinations: an on-premise Syslog log server and a cloud analytics provider that ingests logs using an HTTPS endpoint.

What should an Architect recommend in this scenario?

A. Publish all logs to Apache Kafka on Heroku, and create a separate app that consumes and distributes log messages.
B. Write all logs to Heroku Redis as a buffer and use an add-on to send them to both destinations.
C. Add a logging library to the application source that sends all logs directly to both destinations.

D. Write all logs to stdout, and configure a separate log drain for each destination.

Reference: https://devcenter.heroku.com/articles/logging


Leave a Reply