Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Salesforce > Developers > MCE-Dev-201

MCE-Dev-201 Salesforce Certified Marketing Cloud Engagement Developer Question and Answers

Question # 4

A developer wants to create an HTML table where rows will alternate background colors between white and red.The developer does not know how many rows will be sent within each email, and decides to use a loop and assigns the RowCount() of the table rows to the variable @numerator. What is the recommended AMPscript logic to determine the background color of each table row within the loop?

A.

%%[IF DIVIDE(@numerator,2) =1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF]%%

B.

%%[IF SUBSTRING(DIVIDE(@numerator,2),1) = 1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF]%%

C.

%%[IF @numerator/2 = 1 THENSET @color = 'Red' ELSE SET @color = 'White' ENDIF]%%

D.

%%[IF MOD(@numerator,2) = 1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF]%%

Full Access
Question # 5

A developer has a text field in a data extension they want to format using the FormatCurrency AMPscript function. Which two values would return $6.96? Choose 2

A.

6,961

B.

6.96

C.

$6.96

D.

6.96

Full Access
Question # 6

A developerwants to retrieve daily JSON data from a customer's API and write it to a data extension for consumption in Marketing Cloud at a later time.

What set of Server-Side JavaScript activities should the developer use?

A.

Platform.Function.InvokeRetrieve(); Platform.Function.ParseJSON(); Platform.Function.UpsertData();

B.

Platform.Function.HTTPGet(); Platform.Function.ParseJSON(); Platform.Function.UpsertData();

C.

Platform.Function.InvokeRetrievef); Platform.Function.Stringify(); Platform.Function.UpsertDE();

D.

Platform.Function.HTTPGe(); Platform.Function.Stringify(); Platform.Response.Write();

Full Access
Question # 7

NTO is reconsidering the requirement to have English, Spanish and French versions of their email campaigns. They request a developer to create a query which aggregates clicks grouped by language of the recipient. Language is stored in a Profile Attribute. Which two Data Views would be included in the query? Choose 2 answer

A.

_Subscribers

B.

_Subscribers

C.

_AllSubscribers

D.

_Click

Full Access
Question # 8

A developer needs to know how many records are contained in a particular data extension. This will dictate what is displayed on a landing page.

Which AMPscript functionreturns the number of rows in a specified data extension?

A.

LookupRowCount

B.

DataExtensionRowCount

C.

RowCount

Full Access
Question # 9

A developer wants to include a comment within an AMPscript code block for the benefit of other developers who will be reviewing the code.

Which syntax should the developer use?

A.

< !- This is a comment

B.

// This is acomment

C.

-- This is a comment

D.

/" This is a comment */

Full Access
Question # 10

A developer is troubleshooting the cause of incomplete results in the link tracking data for an email send.

How should the RedirectTo AMPscript function be described as it relates to link tracking'

A.

It ensures link href values containing AMPscript variables are recorded in tracking

B.

It ensures link href values containing HTML bookmarks or anchors are recorded in tracking

C.

It prevents link href values from getting recordedin tracking

D.

It ensures static link href values are recorded in tracking

Full Access
Question # 11

A developer is implementing a custom profile center and using the LogUnsubEvent request. Which parameter is required for the event to be tied to the appropriate send?

A.

JobID

B.

ListID

C.

Unsub Reason

D.

SubscriberKey

Full Access
Question # 12

Certification Aid wants to create a file drop automation with a filename pattern. An import file is placed daily on the Marketing Cloud Enhanced FTP server, and thefile name always starts with the current month and day (e.g. OCT26). How should the filename pattern be defined? Choose 2.

A.

%%Month%%%%Day%%

B.

%%MMDD%%

C.

Ends With operator

D.

Begins With operator

Full Access
Question # 13

A developer want to email a subscriber who is currently being processed for a Contact Deletion request. When could the Contact be reintroduced after a Contact Delete operation has started?

A.

Never

B.

14 days after deletion process is complete

C.

After deletion is fully complete

D.

Anytime

Full Access
Question # 14

A developer wants to upload a base64-encoded file to Content Builder using an API Installed Package but receives an insufficient Privileges error. What should the developer check to troubleshoot the error?

