Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Pass the Salesforce Developers MCE-Dev-201 Questions and answers with CertsForce

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

A developer needs to display a value which hasbeen calculated using an AMPscript block. This value is stored in the variable named 'Label'.

Which two ways should the developer display this value in the body of an email? Choose 2 answers

Options:

A.

%%-v(@Label) -%%


B.


C.

%%@Label%%


D.

%%(Write (@Label1) 1%%


Expert Solution
Questions # 22:

A developer receives a 401 Unathorized HTTP status message from a REST API request. What is the reason for this error?

Options:

A.

The account lacks theprivileges necessary to perform the request


B.

The access token was not found in the request, or it is invalid or expired


C.

OAuth is not supported for the requested resource


D.

API requests are temporarily blocked due to too many concurrent requests.


Expert Solution
Questions # 23:

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?

Options:

A.

< !- This is a comment


B.

// This is acomment


C.

-- This is a comment


D.

/" This is a comment */


Expert Solution
Questions # 24:

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?

Options:

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]%%


Expert Solution
Questions # 25:

A developer is creating a custom preference center and wants to log unsubscribeevents from the CloudPage. Which set of parameters should be captured and provided to the LongUnsubEvent Execute Call to ensure accurate unsubscribe information?

Options:

A.

SubscriberKey and JobID


B.

SubscriberID and BatchID


C.

EmailAddress and JobID


D.

SubscriberKey and BatchID


Expert Solution
Questions # 26:

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.

Options:

A.

ContactID


B.

Email address


C.

Subscriber ID


D.

Unique random number


Expert Solution
Questions # 27:

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

Options:

A.

6,961


B.

6.96


C.

$6.96


D.

6.96


Expert Solution
Questions # 28:

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?

Options:

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) ] %%


Expert Solution
Questions # 29:

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

Options:

A.

CASE, ISDATE, CONVERT


B.

WHERE, ISDATE, CONVERT


C.

CASE, ISDATE, CAST


D.

UPDATE, ISDATE, CONVERT


Expert Solution
Questions # 30:

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

Options:

A.

--comment


B.

// comment


C.

- comment -->


D.

/* comment */


Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions