Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Salesforce Marketing-Cloud-Developer Salesforce Certified Marketing Cloud Developer (SP23) Exam Practice Test

Salesforce Certified Marketing Cloud Developer (SP23) Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

A developer wants to trigger an SMS message to a subscriber using a form published on CloudPages. How should the SMS message be triggered once the subscriber submits the form?

Options:

A.

Outbound SMS template and Automation Send Method

B.

InsertData AMPscript function to add the subscriber to a MobileConnect list

C.

CreateSMSConservation AMPscript function

D.

requestToken and messageContact REST API objects

Question 2

Where can the SSJS Core library be used? Choose 2.

Options:

A.

SMS messages

B.

Marketing Cloud apps

C.

Landing pages

D.

Email messages

Question 3

A developer needs to import a file nightly that will be used for multiple SQL Query Activities. The file could arrive any time between 2 a.m. and 5 a.m., and one of the requirements is that there is a unique file name for each import, rather than overwriting the file on the FTP site.

Which action should be configured?

Options:

A.

File Drop Automation

B.

Scheduled Automation

C.

Dynamic File Import

Question 4

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?

Options:

A.

Query Activity > Tracking Extract

B.

Data Views Extract > Filter Activity

C.

Filter Activity > Data Extension Extract

D.

Query Activity > Data Extension Extract

Question 5

A developer is building an integration with the Marketing Cloud API. In which two ways should the Client ID and Client Secret credentials be stored? Choose 2

Options:

A.

Set credentials as environment variables in the application platform

B.

Pass credentials in URL parameters over HTTPS

C.

Set credentials as variables in application source code

D.

Storecredentials in a key management system (KMS)

Question 6

Which of the following statements are correct concerning Contacts and Subscribers? Choose 2.

Options:

A.

A Contact is subscribed to any channel.

B.

Each Contact is also a Subscriber.

C.

Each Subscriber is also a Contact.

D.

A Contact is subscribed to a specific channel.

Question 7

A developer needs to determine why a Query Activity in an Automation has failed.

Which three scenarios could have caused this? Choose 3 answers

Options:

A.

The query takes more than 60 minutes to run.

B.

The query is returning more than one million rows.

C.

The query results in duplicate rows not allowed by the primary key.

D.

The query is not returning a value for a non-nullable field.

E.

The query is inserting a value that is larger than the size of a field.

Question 8

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."?

Options:

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

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?

Options:

A.

< !- This is a comment

B.

// This is acomment

C.

-- This is a comment

D.

/" This is a comment */

Question 10

A developer receives a request to integrate Marketing Cloud with a lead capture tool. The lead capture toolwill call the Marketing Cloud API to create a data extension every time a new lead form is published. The created data extension's name should match the name of the form exactly.

Which API feature could the developer use to dynamically create these data extensions?

Options:

A.

SOAP API using Create Method and the DataExtension Object

B.

REST API using POST on the /interaction/v1/EventDefinitions endpoint with Schema populated

C.

REST API using POST on the /data/v1/customobjectdata/ endpoint

D.

Creating the data extension using API is not possible

Question 11

A developer uses the messageDefinitionSends REST API endpoint to send a triggered send email. This method returns a 202 (success) response code. How could the developer validate if the email was successfully sent?

Options:

A.

Use the messageDefinitionSend/key:(key)/deliveryRecords REST endpoint with GET method

B.

The202 response code indicates the message was sent successfully; no further action is required.

C.

Use the validateEmail REST resource with POST method to obtain the email delivery details from the request.

D.

Confirm the record was successfully inserted into the associated Triggered Send Data Extension.

Question 12

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

Options:

A.

AMPscript only

B.

Both

C.

Either AMPscript or SSJS

D.

SSJS only

Question 13

A developer wants to add an image to Content Builder via the API and retrieve the image's published URL. Which method should the developer use?

Options:

A.

GET using the REST API/asset/v1/content/assets and parse the FileProperties parameter

B.

Use the SOAP API to create a Porfoglio object and idenfity the Source property

C.

POST to the REST API/asset/v1/content/categories and parse the Description parameter

D.

POST to the REST API/asset/v1/content/assets and parse the FileProperties parameter

Question 14

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

How shouldthis request be completed?

Options:

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

Question 15

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.

Options:

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

Question 16

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?