A.

Validate Client Id and Client Secret are correct

B.

Verify the Asset Type Id matches the Asset Type Name

C.

Confirm the REST Base URI uses the correct subdomain

D.

Confirm the Component's Channel options are available

Full Access
Question # 15

A developer created anemail with AMPscript variable as the subject line. The subject line variable was recently updated, but when testing the email, the wrong subject line continues to appear in the inbox. The developer thinks another, outdated, subject line variable is declared within the email. Where could the outdated variable be located?

A.

In the HTML body which is processed after the Text body

B.

In the Text body which is processed after the subject line

C.

In the Text body which is processed after the HTML body

D.

In theHTML body which is processed after the subject line

Full Access
Question # 16

Northtrn Trail Outfitters has set up their North American business unit to unsubscribe at the business unit level.

Which dataview would they query to identify all subscribers who are unsubscribed from that Business Unit?

A.

ListSubscribers

B.

ENT._Subscribers

C.

_BusinessUnitUnsubscribes

D.

.Subscribers

Full Access
Question # 17

A developer wants to aggregate monthly energy usage data over a four month period for each subscriber within an email. The monthly usage values are stored in variables for eachmonth in the following way:

How should the developer use AMPscript to generate the total?

A.

SET @total - (@jan - 3fet - @mar @apr>

B.

SET @total = AZD((@jan @feb) @mar) @apr)

C.

SET @total - ADD(@jan,ADD(@feb,ADD(@mar,@apr)))

D.

SET @total = (ADD(@jan,@feb), ADD(@mar, @apr))

Full Access
Question # 18

A developer is notified the View Email As Web Page (VAWP) link, when clicked, displays the message, The system is temporarily unavailable. We apologize for any inconvenience. Please try again later.

What could be a possible cause for the error

A.

The data in the data extensions used at the time of send was overwritten.

B.

The email used at the time of send was deleted, updated, or moved.

C.

The sender profile used at the time of send was overwritten.

D.

The data extension used at the time of send was moved to another folder.

Full Access
Question # 19

Certification Aid sends an email to a newly imported List with Subscribers who have no associated Subscriber Key. Which value will become the Contact Key? Choose 1.

A.

ContactID

B.

Email address

C.

Subscriber ID

D.

Unique random number

Full Access
Question # 20

Northern Trails Outfitters is using REST API to send emails to customers after a purchase.

Which considerations should be taken regarding the token used in the API Call?

A.

Make a token API call and re-use the token until the next API call fails.

B.

Make a token API call before each triggered send API call.

C.

Make a token API call and re-use the token for that subscriber.

D.

Make a token API call and re-use the token until the token expires.

Full Access
Question # 21

Why woulda developer use LookupRows Instead of the Lookup AMPscript function?

A.

To return a complete rowset from the data extension

B.

To stay at the limit of two Lookup calls in one email

C.

To see how many rows are In a data extension

D.

To access a data extension, as Lookup only targets lists

Full Access
Question # 22

A customer wants a list of subscribers who were sent an email within the past 12 months.

How shouldthis request be completed?

A.

Create a measure with criteria sent_date is after today minus 565 days

B.

Run a tracking extract via the SOAP API

C.

Query against the Job and Sent data views

D.

Locate the email sends in the Tracking tab within Email Studio

Full Access
Question # 23

A developer wants to use the RaiseError Ampscript function when a subscriber does not have the necessary data to build an email. Which two outcomes are possible using this function? Choose 2 answer

A.

The send fails

B.

The email is not sent to the particular subscriber

C.

An error message is sent to the From Address used in the email

D.

The send is retried

Full Access
Question # 24

How can subscriber, system, and sendable Data Extension attributes be referenced for content personalization using SSJS? Choose 1.

A.

B.

C.

D.

Full Access
Question # 25

A developer wants to create a JavaScript Web Token using a key from Key Management.

What function should the developer use?

A.

ContentBlockByKey()

B.

GetJWTByKeyName()

C.

RegExMatch()

D.

GeUWT()

Full Access
Question # 26

