#1.Get to Know the Salesforce Lightning Platform APIs
Q.1)The API-first approach to development at Salesforce lets customers:
I)Extend functionality across Salesforce features
ii)Choose the API that’s best suited to their needs
iii)Build apps for the AppExchange
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]
Q.2)REST API is best suited for which of these use cases?
i)Loading lots of data into your org for the first time
ii)Writing a mobile or web app
iii)Deleting 100,000 records at once
iv)Pushing notifications whenever data is changed
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
ii)Writing a mobile or web app
[/bg_collapse]
Q.3)SOAP API is best suited for which of these use cases?
i)Building a server-to-server integration
ii)Writing an app that requires using JSON
iii)Updating thousands of records at once
iv)Building a slick UI for a mobile app
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
i)Building a server-to-server integration
[/bg_collapse]
Q.4)Bulk API is best suited for which of these use cases?
i)Deleting several records, one record at a time
ii)Writing a mobile chat app
iii)Building a new Salesforce UI
iv)Deleting 100,000 records at once
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
iv)Deleting 100,000 records at once
[/bg_collapse]
Q.5)Streaming API is best suited for which of these use cases?
i)Notifying users whenever a record is deleted
ii)Creating hundreds of account records at once
iii)Writing an app where the use of XML is required
iv)Using a WSDL file to specify the operations allowed on standard and custom objects
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
i)Notifying users whenever a record is deleted
[/bg_collapse]
Q.6)What are all the factors that contribute to the total API limit calculation?
i)Org edition and API usage over the previous month
ii)Org edition, license type, and expansion packs
iii)License type and expansion packs
iv)Number of Salesforce employees swabbing the deck
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
ii)Org edition, license type, and expansion packs
[/bg_collapse]
#2.Use REST API
#3.use soap api
#4.use bulk api
#5.Use Streaming API
Q.1)Streaming API’s push paradigm lets you:
I)Create more records in a single API call
ii)Use SOSL to listen for event notifications
iii)Avoid making unnecessary API requests by listening for notifications rather than polling for data
iv)Write code from the crow’s nest of a pirate ship
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
iii)Avoid making unnecessary API requests by listening for notifications rather than polling for data
[/bg_collapse]
Q.2)What is the second generation of PushTopic events?
i)Platform events
ii)Generic streaming events
iii)Change data capture events
iv)The event bus
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
ii)Generic streaming events
[/bg_collapse]
Q.3)Which replay option specifies that the subscriber receives event notifications with replay IDs 6, 7, 8, and 9?
i)6
ii)5
iii)-2
iv)-1
[bg_collapse view=”button-orange” color=”#4a4949″ expand_text=”Show Answers” collapse_text=”Close Answer” ]
ii)5
[/bg_collapse]