Options:

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

Question 17

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

Options:

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.

Question 18

A company needs to retrieve a large number of rows from a data extension via the API.

Which two solutions would optimize the performance?

Choose 2 answers

Options:

A.

Use the REST API instead of the SOAP API.

B.

Use the AMPscript API functions on a CloudPage.

C.

Use the ContinueRequest feature.

D.

Use a SimpleFilterPart to retrieve small sets of relevant data.

Question 19

How many month of data can a developer query from the tracking data views (_Sent, _Open, _Click)?

Options:

A.

Six Months

B.

One Month

C.

12 Months

D.

There is no limit

Question 20

A developer built a complex dynamic email with many data variants. Rather than create test data manually, they want to use a subset of live data to validate the dynamic aspects of the email.

Which SQL function should be used to collect a representative sample from a larger data set?

Options:

A.

HAVING

B.

OVER

C.

NTILE

Question 21

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?

Options:

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

Question 22

A developer wants to build an audience by identifying subscribers who opened a specific email. Which query should the developer use?

Options:

A.

SELECT * FROM _Open WHERE ListID = '1234'

B.

SELECT * FROM_Open WHERE JobID = "1234"

C.

SELECT SubscriberID FROM _Open WHERE JobID = "1234"

D.

SELECT SubscriberKey FROM _Open WHERE JobID = '1234'

Question 23

Which statements are trueregarding the Marketing Cloud SOAP API? Choose 2.

Options:

A.

More than 2000 SOAP calls can be performed per minute.

B.

Most SOAP calls can be synchronous or asynchronous.

C.

Uses XML in request and response body.

D.

Uses JSON in request and response body.

Question 24

Which two ways would a developer write an Exclusion Script to exclude sending an email at send time when comparing against a Boolean field in the Sendable Data Extension?

Choose 2 answers

Options:

A.

%%SendBoo1%%

B.

%%SendBoo1 < 1

C.

%%=Lookup ('Excluded' , SendBoo1'. Subscribekey'. _Subscribekey) =%%

D.

