Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 47 Topic 5 Discussion

Salesforce Certified Platform Developer II (Plat-Dev-301) PDII Question # 47 Topic 5 Discussion

PDII Exam Topic 5 Question 47 Discussion:
Question #: 47
Topic #: 5

Consider the following code snippet:

PDII Question 47

Which two steps should the developer take to add flexibility to change the endpoint and credentials without needing to modify code?

Choose 2 answers


A.

Use req. setindpoint ('callout:endFoint_NC'); within the callout request.


B.

Store the URL of the endpoint in a custom Label named endpointuRL.


C.

Create a Named Credential, endPcint_wc, ta store the endpoint and credentials.


D.

Use red. setEndpoint (Label.endPointURL) ;.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.