Salesforce Certified Marketing Cloud Engagement Developer Practice Questions

Salesforce Certified Marketing Cloud Engagement Developer exam preparation

Salesforce Certified Marketing Cloud Engagement Developer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 105 minutes.

Salesforce Certified Marketing Cloud Engagement Developer free question 10 / 10 · Domain 5: Security

A developer wants a value in a custom data extension to be stored encrypted with a key created in Key Management, and to read it back in a message. Which AMPscript functions does the documentation name?

  1. EncryptSymmetric() and DecryptSymmetric()
  2. EncryptAsymmetric() and DecryptAsymmetric()
  3. UpsertDE() and RetrieveSalesforceObjects()
  4. Lookup() and LookupRows()
Show the answer and explanation

Answer: A

Why this is correct
The page walks through three steps: create the necessary keys, create the information in the data extension, and include the AMPscript that does the encryption. The functions are EncryptSymmetric() and DecryptSymmetric(), which can take either values supplied in the call or the external keys of the keys that were created.

Why the other options are wrong
"EncryptAsymmetric() and DecryptAsymmetric()" … The page names EncryptSymmetric() and DecryptSymmetric() as the AMPscript that is needed.
"Lookup() and LookupRows()" … Lookup functions read data from a data extension. The page names EncryptSymmetric() and DecryptSymmetric() for encrypting and decrypting.
"UpsertDE() and RetrieveSalesforceObjects()" … UpsertDE() writes rows and the other function reads Salesforce objects. Neither encrypts a value with a key from Key Management.

Key point
Encrypt and decrypt in AMPscript: EncryptSymmetric() and DecryptSymmetric().

Go to the Salesforce Certified Marketing Cloud Engagement Developer practice app (10 free questions; purchase unlocks all questions)

See the full practice set