A developer needs to find all subscribers on the Customers data extension who made a purchase in the last 30 days. Purchase data is on the Orders data extension which contains a columncalled 'PurchaseDate'. Contacts are identified in both data extensions by a column called 'ContactKey', and the Orders data extension can contain many instances of the same subscnber.

Which SQL keyword should the developer use to achieve the desired result?

A.

INNER JOIN

B.

OUTER JOIN

C.

ORDER BY PurchaseDate ASC

Full Access
Question # 27

A developer receives Error Code 5 when performing a SOAP API call. The error states: "Cannot Perform 'Post' on objects of type 'SentEvent'".

What could be the issue?

A.

SOAP does not support POST; useREST

B.

The authentication token has expired.

C.

It may be a temporary network issue.

D.

'SentEvent' is not able to be updated using SOAP.

Full Access
Question # 28

A developer wants to expand their knowledge of Query Activities. They want to identify email addresses that have bounced in the last 30 days, along with the Bounce Reason and some additional subscriber specificdata; however, the SQL they have written does not return any records. Below is the SQL statement:

What updates should be made to ensure this SQL statement returns the desired results?

A.

Marketing Cloud does not allow DateAdd functions in QueryActivities. They should define a specific date.

B.

Marketing Cloud _Bounce data view does not contain EmailAddress. They should join on SubscriberlD.

C.

Marketing Cloud Data Views only hold 20 days worth of data. They should narrow scope of DateAdd function.

D.

Marketing Cloud does not allow use of GETDATE function. They should define a specific date.

Full Access
Question # 29

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

A.

Import definition to the necessary data extension

B.

File transfer activity to the Import directory for decryption

C.

File drop to the SFTP Root directory

D.

File drop to the SFTP Import directory

E.

File transfer activity to the Safehouse for decryption

Full Access
Question # 30

Certification Aid wants to automate the import of zipped files into a Data Extension. The zip files are placed on the Marketing Cloud Enhanced FTP server every night. Which activity is needed before those files can be imported? Choose 1.

A.

File Import activity

B.

Data Extract activity

C.

Data Extension Import activity

D.

File Transfer activity

Full Access
Question # 31

Which programming language should be used in email messages? Choose 1.

A.

AMPscript only

B.

Both

C.

Either AMPscript or SSJS

D.

SSJS only

Full Access
Question # 32

Northern Trail Outfitters is using a mobile campaign to collect email addresses of interested subscribers. Using AMPScript'sAPI functions they will send a confirmation email when an email is texted into their short code.

Which two objects are required to successfully create a TriggeredSend object? Choose 2 answers

A.

Subscribers

B.

TriggeredSendDefinition

C.

Attribute

D.

Contact

Full Access
Question # 33

A developer is using the REST Authorization Service to obtain an OAuth access token. Which method should be used to include the access token in the API requests

A.

Include the header x-access-token: your_access_token

B.

Include as a query parameter access_token=Y0UR_ACCESS_TOKEN

C.

Include the header Authorization: Basic your_access_token

D.

Include the header Authorization: Bearer YOUR ACCESS TOKEN

Full Access
Question # 34

An UpdateDE AMPscript function is used to update a column value in a data extension row when an email is sent. The emailis being sent to 250,000 subscribers, but the user decides to cancel the send during the sending process and only 400 emails are sent.

How many subscriber rows would be affected by the UpdateDE function?

A.

No rows are updated

B.

All 250,000 subscribers

C.

400 subscribers who were sent the email

D.

Only subscribers who exist in All Subscribers

Full Access
Question # 35

Northern Trail Outfitters' account is configured with two child BU(s): US and Global. The account has a dataextension In the Shared Data Extensions folder named 'MemberData'. This data extension contains basic address information, as well as Boolean fields labeled 'US' and 'Global' indicating to which business unit the subscriber belongs. Automation needs to becreated in the US business unit to query all records in New York who are members of the business unit US.

SELECT * FROM MemberData WHERE State = 'NY' AND US = 1

What would cause this query to report the following error: "An error occurred while checking the query syntax. Errors: MemberData is not a known data extension or system data view. You can only query existing data extensions or system data views."?

A.

Incorrect syntax; Query Activities are written in SOQL

B.

MemberData should be prefixed with ENT

C.

Query should check for a US value of True'

