ExamGecko
Ask Question

Salesforce Certified Heroku Architecture Designer Practice Test - Questions Answers, Page 4

List of questions

Question 31

Report
Export
Collapse

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?

Ensure that the Heroku app fetches the wkhtmltopdf library from cloud storage on dyno restart.
Ensure that the Heroku app fetches the wkhtmltopdf library from cloud storage on dyno restart.
Install the dependency using sudo apt install wkhtmltopdf from .profile in the project root.
Install the dependency using sudo apt install wkhtmltopdf from .profile in the project root.
Continue to host wkhtmltopdf on-premise, and build a REST API so the library can be invoked from the Heroku app.
Continue to host wkhtmltopdf on-premise, and build a REST API so the library can be invoked from the Heroku app.
Use a custom buildpack to install wkhtmltopdf using apt.
Use a custom buildpack to install wkhtmltopdf using apt.
Suggested answer: D

Explanation:

Reference:

asked 23/09/2024
Richard Banks
44 questions

Question 32

Report
Export
Collapse

A client is running an app on 20 Standard-2x dynos. They are noticing highly variable performance when the application is experiencing a heavy load.

Which two suggestions should an Architect make in this scenario? (Choose two.)

Configure the app to use Standard-lx dynos.
Configure the app to use Standard-lx dynos.
Configure the app to use Performance dynos.
Configure the app to use Performance dynos.
Install a performance monitoring tool.
Install a performance monitoring tool.
Add additional Standard-2x dynos.
Add additional Standard-2x dynos.
Suggested answer: B, D

Explanation:

Reference:

asked 23/09/2024
Jason Hicks
44 questions

Question 33

Report
Export
Collapse

Universal Containers (UC) uses Apache Kafka on Heroku to stream shipment inventory data in real time throughout the world. A Kafka topic is used to send messages with updates on the shipping container GPS coordinates as they are in transit. UC is using a Heroku Kafka basic-0 plan. The topic was provisioned with 8 partitions, 1 week of retention, and no compaction. The keys for the events are being assigned by Heroku Kafka, which means that they will be randomly distributed between the partitions.

UC has a single-dyno consumer application that persists the data to their Enterprise Data Warehouse (EDW). Recently, they've been noticing data loss in the EDW.

What should an Architect with Kafka experience recommend?

Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.
Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.
Use Heroku Redis to store message receipt information to account for "at-least" once delivery, which will guarantee that messages are never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.
Use Heroku Redis to store message receipt information to account for "at-least" once delivery, which will guarantee that messages are never processed more than once. Scale up the consumer dynos to match the number of partitions so that there is one process for each partition.
Suggested answer: C
asked 23/09/2024
Koen Poos
40 questions

Question 34

Report
Export
Collapse

A client's Heroku application syncs data between a Heroku Postgres database and a Salesforce org using the Salesforce Bulk API. The client has determined the application currently uses 90% of the client's daily Salesforce Bulk API limit.

To overcome this issue, what feature, to replace the Bulk API implementation in this scenario, should an Architect recommend?

Custom Apex callouts
Custom Apex callouts
Heroku Connect
Heroku Connect
Salesforce SOAP API
Salesforce SOAP API
Salesforce Connect
Salesforce Connect
Suggested answer: B

Explanation:

Reference:

asked 23/09/2024
Maurice Melgert
38 questions

Question 35

Report
Export
Collapse

A client wants to use Heroku Connect to sync data from a Heroku Postgres table to a Salesforce org.

The client only needs to sync a specific subset of the rows in the table.

How should this be performed?

Add a mapping filter to the table when setting up the sync, and select appropriate criteria from the list.
Add a mapping filter to the table when setting up the sync, and select appropriate criteria from the list.
Filter the data in the database, and provide an alternative table or view for use in the sync.
Filter the data in the database, and provide an alternative table or view for use in the sync.
Use the Heroku Connect Mapping Query Editor, and add filters to the query.
Use the Heroku Connect Mapping Query Editor, and add filters to the query.
Place Sharing Rules on the records, and restrict visibility to only those rows that are needed.
Place Sharing Rules on the records, and restrict visibility to only those rows that are needed.
Suggested answer: D

Explanation:

