Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified Heroku Architect (Plat-Arch-206) Exam - Topic 5 Question 59 Discussion

Posted by Ligia on Apr 07, 2025 at 07:54 AM

UniversalContainers (UC) has an on-permise application for reporting damage to their shipments. They want to migrate the application to Heroku. The damage reporting process includes uploading one or more pictures to the application which temporarily stores them onthe local system. After the report is submitted, a case is created in UC's Salesforce org for processing, amd the images are deleted from the file system. The application's configuration is read from environment variables that are specified in the system user's profile. The application writes its logs to rotating files using an open-source library. Which two recommendations should an Architect make to ensure that the application runs correctly on Heroku? Choose 2 answers.

Suggested Answer: A, D

- https://devcenter.heroku.com/articles/heroku-connect-database-tables#encrypted-strings


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
31 comments · newest first
JO
Joni 10 months ago
Not sure about that, seems like a bad idea to rely on local storage.
KI
Kimbery 11 months ago
Wait, are we really deleting images after submission?
ER
Ernestine 11 months ago
Loading config from source code? That sounds risky.
MA
Magdalene 11 months ago
Definitely need an external storage for those images!
TU
Tula 11 months ago
I think running in a Private Space is a must too.
KE
Kenneth 11 months ago
Running the app in a Private Space could help with Salesforce integration, but I can't recall if that's necessary for all cases. Is that option C?
RA
Raymon 12 months ago
I feel like we had a similar question about using external services for file storage in our practice exams. Option B definitely sounds familiar.
PE
Peggie 12 months ago
I'm not entirely sure, but I think loading configuration from source code might not be the best practice on Heroku. Environment variables are usually preferred, right?
BO
Bok 1 year ago
I remember we discussed the importance of using external storage for images in a cloud environment, so option B seems like a solid choice.
RO
Rory 1 year ago
I think the two best recommendations are using an external object storage service for the images and running in a Private Space to connect to Salesforce. Those seem like the most straightforward ways to address the key migration challenges.
CR
Cristal 1 year ago
I'm a bit confused by the last option about writing logs to STDOUT instead of the file system. That seems like it could cause issues with log management and auditing. I'll need to research that one further.
CH
Chaya 1 year ago
Okay, the key here is to address the temporary image storage and integration with Salesforce. Using an external object storage service like S3 or Blob Storage makes sense for the images, and running in a Private Space could enable the Salesforce integration.
RO
Rolland 1 year ago
Hmm, using environment variables for configuration is a common practice, so I'm not sure why the question is suggesting to load it from the source code instead. That seems like an odd recommendation.
JE
Jenise 1 year ago
This seems like a straightforward migration to Heroku, but I'll need to think through a few key points to ensure the application runs correctly.
JU
Juan 2 years ago
I believe option A is also important to ensure the application runs correctly on Heroku.
SU
Suzi 2 years ago
Option C seems like overkill for this use case. A private space isn't necessary to communicate with Salesforce.
LA
Lamonica 1 year ago
↳ replying to Suzi
Option C seems like overkill for this use case. A private space isn't necessary to communicate with Salesforce.
AL
Alida 1 year ago
↳ replying to Suzi
B) Use an external object storage service for temporary image uploads
HA
Hayley 1 year ago
↳ replying to Suzi
A) Load the application's configuration from its source code instead of using environment tables
CA
Cammy 2 years ago
I agree with Son. Option B will also help with scalability and performance.
RO
Ronna 2 years ago
Haha, 'WritP Inns tn stdmit'? Looks like someone needs to proofread their options a bit more carefully!
TR
Trevor 2 years ago
I'd also recommend Option D - writing logs to stdout instead of the file system. Heroku has a great logging system that can handle this for us.
LA
Lazaro 2 years ago
↳ replying to Trevor
B) Use an external object storage service for temporary image uploads
JA
Jacqueline 2 years ago
↳ replying to Trevor
A) Load the application's configuration from its source code instead of using environment tables
TA
Tammara 2 years ago
Definitely agree with Raelene. Heroku's file system won't persist the images, so an external storage service is the best choice here.
SO
Son 2 years ago
I think option B is a good idea because it will help with managing the images.
RA
Raelene 2 years ago
Using Heroku's ephemeral file system to store temporary images is a bad idea. Option B is the way to go.
TI
Timmy 1 year ago
↳ replying to Raelene
D) Write logs to stdout instead of writing them to the file system
JO
Jordan 1 year ago
↳ replying to Raelene
B) Use an external object storage service for temporary image uploads
CO
Colene 1 year ago
↳ replying to Raelene
D) Write logs to stdout instead of writing them to the file system
TA
Tawna 2 years ago
↳ replying to Raelene
B) Use an external object storage service for temporary image uploads
0/2000 characters

Save Cancel