D.

Query Activities cannot use the " wildcard

Full Access
Question # 36

When do synchronous REST API calls to Marketing Cloudtime out? Choose 2.

A.

240 seconds for tracking and data retrieve operations.

B.

300 seconds for tracking and data retrieve operations.

C.

120 seconds for non-tracking operations.

D.

240 seconds for non-tracking operations.

Full Access
Question # 37

Certification Aid created following AMPscript code: %%[ SET @var1 = 10 SET @var2 = 20 SET @var3 = 30 ]%% How can the three variables be summed up to evaluate to 60? Choose 1.

A.

SET @total = Sum(@var1, @var2, @var3)

B.

SET @total = Add(@var1, Add(@var2, @var3))

C.

SET @total = Add(@var1, @var2, @var3)

D.

SET @total = @var1 + @var2 + @var3

Full Access
Question # 38

Certification Aid created a journey and event definition in Marketing Cloud. Which of the following resources are relevant to inject Contacts into the journey using the REST API? Choose 2.

A.

POST/eventDefinitions/key:{key} or /eventDefinitions/{id}

B.

POST /interaction/v1/events

C.

POST /interaction/v1/interactions/contactentry

D.

GET /eventDefinitions/key:{key}

Full Access
Question # 39

A marketer is planning a weekly promotionalsend.

Which two types of data extensions could be sent to?

Choose 2 answers

A.

Synchronized Data Extension

B.

Sendable Data Extension

C.

Salesforce Data Extension

D.

Send Log Data Extension

Full Access
Question # 40

Clock Kicks would like to encrypt and storeform data submitted from a CloudPage in a data extension using AMPscript. Which three encryption options could be used when creating a new key in Key Management? Choose 3

A.

SAML

B.

Asymmetric

C.

RSA

D.

Salt

E.

Symmetric

Full Access
Question # 41

A marketing director at Northern Trail Outfitters wants to analyze the Send, Click, and Open Data Views. Which activities should the developer build togenerate the data before transferring it to the SFTP?

A.

Query Activity > Tracking Extract

B.

Data Views Extract > Filter Activity

C.

Filter Activity > Data Extension Extract

D.

Query Activity > Data Extension Extract

Full Access
Question # 42

A marketer is sending an email with dynamic content contained in a series of conditionals.

Which AMPscript function should be used to track the different versions of the content within the email?

A.

ContentArea

B.

BeginImpressionRegion

C.

ContentAreaByName

D.

ContentBlockName

Full Access
Question # 43

A developer wants to build an email that dynamically populates the physical address of a company's locations using the variable ©address. The deployment goes to millions of subscribers and the developer wants the fastest possible performance.

Which AMPscript solution should be recommended?

A.

%%[ SET @address = field(Lookcup("Building_Locations"/ "Address", "Id",@Id), "Address") ]%%

B.

%% [ SET @address - field(Row(LookupRows("Building_Locations", "Address","Id"), 1),"Address") ]%%

C.

%%; SET @address = LookupRows(Building_Locations", "Address", "Id") ]%%

D.

%: SET @address = Lookup(''Building_locations'', Address'', ''id''@id) ] %%

Full Access
Question # 44

A developer wants to populate a data extension with information about all emails deployed in the last seven days. The data extension needsto contain JobID, EventDate, and the counts of how many emails were sent with each JobID.

Which data view is required to gather this information?

A.

Job

B.

Sent

C.

Journey

D.

Subscribers

Full Access
Question # 45

A developer wants to retrieve all recordsin the OrderDetails data extension which are associated with a particular customer.

Which two AMPscript functions would return a suitable rowset?

Choose 2 answers

A.

LookupRows

B.

LookupOrderedRows

C.

Row

D.

Lookup

Full Access
Question # 46

A developer is configuring a File Drop Automation and wantsto use a Filename Pattern to allow for timestamps on the file. The file name will always start with the month and day (e.g. MAY15) the file is dropped onto the SFTP site.

Which two configurations should be used for the automation to successfully start? Choose 2 answers

A.

Ends With operator

B.

%%MMMMdd%%

C.

%%Month%%%%Day%°/o

D.

Begins With operator

Full Access
Question # 47

