A financial reporting application, hosted on an on-premise server, uses a native library (wkhtmltopdf) to convert its HTML reports into PDFs. The app is being migrated to Heroku.
What option should an Architect recommend to enable the Heroku application to use wkhtmltopdf?
Suggested Answer: A
Get Premium Salesforce Certified Heroku Architect (Plat-Arch-206) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
35 comments · newest first
AR
Aretha
11 months ago
Option C could add unnecessary complexity, though.
JO
Jovita
11 months ago
Wait, can you really use apt on Heroku? That sounds odd!
LE
Leslie
12 months ago
Not sure about that, wouldn't a REST API be more flexible?
CE
Celestina
12 months ago
I agree, a custom buildpack is the way to go!
LA
Lavelle
1 year ago
Option D seems like the best choice for Heroku.
IR
Iraida
1 year ago
I feel like option A might be too slow since fetching from cloud storage could add latency. I think D is probably the most efficient way to go.
RO
Rosann
1 year ago
I practiced a similar question where we had to install dependencies on Heroku, but I can't recall if using sudo is allowed. Option B feels off to me.
RO
Rodolfo
1 year ago
I think option C could work, but it seems like a lot of extra overhead to maintain an on-premise server just for that library.
JO
Johnna
1 year ago
I remember something about using buildpacks in Heroku, so option D sounds familiar, but I'm not entirely sure if it's the best choice.
SU
Sue
1 year ago
The custom buildpack option seems like the most reliable and maintainable way to handle this requirement on Heroku.
VA
Val
1 year ago
Continuing to host wkhtmltopdf on-premise and building a REST API seems like an overly complex solution for this use case.
SH
Sharee
1 year ago
Installing the dependency directly in the .profile file could work, but I'm not sure if that's the best approach for a Heroku deployment.
RO
Rolande
1 year ago
Hmm, I'm not sure about that. Fetching the library from cloud storage on dyno restart might be a simpler solution.
LE
Lelia
1 year ago
This seems like a straightforward question. I would recommend using a custom buildpack to install wkhtmltopdf on the Heroku dyno.
HO
Howard
1 year ago
Wait, I'm a bit confused. Isn't there an option to just delete the DataFrame directly?
AN
Andrew
1 year ago
I think the solution needs at least two solid state drives for best performance, but I can't recall the exact requirement for logging.
JE
Jennifer
1 year ago
Okay, let me break this down step-by-step. The question is asking about the background items auditors should review, and the options are A) program/organizational goals, B) organizational data, C) A and B, or D) none of the above. I think C is the best answer, since both the purpose/goals and the organizational data would be important for an auditor to understand.
MY
Myra
1 year ago
I remember discussing the consequences of a security officer's actions in our last class. I think they could face criminal charges, but I'm not entirely sure if that covers everything.
BE
Bernadine
1 year ago
Key strategy: Don't overthink it. Read the statement carefully and trust your first instinct about procurement rules.
ST
Stanton
1 year ago
CusQuentin buildpack? More like cusQuentin headache! I'm just going to print all my reports on paper and hand-deliver them. Problem solved.
QU
Quentin
1 year ago
Installing the dependency from .profile? That's just wrong. Who uses sudo on Heroku anyway? CusQuentin buildpack is clearly the winner here.
JE
Jettie
1 year ago
User 3: Jettie is correct, the custom buildpack is the best option for installing wkhtmltopdf on Heroku.
TA
Tawanna
1 year ago
User 2: Tawanna is right, using sudo on Heroku is not recommended.
AN
Annelle
1 year ago
User 1: I agree, installing from .profile is not the way to go.
TA
Taryn
1 year ago
Fetching the library from cloud storage on dyno restart? Sounds like a disaster waiting to happen. I'll take the custom buildpack, please.
BR
Brande
1 year ago
C: Custom buildpack it is, no need to risk it with cloud storage.
CA
Cassie
1 year ago
B: Custom buildpack is definitely the safer option here.
TA
Tamie
1 year ago
A: I agree, fetching from cloud storage sounds risky. Custom buildpack is the way to go.
AL
Allene
2 years ago
I'd avoid hosting the library on-premise and building a REST API. That adds unnecessary complexity and maintenance overhead. Go with the custom buildpack!
MA
Matt
2 years ago
A) Ensure that the Heroku app fetches the wkhtmltopdf library from cloud storage on dyno restart.
JU
Julene
2 years ago
D) Use a custom buildpack to install wkhtmltopdf using apt.
LE
Leigha
2 years ago
Option D sounds like the way to go. Using a custom buildpack to install wkhtmltopdf on Heroku seems like the most straightforward approach.
JA
Jacquelyne
2 years ago
That's a valid point, Gilma. Option A could be a good choice for ensuring easy access to wkhtmltopdf on Heroku.
GI
Gilma
2 years ago
I disagree, I believe option A is the way to go. Fetching the library from cloud storage on dyno restart would ensure smooth operation on Heroku.
JA
Jacquelyne
2 years ago
I think option D is the best choice. Using a custom buildpack to install wkhtmltopdf seems like the most straightforward solution.