ExamGecko
Home Home / Salesforce / Certified Heroku Architecture Designer

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

Question list
Search
Search

List of questions

Search

Related questions











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?

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

Explanation:

Reference:

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.)

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

Explanation:

Reference:

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?

A.
Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
A.
Enable compaction on the topic to drop older messages, which will drop older messages with the same key.
Answers
B.
Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.
B.
Upgrade to a larger Apache Kafka for Heroku plan, which has greater data capacity.
Answers
C.
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.
C.
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.
Answers
Suggested answer: C

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?

A.
Custom Apex callouts
A.
Custom Apex callouts
Answers
B.
Heroku Connect
B.
Heroku Connect
Answers
C.
Salesforce SOAP API
C.
Salesforce SOAP API
Answers
D.
Salesforce Connect
D.
Salesforce Connect
Answers
Suggested answer: B

Explanation:

Reference:

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?

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

Explanation:

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

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?

A.
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.
A.
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.
Answers
B.
Deploy the application to a Shield Private Space with Private Space Logging enabled. Forward logs to a destination within the Shield Private Space.
B.
Deploy the application to a Shield Private Space with Private Space Logging enabled. Forward logs to a destination within the Shield Private Space.
Answers
C.
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.
C.
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.
Answers
D.
Deploy the application to a Private Space. Enable Internal Routing to prevent the application's logs from being forwarded outside of the Private Space.
D.
Deploy the application to a Private Space. Enable Internal Routing to prevent the application's logs from being forwarded outside of the Private Space.
Answers
Suggested answer: C

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?

A.
The application should persist the data to a database add-on.
A.
The application should persist the data to a database add-on.
Answers
B.
The application should persist the data to a local SQLite database.
B.
The application should persist the data to a local SQLite database.
Answers
C.
The application should use at least 2 dynos to ensure that the JSON file is highly available.
C.
The application should use at least 2 dynos to ensure that the JSON file is highly available.
Answers
D.
The application should be stateless and therefore not persist data at all.
D.
The application should be stateless and therefore not persist data at all.
Answers
Suggested answer: A

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

A.
The add-on always runs in the same Private Space as the provisioning application.
A.
The add-on always runs in the same Private Space as the provisioning application.
Answers
B.
The traffic between the provisioning app and the add-on will travel across the public Internet.
B.
The traffic between the provisioning app and the add-on will travel across the public Internet.
Answers
C.
The add-on will always run in the same region, but not in the same Private Space, as the provisioning application.
C.
The add-on will always run in the same region, but not in the same Private Space, as the provisioning application.
Answers
D.
The add-on's data will always be stored in the same Private Space as the provisioning application.
D.
The add-on's data will always be stored in the same Private Space as the provisioning application.
Answers
Suggested answer: C

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?

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

Explanation:

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

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.)

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

Explanation:

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

Total 185 questions
Go to page: of 19