In what order is AMPscript evaluated before an email is sent?

A.

Subject Line, HTML Body, Text Body

B.

HTML Body, Text Body, Subject Line

C.

Text Body, HTML Body, Subject Line

D.

HTML Body, Text Body, Text Body

Full Access
Question # 48

Which activity is required before a compressed file can be imported?

A.

Import File

B.

Data Extract

C.

Decompress File

D.

File Transfer

Full Access
Question # 49

Customer data has been imported into a staging data extension andneeds to be normalized before adding into the master data extension. A text field named 'birthday' contains date values in various formats. Some of the values are valid dates, but some are not.

Which SQL keywords and functions could be used to write the query'' Choose 2 answers

A.

CASE, ISDATE, CONVERT

B.

WHERE, ISDATE, CONVERT

C.

CASE, ISDATE, CAST

D.

UPDATE, ISDATE, CONVERT

Full Access
Question # 50

A doctor's office creates Populations for staff, patients and vendors. What is the maximum number of Populations that should be created to ensure performance?

A.

Five

B.

Three

C.

Unlimited

D.

One

Full Access
Question # 51

NTO is using an asynchronous SOAP API call to the TriggerSend object to send order confirmation email to their customers. Which API object and attribute should be used toretrieve the status of the API call?

A.

Result Object and EmailAddress

B.

Result Object and ConservationID

C.

ResultItem Object and OrderID

D.

ResultItem Object and RequestID

Full Access
Question # 52

A developer wants to design a custom subscription center in CloudPages. The developer prefers to code in AMPscript, but is also skilled in Server-Side JavaScript. While the developer is confident their code is of high quality, they would still like to handle unexprected errors gracefully to ensure the best user experience. Whichfeature should handle this scenario?

A.

Wrapping the code in a Server-Side JavaScript Try/Catch block

B.

Using RaiseError AMPscript function when an error occurs

C.

Marketing Cloud automatically handles any error scenario that may occur

D.

Wrapping thecode in a AMPscript HandleError block

Full Access
Question # 53

A marketer is troubleshooting why an email send's tracking information is not available in Sales Cloud. The marketer confirms MarketingCloud Connect is installed properly. What should be confirmed next to continue troubleshooting the send's tracking information?

A.

The audience was a Salesforce Data Extension containing the appropriate SFID

B.

The email was sent to the All Subscribers list

C.

The tracking destination folder was set to My Tracking

D.

The audience was built using a Triggered Send Data Extension template

Full Access
Question # 54

A developer is leveraging the SOAP API to dynamically display Profile and PreferenceAttributes in a custom profile center. Which method could be used to support the dynamic functionality?

A.

Describe

B.

Extract

C.

Perform

D.

Configure

Full Access
Question # 55

A developer needs to configure an Email Send Logging Data Extension for a new business unit. Which option should be used?

A.

Create and ensure it has the name "Send Log"

B.

Salesforce Support should create the data extension

C.

Create from a copy of an existing Send Log in another business unit

D.

Create using the SendLog Data ExtensionTemplate

Full Access
Question # 56

A developer used LookupRowsto retrieve data when building a dynamic email.

What should be the next step before using this rowset within a FOR loop?

A.

Use Row to return a specific row of the rowset

B.

Set the rowset to a new array variable

C.

Close the delimited AMPscrlpt Code Block

D.

Use RowCount to ensure the rowset contains data

Full Access
Question # 57

A developer needs to use the 'contacts/ route of the REST API to update records in a data extension.

What should the developer verify before making the API call?

A.

Each contact should alreadyexist in All Subscribers.

B.

Journey Builder should be configured to use the data extension.

C.

Contact Key should be equal to Subscriber Key in the underlying data extensions to ensure proper joining.

D.

The data extension should be linked in an AttributeGroup in Contact Builder.

Full Access
Question # 58

A developer is using the legacy endpoint www.exacttargetapis.com and hasbeen asked to switch to Tenant Specific Endpoints (TSEs). What is a benefit of switching to TSEs?

A.

A longer lasting OAuth token

B.

API calls will no longer fail

C.

Gain access to TSE-specific REST routes

D.

Improved API performance

Full Access