%%=Lookup ('Excluded’ , SendBoo1'. _Subscribekey'. _Subscribekey) =%%

Question 25

A developer wantsto implement a newsletter registration from on NTO's website. Prior to form submission, an email address provided by the visitor should be validated. Which option could be used to support this scenario?

Options:

A.

REST API, /address/v1/validateEmail route

B.

SOAPAPI, Perform method with ValidationAction object

C.

SOAP API, Describe method with EmailAddress object

D.

REST API, /messaging/v1/domainverification route

Question 26

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

Options:

A.

Use the DataExtensionObject SOAP object

B.

Use the /hub/vl/aataevents REST route

C.

Use the DataExtension SOAP object

D.

Upload a file to the Enhanced SFTP for import

Question 27

What is the operational order of the Contact Delete process for Marketing Cloud?

Options:

A.

Delete initiated > Suppression phase > Final Deletion

B.

Delete initiated > Final deletion

C.

Delete initiated > Final deletion >Suppression phase

D.

Data identified > Suppression phase > Delete initiated > Account page

Question 28

A developer wants to create a complex dynamic email with three different sections and four different possible content blocks In each section. The email will be sent to an audience of over one million contacts.

Which best practice should the developer use to ensure a blank email will not be sent?

Options:

A.

Send a test of every possible version using Test Send

B.

Review every possible version using Subscriber Preview

C.

Create separate emails for each version

D.

Confirm every version has default content

Question 29

What is the purpose of the IF statement below?

Options:

A.

To handle when no row is returned by the LookupRows function

B.

To handle when the subscriber is in a held status

C.

To handle when images are broken

D.

To handle when there are multiple records in the data extension for the subscriber

Question 30

A developer, who is new to Marketing Cloud, needs to design a landing page for a new customer. They choose to use Server-Side JavaScript (SSJS) due to their extensive knowledge of JavaScript from previous projects.

Which two features would the developer be able to leverage in their Server-Side code? Choose 2 answers

Options:

A.

Wrapping of AMPscript inSSJS code

B.

Direct modification of the DOM

C.

External Libraries to extend functionality

D.

Include Try/Catch blocks within the code

Question 31

A developer needs to create a fully-branded CloudPagewhich includes images hosted in Content Builder. The developer wants to secure the page and its elements using the SSL protocol.

What is the minimum number of SSL certificates required?

Options:

A.

Three

B.

Two

C.

None

D.

One

Question 32

A developer is experiencing timeouts when testing a SQL Query Activity in Automation Studio. How should the developer optimize the query?

Options:

A.

Configure a longer timeout period within Administration in Automation Studio.

B.

Use intermediate tables to break queries into smaller parts.

C.

Ensure all SQL Query Activities are in the same step in the automation.

D.

Limit joins to the INNER JOIN within all SQL Query Activities.

Question 33

A developer is building an integration with theMarketing Cloud API. Which configuration should be used for the API integration component in the associated Installed Package?

Options:

A.

Select the minimum required scope for the integration

B.

Select all available options to enable package reuse for the futureintegrations

C.

Select the 'Require Secret for Web Flor' option

D.

Select the 'Admin-approved users are pre-authorized' option under Permitted Users.

Question 34

NTO uses data extensions to manage the subscriber information usedfor their email sends, and those sends includes calls to update records with new or different subscriber information. The developer handling these records writes some AMPscript to check and see if the data extension containing those records updated usingan InsertDE() call if the record doesn't yet exist. Why would the developer receive an error stating the application cannot insert a duplicate value for the primary key in the data extension?

Options:

A.

The InsertDE function will always insert two rows into a data extension as part of the call

B.

The InsertDE function cannot be used with name and value pairs

C.

The InsertDE function comes after the system added the row as part of the email send

D.

The InsertDE function cannot be used at send time

Question 35

A developer wants to populate a data extension with the date of the most recent click for each subscriber. Which query would accomplish this?

Options:

A.

SELECT TOP 1 c.SubscriberKey, c.eventDate FROM _Click c ORDER BY c.eventDate DESC

B.

SELECT c.SubscriberKey, MIN (c.eventDate) AS eventDate FROM _Click c GROUP BY c.SubscriberKey

C.

SELECT c.SubscriberKey, MAX(c.eventDate) AS eventDate FROM _Click c GROUP BY c.SubscriberKey

D.

SELECT c.SubscriberKey, c.eventDate FROM_Click c WHERE c.IsUnique = 1

Question 36

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?

Options:

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

Question 37

Northern Trail Outfitters has created subscriber attributes including AGE underProfile Manager within their Enterprise 2.0 account.

How would a developer retrieve subscribers over 30 years of age?

Options:

A.

The data cannot be retrieved with a query

B.

Create a filtered Group of subscribers with AGE more than 30

C.

Create a query thatreferences the _Subscribers data view

D.

Create a query that references the _EnterpriseAttribute data view

Question 38

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

Question 39

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

Question 40

Northern Trail Outfitters (NTO) uses a numeric identifier for Subscriber Key. Customer data is stored in a data extension with the Subscriber Key set as a Primary Key.

Which step is required for NTO when creating relationships for this data extension in Data Designer'

Options:

A.

Link the Contact ID to the Subscriber Key when creating the relationship

B.

Use a one-to-one cardinality when creating the relationship

C.

Link the Contact Key to the Subscriber's email address when creating the relationship

D.

Set Subscriber Key as a text data type before linking the data extension to Contact Key

Question 41

A developer created an email using the fasubjectLine variable as the subject line. Due to revisions, the developer declared <>subjectLine in multiple locations throughout the email, including:

Which subject line will be used at the time of deployment?

Options:

A.

Enjoy 10% off today

B.

Enjoy 15% off today

C.

Enjoy 20% off today

Question 42

NTO wants use Personally Identifiable Information (PII) data to personalize email communications, but does not want to store PII data in Marketing Cloud. Which feature could they use topersonalize emails from an external data source?

Options:

A.

External Objects

B.

Tokenized Sending

C.

Salesforce Shield

D.

Single Sign-On

Question 43

A developer is querying data from the _Bounce data view and storing it in a data extension. They have found that sometimes the fields SMTPBounceReason and SMTPCode exceed the 4000-character limits for each field as specified in the DE schema. After consulting with the original requestor, it was decided that they could simply store the first 4000 characters for each of those fields.

Which SQL function could be used for this purpose?

Options:

A.

RIGHT

B.

FIRST

C.

LEFT

Question 44

Certification Aid wants to add new customers to a cross-channel welcome campaign when they register on the company website. Which API should be used for this? Choose 1.

Options:

A.

Personalization Builder API

B.

Event Notification API

C.

Transactional Messaging API

D.

Journey Builder API

Question 45

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

Options:

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

Question 46

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 usedto send the email? Choose 2 answers

Options:

A.

SET @firstName = [First Name]

B.

SET @firstName = %%First Name%%

C.

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

D.

SET @firstName = ''First Name'']

