Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Heroku Architect Topic 8 Question 25 Discussion

Actual exam question for Salesforce's Heroku Architect exam
Question #: 25
Topic #: 8
[All Heroku Architect Questions]

A client currently runs a Ruby script in aone-off dyno each time they deploy their Go application to Heroku. The development team wants the script to be executed before the application is deployed because it performs necessary database migrations. Which approach should an Architect recommend?

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Nickolas
1 months ago
I'd just set the script to run on a cron job every minute. That way, it'll always be up-to-date, even if someone forgets to deploy!
upvoted 0 times
...
Jacki
1 months ago
Defining different process types for the script and the app in the Procfile sounds promising. That way, we can manage them separately without too much hassle.
upvoted 0 times
...
Laura
1 months ago
Using both buildpacks seems like the easiest way to go. That way, we can keep the Ruby script as-is and run it during the release phase.
upvoted 0 times
Sharen
4 days ago
That sounds like a good idea. We can make sure the script runs at the right time without too much hassle.
upvoted 0 times
...
Eveline
6 days ago
C) Use both Go and Ruby language buildpacks, and run the Ruby script with release phase
upvoted 0 times
...
Yolando
23 days ago
A) Modify the Go buildpack to install Ruby, and run the script from the _profile
upvoted 0 times
...
...
Elli
2 months ago
Converting the Ruby script to Go makes sense, but that could be a lot of work. I'd prefer a simpler solution if possible.
upvoted 0 times
Lanie
30 days ago
C) Use both Go and Ruby language buildpacks, and run the Ruby script with release phase
upvoted 0 times
...
Aja
1 months ago
A) Modify the Go buildpack to install Ruby, and run the script from the _profile
upvoted 0 times
...
Maryann
1 months ago
Converting the Ruby script to Go would be a lot of work, but it might be the best long-term solution.
upvoted 0 times
...
Gerry
2 months ago
A) Modify the Go buildpack to install Ruby, and run the script from the _profile
upvoted 0 times
...
...
Emelda
2 months ago
Option A looks like a good solution, but I'm not sure if modifying the Go buildpack is the best approach. It might be better to keep the languages separate.
upvoted 0 times
...
Johana
2 months ago
But option A allows for easier maintenance and management of dependencies.
upvoted 0 times
...
Rodney
2 months ago
I disagree, I believe option C is more efficient.
upvoted 0 times
...
Johana
3 months ago
I think option A is the best approach.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77