exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 38 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 38
Topic #: 1
[All Certified Platform Developer II Questions]

A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company's systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants to integrate invoice data back into Salesforce so Sales Reps can see when a customer is paying their bills on time.
What is the optimal way to implement this?

  • A. Ensure Customer_Number__c is an External ID and that a custom field Invoice_Number__c is an External ID and Upsert invoice data nightly.
  • B. Query the Account Object upon each call to insert invoice data to fetch the Salesforce ID corresponding to the Customer Number on the invoice.
  • C. Create a cross-reference table in the custom invoicing system with the Salesforce Account ID of each Customer and insert invoice data nightly.
  • D. Use Salesforce Connect and external data objects to seamlessly import the invoice data into Salesforce without custom code.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
BrainMelt12
1 month, 3 weeks ago
Selected Answer: A
I see some D answer in the thread. Here is why D is not correct. Salesforce Connect is designed for accessing external data in real time without storing it in Salesforce; the company needs the data to be in Salesforce. Since Salesforce Connect only provides a read-only or real-time view, it does not meet the requirements of this scenario.
upvoted 1 times
...
doni10
6 months ago
A looks good but no need to upsert as the invoice can't be in the external system without being in salesforce as the creation is done in salesforce. And an invoice should never be deleted
upvoted 1 times
...
Ting21
2 years, 1 month ago
since the invoice__C object is already on salesforce so cannot be D. ans is A.
upvoted 3 times
...
thneeb
2 years, 3 months ago
C is the correct answer. You need the Accounts Salesforce ID to fill the lookup in the Invoice__c and that can be done by a X-reference table. But A is not wrong.
upvoted 1 times
...
levian
2 years, 7 months ago
Answer is A
upvoted 3 times
...
OmShantiVeg
2 years, 10 months ago
Ans is D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago