In this article, we will see the answers to Module: Salesforce & Heroku Integration.
#1.Get Started with Salesforce & Heroku Integration
Q1)Which of the following is NOT an advantage of data replication over data proxies?
I)A replicated data set offloads processing and requests from an origin data server.
II)A replicated data set is always and immediately in sync with the origin data.
III)A replicated data set reduces data access latency.
IV)A replicated data set supports bidirectional writes.
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
II)A replicated data set is always and immediately in sync with the origin data.
[/bg_collapse]
Q2)You can use Salesforce Connect to proxy which types of data sources:
I)OData 2.0 and 4.0
II)REST with JSON payloads
III)REST with XML payloads
IV)SOAP
V)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
V)All of the above
[/bg_collapse]
Q3)Which technology do Salesforce REST APIs use for authentication?
I)Pre-shared keys
II)Basic usernames and passwords
III)OAuth
IV)SAML
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
III)OAuth
[/bg_collapse]
Q4)Callouts from Salesforce to Heroku can be made using:
I)Web sockets
II)Apex triggers or outbound messages
III)Message bus
IV)Corba
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
II)Apex triggers or outbound messages
[/bg_collapse]
#2.Integrate Salesforce and Heroku with Heroku Connect
Q1)You can use Heroku Connect for:
I)One-way data replication
II)Bidirectional data replication
III)Data proxy with Salesforce Connect
IV)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)All of the above
[/bg_collapse]
Q2)How does Heroku Connect work with Salesforce authentication?
I)A single integration user’s credentials are stored.
II)OAuth provides Heroku Connect with API tokens after the user authorizes the Heroku Connect application on Salesforce.
III)SAML authorizes Heroku Connect to make API calls.
IV)The end user of a Heroku app authorizes Heroku Connect via OAuth.
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
II)OAuth provides Heroku Connect with API tokens after the user authorizes the Heroku Connect application on Salesforce.
[/bg_collapse]
Q3)Heroku Connect data replication happens:
I)Instantly in both directions
II)Near real time in both directions
III)Near real time for writes to Salesforce, and on a 30-second polling window for writes to Heroku Postgres
IV)Near real time for writes to Salesforce, and either on a polling window or near real time for writes to Heroku Postgres (depending on the user configuration)
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)Near real time for writes to Salesforce, and either on a polling window or near real time for writes to Heroku Postgres (depending on the user configuration)
[/bg_collapse]
#3.Integrate Salesforce and Heroku with Salesforce Connect
Q1)Salesforce Connect is used for:
I)Developing ETL services
II)Replicating external data into Salesforce
III)Proxying external data into Salesforce
IV)Bidirectional syncing of external data in Salesforce
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
III)Proxying external data into Salesforce
[/bg_collapse]
Q2)Salesforce Connect custom adapters support:
I)Cross-object relationships
II)Data paging
III)Search
IV)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)All of the above
[/bg_collapse]
Q3)Which of the following is NOT an advantage of Salesforce Connect over ETL?
I)The data is always fetched on demand.
II)If the origin is offline, the data is still available via Salesforce Connect.
III)Standard protocols like OData can easily proxy external data into Salesforce.
IV)Data security can be enforced using per-user or per-application authentication.
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
II)If the origin is offline, the data is still available via Salesforce Connect.
[/bg_collapse]
#4.Use Salesforce REST APIs with Heroku
Q1)Applications on Heroku that use Salesforce REST APIs can use which authentication mechanisms:
I)Anonymous access without credentials on trusted networks
II)Username and password with an OAuth connected app
III)OAuth web or user-agent flow in which the user authorizes a connected app using browser redirects
IV)B and C
V)A and C
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)B and C
[/bg_collapse]
Q2)You can use the Salesforce REST APIs to:
I)Insert or update records
II)Execute processes as another user
III)Access database log files
IV)Feed your kitten
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
I)Insert or update records
[/bg_collapse]
#5.Use Apex Callouts and Workflow with Heroku
Q1)The primary benefit of a workflow outbound message over an Apex trigger is:
I)The message can deliver the payload only as SOAP.
II)The message supports different authentication mechanisms.
III)Messages are completely declarative.
IV)The message can handle every database event.
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
III)Messages are completely declarative.
[/bg_collapse]
Q2)Callouts in Apex trigger support which authentication mechanisms:
I)Pre-shared keys
II)Username and password credentials
III)OAuth flows using named credentials in the Remote Site settings
IV)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)All of the above
[/bg_collapse]
Q3)Heroku apps that handle callouts from Salesforce can be written in:
I)Node.js / JavaScript
II)Java, Scala, Clojure
III)Python
IV)PHP
V)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
V)All of the above
[/bg_collapse]
#6.Use Heroku to Run Salesforce Canvas Apps
Q1)Canvas apps can authenticate a user with:
I)Username and password
II)OAuth
III)Signed request
IV)Either OAuth or signed request
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)Either OAuth or signed request
[/bg_collapse]
Q2)You can build Canvas apps and run them on Heroku with of the following languages:
I)Node.js / JavaScript
II)Java, Scala, Clojure
III)Python
IV)PHP
V)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
V)All of the above
[/bg_collapse]
Q3)The best use of Canvas apps is to:
I)Display real estate photos in Salesforce for house listings
II)Render custom widgets on Chatter feeds
III)Display third-party apps in Salesforce
IV)All of the above
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
IV)All of the above
[/bg_collapse]
To know more about this article please must visit the Trailhead salesforce website.
Tags:
- Heroku vs aws,
- Click to copy keyword,
- heroku postgres,
- Click to copy keyword,
- heroku cli,
- Click to copy keyword,
- heroku pricing,
- Click to copy keyword,
- heroku deploy,
- Click to copy keyword,
- heroku alternatives,
- Click to copy keyword,
- heroku salesforce,
- Click to copy keyword,
- permalink to deploying,
- Click to copy keyword,
- security with your jhipster registry,
- Click to copy keyword,
- updating your deployed application,
- Click to copy keyword,
- jhipster registry on heroku,
- Click to copy keyword,
- app using heroku and github,
- Click to copy keyword,
- deploying your application,
- Click to copy keyword,
- deploying docker to heroku,
- Click to copy keyword,
- changing the java version,
- Click to copy keyword,
- running the subgenerator,
- Click to copy keyword,
- backend app using heroku,