Question 47

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?

Options:

A.

LookupRowCount

B.

DataExtensionRowCount

C.

RowCount

Question 48

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.

Options:

A.

%%Month%%%%Day%%

B.

%%MMDD%%

C.

Ends With operator

D.

Begins With operator

Question 49

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

Question 50

Certification Aid wants to add records to a Data Extension using the SOAP API. Which object can be used for this? Choose 1.

Options:

A.

DataExtensionObject object

B.

Subscriber object

C.

Attribute object

D.

DataExtension object

Question 51

An email requires custom AMPscript to append the subscriber's zip code to a link in theemail. A field name zipcode already exist in the sending data extension. Its important Marketing Cloud tracks subscribers who click on the link. Which two AMPscript functions should be used in the setup? Choose

Options:

A.

2Lookup

B.

Contact

C.

RedirectTo

D.

HTTPGet

Question 52

NTO puts the word TEST at the beginning of the namefor each test email. Which query would return the subs who were sent those emails?

Options:

A.

SELECT * FROM _Job J INNER JOIN _Sent S on J.EmailName LIKE 'TEST%'

B.

SELECT * FROM _Job INNER JOIN _Sent on JobID = JobID WHERE EmailName LIKE 'TEST%'

C.

SELECT * FROM_Job J INNER JOIN _Sent S ON.JobID = S.JobID WHERE J.EmailName LIKE 'TEST%'

D.

SELECT * FROM _Job J INNER JOIN _Sent S on J.JobID = JobID = S.JobID WHERE J.EmailName = 'TEST%'

Question 53

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?

Options:

A.

ListSubscribers

B.

ENT._Subscribers

C.

_BusinessUnitUnsubscribes

D.

.Subscribers

Question 54

A marketer is planning a weekly promotionalsend.

Which two types of data extensions could be sent to?

Choose 2 answers

Options:

A.

Synchronized Data Extension

B.

Sendable Data Extension

C.

Salesforce Data Extension

D.

Send Log Data Extension

Question 55

A developer wants to include an AMPscript if/else statement in an email to satisfy the condition "if the subscriber's tier is not premier then display heading encouraging them to upgrade." The tier value has already been set as variable named @level. How should the developer write this AMPscript conditional statement?

Options:

A.

%%[IF @level == 'premier' THEN SET @message = You are premier member

B.

" ENDIF IF @level == 'premier' THEN SET @message = 'Upgrade to premier now

C.

'" ENDIF]%% %%=v(message)=%%%%=IF(@level IS 'premier', Upgrade to premier now! You are a premier member%%=IIF(@level = 'premier', 'You are a premier member!', Upgrade to premier now!

D.

%%=IIF @level == premier, You are a premier member" Upgrade to premier now!

E.

%%IF(@level == 'premier') THEN 'Upgrade to premier now!' ELSE 'You are a premier member' ENDIF]%%

Question 56

Northtrn Trail Outfitters (NTO) wants to import a data file. It will be uploaded at regular intervals to their Enhanced FTP Account where an automation will import the file Into a data extension. NTO requires the file to be encrypted.

Which two file encryption options are supported when importing data files to Marketing Cloud?

Choose 2 answers

Options:

A.

PGP encryption

B.

RSA encryption

C.

GPG encryption

D.

AES encryption

Question 57

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

Options:

A.

mobilenumbers

B.

phonenumbers

C.

emailaddress

D.

subscribers

Question 58

Certification Aid wants to import an encrypted CSV file from the Marketing Cloud Enhanced FTP server. Which two File Transfer activities are needed to achieve this? Choose 2.

Options:

A.

To decryptthe import file on the Enhanced FTP server.

B.

To move the import file from the Safehouse to Marketing Cloud.

C.

To decrypt the import file on the Safehouse.

D.

To move the import file from the Enhanced FTP server to the Safehouse