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 1 Question 22 Discussion

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

A client has a web application that persists data to a local JSON file. They are migrating the application to Heroku. In order for the application to conform to the Twelve-Factor methodology, what changes should an Architect recommend?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Carry
1 months ago
Option B? SQLite? In the cloud? That's like trying to fit a square peg in a round hole. Not a good idea at all.
upvoted 0 times
Kindra
18 days ago
C) The application should use at least 2 dynos to ensure that the JSON file is highly available.
upvoted 0 times
...
Tennie
24 days ago
A) The application should persist the data to a database add-on.
upvoted 0 times
...
...
Page
2 months ago
Haha, option C is classic 'overcomplicate everything' syndrome. Using multiple dynos to ensure availability of a local JSON file? That's overkill, my dude.
upvoted 0 times
Caprice
15 days ago
User 2
upvoted 0 times
...
Meghann
1 months ago
User 1
upvoted 0 times
...
...
Tom
2 months ago
I'm torn between A and D. Persisting data to a database makes sense, but a truly stateless app might be the most Twelve-Factor-y approach. I guess it depends on the specific requirements.
upvoted 0 times
Gayla
2 days ago
A) The application should persist the data to a database add-on.
upvoted 0 times
...
Matilda
29 days ago
It really depends on the specific requirements of the application.
upvoted 0 times
...
Lino
1 months ago
D) The application should be stateless and therefore not persist data at all.
upvoted 0 times
...
Hildegarde
2 months ago
A) The application should persist the data to a database add-on.
upvoted 0 times
...
...
Kris
2 months ago
Option A seems like the way to go. Persisting data to a local file isn't really cloud-friendly, and the Twelve-Factor methodology emphasizes using external services for things like data storage.
upvoted 0 times
Providencia
1 months ago
B) I agree, using a database add-on is the recommended approach for cloud environments.
upvoted 0 times
...
Santos
2 months ago
A) The application should persist the data to a database add-on.
upvoted 0 times
...
...
Janae
2 months ago
I'm not sure, but I think option D could also be a valid choice to conform to the Twelve-Factor methodology.
upvoted 0 times
...
Hannah
2 months ago
I agree with Mignon, persisting data to a database add-on is the best choice for scalability.
upvoted 0 times
...
Mignon
3 months ago
I think the Architect should recommend option A.
upvoted 0 times
...

Save Cancel