Question 1 of 30
In a multi-tenant application hosted on Heroku, a company is experiencing performance issues due to high database load. They are considering implementing a caching layer to alleviate the pressure on their PostgreSQL database. Which of the following best practices should they adopt to ensure optimal performance and scalability while using a caching solution?
Use a distributed caching system like Redis to store frequently accessed data and implement cache invalidation strategies to maintain data consistency.
Rely solely on the built-in caching mechanisms provided by PostgreSQL to manage data retrieval efficiently.
Implement caching only for static assets, ignoring dynamic data, as it is less likely to change frequently.
Use a single instance of a caching solution without considering horizontal scaling options to keep the architecture simple.

Preparing for SalesForce Certified Heroku Architecture Designer Certified Heroku Architecture Designer? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free