Salesforce Certified Marketing Cloud Engagement Developer MCE-Dev-201 Exam Questions

Page: 1 / 14
Total 196 questions
Question 1

NTO uses an external CRM which only exports encrypted files. NTO's marketing manager team wants to use some of the subscriber data found in the CRM for future marketing sends. Which three actions should be included in an automation given these requirements? Choose 3



Answer : A, D, E

To automate the process of importing encrypted files from an external CRM, the following actions should be included:

File drop to the SFTP Import directory: Place the encrypted files in the SFTP Import directory to trigger the automation.

File transfer activity to the Safehouse for decryption: Move the encrypted files to the Safehouse for decryption, ensuring the data is securely handled.

Import definition to the necessary data extension: After decryption, import the data into the relevant Data Extension for use in marketing sends.

:

Salesforce File Drop Automations

Salesforce File Transfer Activity

Salesforce Import Activity


Question 2

Which of the followingis a valid comment within an AMPscript code block? Choose 1.



Answer : D

In AMPscript, the valid syntax for comments is /* comment */. This allows you to add comments within your AMPscript code for documentation or clarification purposes.

: Salesforce AMPscript Syntax Guide


Question 3

What parameter should a developer include to ensure the MobileConnectContact is tied to the Email Contact when making a QueueMO call for an existing email subscriber?



Answer : C

To ensure the MobileConnect Contact is tied to the Email Contact when making a QueueMO call for an existing email subscriber, the parameter to include is emailaddress. This ensures that the MobileConnect Contact is correctly linked to the existing Email Contact.


Salesforce Marketing Cloud MobileConnect API

AMPscript and MobileConnect

Question 4

A developer uses an API to send data to a Marketing Cloud data extension once every fiveminutes using the REST API. They notice data does not always write to the data extension, leading to data loss.

Which three best practices are recommended to avoid this issue? Choose 3 answers



Answer : A, C, E

To avoid data loss and ensure reliable data transfer to Marketing Cloud data extensions, follow these best practices:

Handle 'Not Authorized' Errors: If a 'Not Authorized' error occurs, it is likely due to an expired or invalid access token. Request a new access token and retry the API call.

Retry on Server Errors: If a server error occurs, it might be a temporary issue. Ensure the server is available and retry the call.

Token Expiry Management: Store the expiry time of the access token and request a new one before the old token expires to prevent authorization issues.

: Salesforce Marketing Cloud API Best Practices


Question 5

A developer needs to push real-time updates of the company's product catalog to a data extension.

Which two API options are available? Choose 2 answers



Answer : A, C

For pushing real-time updates to a data extension, the following API options are available:

Use the DataExtensionObject SOAP object (A) - This object allows you to perform various operations such as insert, update, and delete on data extensions through SOAP API calls.

Use the DataExtension SOAP object (C) - Similar to DataExtensionObject, this object provides capabilities to manage data extensions and their records via SOAP API.

These APIs allow for real-time interaction with data extensions, making them suitable for updating the product catalog.


Salesforce Marketing Cloud SOAP API Developer Guide

Data Extension Objects in SOAP API

Question 6

A developer wants to create a CloudPage which is linked from an email. %%[SET @point = RequestParameter(x) SET @value = 5 IF Length(@point) > 1 THEN SET @value = 1 ELSEIF Length(@point)>2 THEN SET @value = 2 ELSEIF Length(@point) >3 THEN SET@value = 3 ELSEIF Length(@point) >4 THEN SET @value = 4 ENDIF]%% Which is the expected value of @value if x = 'Tacos'?



Answer : B

In the provided AMPscript, the IF statement checks the length of the @point variable and sets @value accordingly. Since x = 'Tacos' has a length of 5, it meets the first condition Length(@point) > 1, which sets @value to 1. Subsequent conditions are not evaluated because the first condition is already true.

AMPscript IF-ELSEIF Example:

%%[ SET @point = RequestParameter('x') SET @value = 5 IF Length(@point) > 1 THEN SET @value = 1 ELSEIF Length(@point) > 2 THEN SET @value = 2 ELSEIF Length(@point) > 3 THEN SET @value = 3 ELSEIF Length(@point) > 4 THEN SET @value = 4 ENDIF ]%%

: Salesforce AMPscript Documentation


Question 7

Certification Aid wants to include SSJS in an email message. Which code block can be used for this? Choose 2.



Answer : A, C

To include Server-Side JavaScript (SSJS) in an email message, you need to use the <script> tag with the runat='server' attribute. This ensures that the script runs on the server side before the email is sent.

<script runat=server></script>: This is a valid way to include SSJS in an email. It specifies that the enclosed code should be executed on the server.

<script runat='server'> Platform.Load('Core','1'); var rows = Platform.Function.LookupRows('DataExtensionName', 'EmailAddress', 'example@example.com'); </script>

: Salesforce SSJS Documentation

<script runat=server language=javascript></script>: This is another valid syntax. It specifies that the code within the script tag is JavaScript and should run on the server.

<script runat='server' language='javascript'> Platform.Load('Core','1'); var rows = Platform.Function.LookupRows('DataExtensionName', 'EmailAddress', 'example@example.com'); </script>


Page:    1 / 14   
Total 196 questions