- https://devcenterheroku com/artJcles/heroku-connect-faq#can-j-use-sharJng-rules-to-restrictrecord-Visibility

asked 23/09/2024
B schatens
45 questions

Question 36

Report
Export
Collapse

A client requires that their web application's logs are accessible only from within the same isolated network as the application itself.

Which solution should an Architect recommend in this scenario?

Deploy the application to a Private Space. Provide the Private Space's stable outbound IPs to Heroku's Logplex router to block all logs originating from the Private Space.
Deploy the application to a Private Space. Provide the Private Space's stable outbound IPs to Heroku's Logplex router to block all logs originating from the Private Space.
Deploy the application to a Shield Private Space with Private Space Logging enabled. Forward logs to a destination within the Shield Private Space.
Deploy the application to a Shield Private Space with Private Space Logging enabled. Forward logs to a destination within the Shield Private Space.
Deploy the application to a Private Space. Connect the Private Space to an on-premise logging system using VPN and specify it as a log drain.
Deploy the application to a Private Space. Connect the Private Space to an on-premise logging system using VPN and specify it as a log drain.
Deploy the application to a Private Space. Enable Internal Routing to prevent the application's logs from being forwarded outside of the Private Space.
Deploy the application to a Private Space. Enable Internal Routing to prevent the application's logs from being forwarded outside of the Private Space.
Suggested answer: C
asked 23/09/2024
Nikhil George
34 questions

Question 37

Report
Export
Collapse

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?

The application should persist the data to a database add-on.
The application should persist the data to a database add-on.
The application should persist the data to a local SQLite database.
The application should persist the data to a local SQLite database.
The application should use at least 2 dynos to ensure that the JSON file is highly available.
The application should use at least 2 dynos to ensure that the JSON file is highly available.
The application should be stateless and therefore not persist data at all.
The application should be stateless and therefore not persist data at all.
Suggested answer: A
asked 23/09/2024
Bjorn-Rune Ness Lind
44 questions

Question 38

Report
Export
Collapse

Which is a characteristic of an add-on that is "available" for applications in Private Spaces but not "installable" in a Private Space?

The add-on always runs in the same Private Space as the provisioning application.
The add-on always runs in the same Private Space as the provisioning application.
The traffic between the provisioning app and the add-on will travel across the public Internet.
The traffic between the provisioning app and the add-on will travel across the public Internet.
The add-on will always run in the same region, but not in the same Private Space, as the provisioning application.
The add-on will always run in the same region, but not in the same Private Space, as the provisioning application.
The add-on's data will always be stored in the same Private Space as the provisioning application.
The add-on's data will always be stored in the same Private Space as the provisioning application.
Suggested answer: C
asked 23/09/2024
eddie alvarez
42 questions

Question 39

Report
Export
Collapse

A client's Heroku application is publishing messages to an instance of Apache Kafka on Heroku.

What does a second Heroku application need to do to consume those messages?

Subscribe to the Kafka partition(s) that the messages are being published to.
Subscribe to the Kafka partition(s) that the messages are being published to.
Join a consumer group that also includes the publishing application.
Join a consumer group that also includes the publishing application.
Subscribe to the Kafka topic(s) that the messages are being published to.
Subscribe to the Kafka topic(s) that the messages are being published to.
Convert the publishing application into a stream processor.
Convert the publishing application into a stream processor.
Suggested answer: A

Explanation:

- https://wwwxloudkarafka.com/blog/2016-11-30-part1-kafka-for-beginners-what-isapache-kafka.html

asked 23/09/2024
Jaroslaw Walaszek
37 questions

Question 40

Report
Export
Collapse

A client provisions a Heroku Postgres database in the EU region.

Which two services related to Heroku Postgres are located in the U.S.? (Choose two.)

Fork and follower databases
Fork and follower databases
Heroku Postgres Continuous Protection backups
Heroku Postgres Continuous Protection backups
Snapshots created with Heroku PGBackups
Snapshots created with Heroku PGBackups
Heroku Dataclips
Heroku Dataclips
Suggested answer: A, D

Explanation:

- https://devcenter.heroku com/articles/heroku-postgresql

asked 23/09/2024
Pritish Verma
32 questions
Total 185 questions
Go to page: of 19
Search

Related questions