Heroku Platform Architecture and Application Design
Save question
At Universal Containers (UC), a developer named Yuichiro wrote a PHP application that, in production, uses a MySQL database. Yuichiro is onboarding Mary, a new UC developer, who is setting up her development environment. Yuichiro asks Mary to:
install the related PHP libraries manually so the application will run;
use MongoDB, instead of MySQL, in the development environment.
According to the Twelve-Factor methodology, which changes should an Architect recommend?
AExplicitly declare code dependencies in the application's environment variables and use the same type of database in both development and production.
BPersist code dependencies in the application's production database. Use the same type of database locally to ensure that the dependencies are accessible.
CRecursively determine code dependencies on application startup and maintain separate Git branches for the MongoDB- and MySQL- compatible versions of the application.
DExplicitly declare code dependencies in the application's source and use the same type of database in both development and production.
0
Question 2
Heroku Platform Architecture and Application Design
0
Question 3
Heroku Platform Architecture and Application Design
0
Question 4
Heroku Platform Architecture and Application Design
0
Question 5
Team Collaboration and Governance
0
That's the end of the Preview
This exam has 60 community-verified practice questions. Create a free account to access all questions, comments, and explanations.
Topics covered:
Salesforce Platform FundamentalsHeroku Platform Architecture and Application DesignDeployment and Release ManagementMonitoring, Scaling, and OperationsTeam Collaboration and Governance
For which two use cases should an Architect recommend using Heroku Redis? (Choose two.)
AProviding long-term data warehousing
BAdding jobs to a queue
CProviding a data cache layer
DQuerying relational data
Universal Containers has a Heroku app that uses several third-party add-ons. They now need to enforce data privacy and be compliant with General Data
Protection Regulation (GDPR).
What should an Architect advise UC regarding data residency in this scenario?
AHeroku does not control where add-on providers store data.
BHeroku support can configure add-ons for specific data residency needs.
CHeroku guarantees the physical location of its control surface APIs.
DData residency for add-ons is covered under Salesforce's GDPR compliance.
Universal Containers has a Heroku Private Space with a VPN connection to their on-premise network. They want their remote employees to be able to access their Heroku applications using a VPN connection only.
Which solution should an Architect recommend?
AClone the Heroku applications to a second Private Space, and configure its VPN for remote employees.
BEnable remote employees to VPN into the company's on-premise network.
CConfigure a second VPN connection for the Private Space that remote employees can use.
DAdd all remote employees to an Enterprise Team, and configure it to connect to the Private Space via SSO.
Which two Heroku features require Heroku Enterprise Teams? (Choose two.)
AFire-grained app access controls
BSingle Sign-on
CPaid add-on plans
DHeroku Pipelines
Question 6
Monitoring, Scaling, and Operations
0
Question 7
Heroku Platform Architecture and Application Design
Question 8
Heroku Platform Architecture and Application Design
Question 9
Heroku Platform Architecture and Application Design
Question 10
Monitoring, Scaling, and Operations
Question 11
Heroku Platform Architecture and Application Design
Question 12
Monitoring, Scaling, and Operations
Question 13
Heroku Platform Architecture and Application Design
Question 14
Heroku Platform Architecture and Application Design
Question 15
Deployment and Release Management
Question 16
Team Collaboration and Governance
Question 17
Heroku Platform Architecture and Application Design
Question 18
Monitoring, Scaling, and Operations
Question 19
Salesforce Platform Fundamentals
Question 20
Heroku Platform Architecture and Application Design
Question 21
Heroku Platform Architecture and Application Design
Question 22
Heroku Platform Architecture and Application Design
Question 23
Heroku Platform Architecture and Application Design
Question 24
Heroku Platform Architecture and Application Design
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ad
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Ask AstroTutor
0
Which Heroku runtimes provide keystroke logging?
AThe Common Runtime, Private Spaces, and Shield Private Spaces
BPrivate Spaces and Shield Private Spaces
CShield Private Spaces only
DKeystroke logging is not available on Heroku
A web application on Heroku wants to surface Salesforce data. All users of the web application will:
Authenticate using SSO with Salesforce.
Have user records in Salesforce.
What architecture should be recommended in order to maintain the Salesforce security model already in place?
AUse Heroku Connect to sync the Salesforce data and Salesforce security model to Heroku Postgres.
BHave the application query Salesforce data and the security model directly using a cached admin credential.
CUse Heroku Connect, with a per-user authentication model, to sync the Salesforce data to Heroku Postgres.
DHave the application query Salesforce data directly through the Salesforce APIs as the running user.
Universal Containers (UC) is opening offices in Japan and Germany. This will allow them to serve new customers in Asia and in Europe. UC is concerned about application latency for their new customers, especially because the app serves large amounts of dynamic content.
Which Heroku Enterprise feature should an Architect recommend to alleviate this concern?
ACreate Salesforce orgs in each region and use Heroku Connect to link them.
BDeploy instances of their applications into Private Spaces in Tokyo and Frankfurt.
CDeploy a globally-distributed CDN in front of the application.
DCreate a Heroku Pipeline to mirror the app and its data in each region.
A client wants to perform complex processing on large data sets in Salesforce. The data is confidential, but it does not have advanced compliance requirements.
What Heroku Enterprise features should an Architect recommend in this scenario?
AShield Private Spaces and Heroku External Objects
BPrivate Spaces and Heroku Connect
CPrivate Spaces and Heroku External Objects
DShield Private Spaces and Heroku Shield Connect
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.)
AConfigure the app to use Standard-lx dynos.
BConfigure the app to use Performance dynos.
CInstall a performance monitoring tool.
DAdd additional Standard-2x dynos.
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?
AAdd a mapping filter to the table when setting up the sync, and select appropriate criteria from the list.
BFilter the data in the database, and provide an alternative table or view for use in the sync.
CUse the Heroku Connect Mapping Query Editor, and add filters to the query.
DPlace Sharing Rules on the records, and restrict visibility to only those rows that are needed.
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?
ADeploy 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.
BDeploy the application to a Shield Private Space with Private Space Logging enabled. Forward logs to a destination within the Shield Private Space.
CDeploy 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.
DDeploy the application to a Private Space. Enable Internal Routing to prevent the application's logs from being forwarded outside of the Private Space.
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?
ASubscribe to the Kafka partition(s) that the messages are being published to.
BJoin a consumer group that also includes the publishing application.
CSubscribe to the Kafka topic(s) that the messages are being published to.
DConvert the publishing application into a stream processor.
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.)
AFork and follower databases
BHeroku Postgres Continuous Protection backups
CSnapshots created with Heroku PGBackups
DHeroku Dataclips
A client's application needs to run in a European country for data residence purposes.
What is a consideration in this scenario?
AWhen a dyno is cycled, its replacement might run in a different region.
BEuropean regions are only available for applications running in Private Spaces.
CHeroku Postgres backup snapshots and dataclips are always stored in the U.S.
DThere is no guarantee that a Heroku Postgres database will be created in the same region as the application that provisions it.
Universal Containers (UC) wants to allow its developers to only use certain add-ons. UC enables Add-on Controls for Enterprise Teams and adds the add-ons they wish to allow to the list. There is an existing set of add-ons attached to applications, which are NOT on the list.
What happens to these add-ons?
AThey are deleted, and all data is backed up and saved.
BThey are added to the allowed add-ons list.
CThey are added to the exception list and not affected.
DThey are flagged for removal, and the developers are notified.
Universal Containers has an application running in the Common Runtime that uses Heroku Redis. The data in Heroku Redis needs to be accessed by a third-party application.
Which connection method should an Architect recommend to ensure the security of the data as it moves from Heroku Redis to the third-party application?
AUse stunnel to secure the connection between Heroku Redis and the third-party application.
BSet up SSL Certificates on Heroku and the third-party application.
COnly allow access to Heroku Redis through an SSH connection.
DSet up both a VPN and a VPC between Heroku and the third-party application.
Which two statements describe characteristics of Private Space Logging? (Choose two.)
ALog entries are forwarded as HTTPS POST requests.
BLog entries are collated and forwarded by Heroku's Logplex router.
CLog entries can be forwarded to up to three logging services.
DLog entries can be forwarded to only one logging service.
A client's Heroku web application displays data that is fetched from a back-end file storage system. The client now wants this data to be viewable, but not editable, from their Salesforce org.
Which recommendation should an Architect make in this scenario?
AReplicate the files to tables in a Heroku Postgres database, and use Heroku Connect to synchronize the tables to the Salesforce org.
BStore all file URLs in a Heroku Postgres table, and use Heroku Connect to synchronize the table to the Salesforce org.
CReplicate the files to tables in a Heroku Postgres database, and use Heroku External Objects to expose the tables to the Salesforce org.
DReplicate the files to the application's local filesystem, and use worker dynos to periodically sync them to the Salesforce org.
A client wants to create a secure network connection between Heroku applications running in a Private Space and an AWS VPC.
Which Heroku feature should an Architect recommend to create the connection?
AInternal Routing
BPrivate Space Peering
CPrivate Space VPN connections
DHeroku Connect
A client is creating a new API application. The app should only be accessible from other apps that they deploy to Heroku. Also, traffic between the other apps and the API should not transit the public internet.
Which solution should an Architect recommend to meet these requirements?
ACreate the application in a Private Space with default options.
BCreate the application in a Private Space and restrict the application's set of trusted IP ranges.
CCreate the application with Internal Routing enabled, in a Private Space.
DCreate the application in a Shield Private Space to enforce stricter requirements for TLS termination.
Universal Containers (UC) recently acquired another company, International Shipping. Each company has its own Salesforce org, and UC wants those orgs to remain separate for the foreseeable future.
Given this scenario, which Heroku feature should an Architect recommend to provide additional value to UC following the acquisition?
AHeroku Connect can be used to synchronize data directly between the two Salesforce orgs.
BBoth orgs can be attached to the same Heroku application as an add-on to ensure data residency in the application's region.
CHeroku External Objects can expose read-only data from both Salesforce orgs to Heroku Postgres.
DA Heroku Postgres database can sync data from both orgs for advanced querying capabilities.
Which is a characteristic of an add-on that is "available" for applications in Private Spaces but not "installable" in a Private Space?
AThe add-on always runs in the same Private Space as the provisioning application.
BThe traffic between the provisioning app and the add-on will travel across the public Internet.
CThe add-on will always run in the same region, but not in the same Private Space, as the provisioning application.
DThe add-on's data will always be stored in the same Private Space as the provisioning application.
Which two conventions of the Heroku platform reflect the Twelve-Factor methodology's recommendation to "execute the app as one or more stateless processes?" (Choose two.)
ALog messages from each of an app's dynos are kept separate from each other.
BHeroku apps define process types in a Procfile.
CA Heroku app's config vars are deleted on deploys and app restarts.