Marketing-Cloud-Developer Salesforce Certified Marketing Cloud Developer (SP20)

Loading demo links...

Showing 7–9 of 10 questions

Question 7

A developer wants to set a variable to use a field from a Sendable Data Extension.

Which two options could be used in an AMPscript block to set the variable as a 'First Name" field from a Sendable Data Extension used to send the email? Choose 2 answers

Select an option, then click Submit answer.

  • SET @firstName = [First Name]

  • SET @firstName = %%First Name%%

  • SET @firstName = attributeValue (''First Name'')

  • SET @firstName = ''First Name'']

Question 8

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'?

Select an option, then click Submit answer.

  • 3

  • 1

  • 5

  • 4

Question 9

A developer needs to write AMPscript to ensure the expiration date on a coupon is the last day of the month. What would produce the desired result?

Select an option, then click Submit answer.

  • Find the first day of next month and subtract one day

  • Use the date format string for last day of month within FormatDate

  • Add one month using DateAdd to now

  • Add 30 days using DateAdd to now