Salesforce Marketing Cloud Engagement Developer Practice Questions with Explanations
Free Salesforce Marketing Cloud Engagement Developer practice questions. 44 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.
Marketing Cloud Engagement Developer practice questions
Question 1
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 AMPscript logic should be used to determine the background color of each table row within the loop?
- A. %%[ IF MOD(@numerator,2) = 1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF ]%%
- B. %%[ IF SUBSTRING(DIVIDE(@numerator,2),l) = 1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF ]%%
- C. %%[ IF @numerator/2 = 1 THEN SET @color = 'Red' ELSE SET @color = 'White' ENDIF ]%%
Show answer and explanation ▾
Correct answer: A
MOD(@numerator,2) = 1 is true on every odd row, so the color alternates between red and white.
Why the other options are wrong:
- B. SUBSTRING on a divided value does not give a clean odd or even test.
- C. Dividing by 2 equals 1 only for a single row, so it does not alternate.
Question 2
A developer is troubleshooting why an API client_id and client_secret are authenticating yet failing to access data from a child business unit.
What should be checked to validate the installed package can access the child business unit data?
- A. The account_id and parent MID are included in the authorization call
- B. The Installed Package has access to the selected child business unit
- C. The Installed Package has full Enterprise access to all available child business units
Show answer and explanation ▾
Correct answer: B
A valid token can still fail on a child business unit if the installed package was not given access to that unit.
Why the other options are wrong:
- A. Including the account ID and parent MID is not the check for package access.
- C. Full enterprise access is not required, access to the specific unit is.
Question 3
Northern Trail Outfitters wants to trigger a receipt email via the SOAP API whenever a customer makes a purchase. Their developer wrote the call using the TriggeredSendDefinition object and the Create method, but no emails have been sent during his initial testing.
Which object and method should the developer use?
- A. TriggeredSendDefinition object and Update method
- B. TriggeredSend object and Create method
- C. TriggeredSend object and Update method
Show answer and explanation ▾
Correct answer: B
A triggered send is created through the TriggeredSend object, not the definition, so TriggeredSend with Create is used.
Why the other options are wrong:
- A. Update on the definition does not send an email.
- C. Update on TriggeredSend does not create a send.
Question 4
A developer wants to use the RaiseError AMPscript function when a subscriber does not have the necessary data to build an email.
Which outcome is possible using this function?
- A. The email is not sent to the particular subscriber.
- B. An error message is sent to the From Address used in the email.
- C. The send is retried
Show answer and explanation ▾
Correct answer: A
RaiseError can stop the send for that subscriber, so the email is not sent to them.
Why the other options are wrong:
- B. It does not send an error message to the From Address.
- C. It does not retry the send.
Question 5
A developer created an email using the @subjectLine variable as the subject line. Due to revisions, the developer declared @subjectLine in multiple locations throughout the email, including: • %%[ SET @subjectLine = 'Enjoy 10% off today' ] %% was declared at the top of the HTML body • %%[ SET @subjectLine = 'Enjoy 15% off today' ]%% was declared in the top of the Text body • %%[ SET @subjectLine = 'Enjoy 5% off today' ] %% was declared at the bottom of the HTML body • %%[ SET @subjectLine = 'Enjoy 20% off today' ]%% was declared within the Subject Line Which subject line will be used at the time of deployment?
- A. Enjoy 10% off today
- B. Enjoy 20% off today
- C. Enjoy 15% off today
Show answer and explanation ▾
Correct answer: B
The SET statement inside the subject line runs as the subject line itself is built, so the value it outputs is the 20% text.
Why the other options are wrong:
- A. The 10% value is set in the HTML body; the subject line sets its own value before it is shown.
- C. The 15% value is set in the text body; the subject line sets its own value before it is shown.
Question 6
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 column called '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 subscriber.
Which SQL keyword should the developer use to achieve the desired result?
- A. OUTER JOIN
- B. INNER JOIN
- C. ORDER BY PurchaseDate ASC
Show answer and explanation ▾
Correct answer: B
An inner join on the shared contact column returns only customers that have a matching row in Orders, and a WHERE condition on PurchaseDate limits those rows to the last 30 days. Customers with no order are left out of the result.
Why the other options are wrong:
- A. An outer join also returns customers with no matching order row, which the request does not want.
- C. ORDER BY only sorts the rows of a result and does not relate Customers to Orders or filter by purchase.
Question 7
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?
- A. OVER
- B. NTILE
- C. HAVING
Show answer and explanation ▾
Correct answer: A
OVER defines the window that ranking functions such as ROW_NUMBER work across, so rows can be numbered within each data variant and a few rows taken from every variant. That gives a small sample that still covers each version of the email.
Why the other options are wrong:
- B. NTILE only assigns rows to numbered groups and cannot run without an OVER clause to define the set it works on.
- C. HAVING filters grouped results by an aggregate condition and does not select a sample of rows.
Question 8
A particular data extension needs to be configured to store six months of data.
How should data retention be added to the data extension?
- A. Update the data extension configuration.
- B. Import a file to overwrite the rows with six months of data.
- C. Run a query to overwrite the rows with six months of data.
Show answer and explanation ▾
Correct answer: A
Data retention is a setting on the data extension itself. Editing the data extension's configuration lets the developer turn retention on and set the period to six months, after which Marketing Cloud removes the older data automatically.
Why the other options are wrong:
- B. Importing a file replaces rows once and does not add a retention policy to the data extension.
- C. A query that overwrites rows has to be run again and again and does not add a retention policy to the data extension.
Question 9
Northern Trail Outfitters wants to exclude sends to specific subscribers based on a business rule, which is defined in an Exclusion Script.
Which type of send would support this functionality?
- A. Send Marketing Cloud Email in Sales or Service Cloud
- B. Automation Studio Send Email Activity
- C. Journey Builder Send SMS Activity
Show answer and explanation ▾
Correct answer: A
Sends started from Sales Cloud or Service Cloud through Marketing Cloud Connect can include an Exclusion Script, an AMPscript expression checked for each subscriber at send time. When the expression is true, that subscriber is left out of the send.
Why the other options are wrong:
- B. The Automation Studio Send Email Activity is not the send type this exclusion scenario points to.
- C. The Journey Builder SMS activity sends mobile messages and has no Exclusion Script setting.
Question 10
Which activity is required before a compressed file can be imported?
- A. Data Extract
- B. File Transfer
- C. Import File
Show answer and explanation ▾
Correct answer: B
A File Transfer Activity unzips a compressed file and places the uncompressed copy where an import can read it. The import step can then run against that file.
Why the other options are wrong:
- A. A Data Extract creates files from Marketing Cloud data and does not unzip an incoming file.
- C. Import File is the import step itself and cannot read a file that is still compressed.
Question 11
A developer needs to import a file into a data extension which contains transactional data. The file includes a column labeled Purchase_Price with values varying from '$.05' to '$100'.
What Data Type should be used to prevent loss of data?
- A. Number
- B. Text
- C. Decimal(9,2)
Show answer and explanation ▾
Correct answer: C
Decimal(9,2) stores two digits after the decimal point, so prices such as .05 keep their cents, and it leaves room for values well above 100. Amounts can then be sorted and calculated as numbers.
Why the other options are wrong:
- A. Number holds whole numbers only, so the cents in each price would be lost.
- B. Text stores the price as a string, so it cannot be used for numeric comparison or calculation.
Question 12
A developer wants to extract tracking data from the Marketing Cloud to an FTP site. A marketer created a Data Extract Activity in the user interface.
Which option would be available to extract the data?
- A. Automation Studio
- B. Journey Builder
- C. REST API
Show answer and explanation ▾
Correct answer: A
A Data Extract Activity is an Automation Studio activity. It is run from Automation Studio, on its own or as a step in an automation, usually followed by a File Transfer Activity that moves the output file to the FTP location.
Why the other options are wrong:
- B. Journey Builder runs customer journeys and does not run Data Extract Activities.
- C. The REST API is not where an activity that a marketer built in the user interface is run.
Question 13
Northern Trail Outfitters is using an asynchronous SOAP API call to the TriggeredSend object to send order confirmation emails to their customers.
Which API object and attribute should be used to retrieve the status of the API call?
- A. Result Object and EmailAddress
- B. ResultItem Object and RequestID
- C. ResultItem Object and OrderID
Show answer and explanation ▾
Correct answer: B
An asynchronous SOAP call returns a RequestID when it is accepted. Retrieving the ResultItem object with that RequestID returns the outcome of the queued call.
Why the other options are wrong:
- A. An email address does not identify a specific API call, so it cannot be used to look up the call's status.
- C. OrderID is the customer's own order value and is not an identifier Marketing Cloud assigns to the API call.
Question 14
Northern Trail Outfitters mistakenly synced the User_Salesforce object which added to their billable contact count.
What should be recommended to remove these contacts?
- A. Use the REST API to delete the contacts from the All Subscribers table.
- B. Update the sync to remove these contacts from the All Contacts table.
- C. Put the synced records into a sendable data extension and use Contact Delete.
Show answer and explanation ▾
Correct answer: C
Contact Delete is the supported way to remove contacts so they stop counting as billable. Placing the unwanted synced records in a sendable data extension gives Contact Delete the list of contacts to remove.
Why the other options are wrong:
- A. Removing records from All Subscribers does not delete the contacts from the account's contact count.
- B. Changing the sync stops new records arriving but does not delete contacts that were already created.
Question 15
Northern Trail Outfitters (NTO) wants to determine the best identifier for subscribers across all channels.
What should be recommended?
- A. Contact Key
- B. Subscriber ID
- C. Email Address
Show answer and explanation ▾
Correct answer: A
This is the single identifier Marketing Cloud uses to tie a person's email, mobile and other channel records to one contact. Using the same value in every channel keeps each person as one contact.
Why the other options are wrong:
- B. Subscriber ID is a system-generated value used inside the email channel, not a cross-channel identifier the business controls.
- C. An email address can change or be shared and does not identify a person in channels such as SMS or push.
Question 16
A developer receives a request for tracking data for all sends associated with a specific JobID. The developer needs to see Sends, Opens, Clicks, and Bounces.
Which activity could be used?
- A. SQL Query Activity
- B. Campaign Data Extract
- C. File Transfer Activity
Show answer and explanation ▾
Correct answer: B
A data extract outputs tracking events such as sends, opens, clicks and bounces to files, and it can be limited to the sends the developer needs. The files can then be delivered for review.
Why the other options are wrong:
- A. A SQL Query Activity writes its results to a data extension and does not produce an extract of tracking data.
- C. A File Transfer Activity only moves or unpacks files and does not gather tracking data.
Question 17
An UpdateDE AMPscript function is used to update a column value in a data extension row when an email is sent. The email is 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. 400 subscribers who were sent the email
- B. No rows are updated
- C. Only subscribers who exist in All Subscriber
Show answer and explanation ▾
Correct answer: A
AMPscript in an email runs once for each subscriber as that subscriber's message is built and sent. UpdateDE therefore ran only for the 400 subscribers whose emails went out before the send was cancelled.
Why the other options are wrong:
- B. The function runs as each message is processed, so the rows for the emails already sent were updated.
- C. The function is tied to each message that is sent, not to whether a person exists in All Subscribers.
Question 18
An email requires custom AMPscript to append the subscriber's zip code to a link in the email. A field named zipcode already exists in the sending data extension. It is important Marketing Cloud tracks subscribers who click on the link.
Which two AMPscript functions should be used in the setup?
- A. Concat / RedirectTo
- B. Concat / Lookup
- C. Concat / HTTPGet
Show answer and explanation ▾
Correct answer: A
Concat builds the full URL by joining the base link with the zipcode value. RedirectTo, used in the href, tells Marketing Cloud to track clicks on a link whose address is produced by AMPscript.
Why the other options are wrong:
- B. Lookup reads a value from another data extension and does nothing to make the link trackable.
- C. HTTPGet fetches content from a URL at send time and does not create a tracked link.
Question 19
How should a developer optimize a query activity if it is currently timing out?
- A. Use intermediate tables to stage data
- B. Use intrinsic functions in the WHERE clause
- C. Use SELECT * to include all fields
Show answer and explanation ▾
Correct answer: A
Splitting a heavy query into smaller queries that write to staging data extensions lets each step work on less data. Each step finishes sooner, so the activity stays under the time limit.
Why the other options are wrong:
- B. Functions in the WHERE clause slow a query down because each row has to be evaluated.
- C. SELECT * returns every field and adds work, so it makes a slow query slower.
Question 20
Cloud Kicks would like to encrypt and store form data submitted from a CloudPage in a data extension using AMPscript.
Which encryption option could be used?
- A. Symmetric
- B. SAML
- C. Asymmetric
Show answer and explanation ▾
Correct answer: A
AMPscript provides the EncryptSymmetric and DecryptSymmetric functions, which use the same secret to encrypt and decrypt a value. Form data can be encrypted with EncryptSymmetric before it is written to the data extension.
Why the other options are wrong:
- B. SAML is used for single sign-on and does not encrypt stored field values.
- C. Asymmetric encryption is not the option AMPscript offers for encrypting a value before storing it.
Question 21
A developer wants a link to be dynamic based on subscriber attributes. Rather than create numerous links, the developer uses AMPscript to set the link's value as a variable. The variable will be used within the tag.
What should the developer do within the tag to ensure clicks are tracked for the variable?
- A. Wrap the variable in a V function
- B. Wrap the variable in a RedirectTo function
- C. Include a variable for the Alias attribute
Show answer and explanation ▾
Correct answer: B
When the href of an anchor tag is an AMPscript variable, wrapping the variable in RedirectTo lets Marketing Cloud record clicks on the link. Without it, the link is not tracked.
Why the other options are wrong:
- A. The V function only outputs the value of a variable and does not enable click tracking.
- C. The Alias attribute names a link in tracking reports and does not make a variable link trackable.
Question 22
A developer wants to programmatically inject Contacts into a journey via the REST API.
What route using POST data extension fields and values should be used?
- A. /contacts/v1/contactEvents
- B. /interaction/v1/events
- C. /interaction/v1/interactions
Show answer and explanation ▾
Correct answer: B
A POST to /interaction/v1/events fires a journey's API entry event. The request carries the contact's identifier, the event definition and the data extension field values for that contact.
Why the other options are wrong:
- A. This is not the route that fires a journey entry event.
- C. The interactions route works with journey definitions themselves and does not inject a contact.
Question 23
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. The authentication token has expired.
- B. SOAP does not support POST; use REST.
- C. 'SentEvent' is not able to be updated using SOAP.
Show answer and explanation ▾
Correct answer: C
SentEvent is a tracking object that can only be retrieved. The SOAP API rejects an attempt to create or update it, which is what this error reports.
Why the other options are wrong:
- A. An expired token produces an authentication error, not a message about the method allowed on an object.
- B. SOAP requests are sent with HTTP POST, so the transport is not the cause of this error.
Question 24
Which aspect should a developer consider before creating a Server-to-Server Installed Package and associated API Integration in Marketing Cloud?
- A. Scope (Permissions) will be granted based on the User who is creating the Installed Package.
- B. Using an Installed Package, APIs will have access to resources only in the Business Unit where it was created.
- C. Using an Installed Package, APIs will have access to resources in all Business Units.
Show answer and explanation ▾
Correct answer: C
An installed package's API integration is not tied to a single business unit: access can extend across the business units of the account. The developer should plan which data the integration is able to reach before creating it.
Why the other options are wrong:
- A. Scope is chosen on the API integration component and is not copied from the user who creates the package.
- B. Access is not limited to the business unit where the package was created.
Question 25
A developer is configuring a new Marketing Cloud account and has decided to use a unique 10-digit integer as each customer's Contact Key.
Which data type should be used when representing the value of Contact Key?
- A. Decimal
- B. Text
- C. Number
Show answer and explanation ▾
Correct answer: B
The contact identifier is stored as a text value in Marketing Cloud, even when every character in it is a digit. Using Text keeps the value consistent across data extensions and channels and preserves any leading zeros.
Why the other options are wrong:
- A. Decimal is meant for amounts with fractional digits, not for an identifier.
- C. Number treats the value as a quantity and would drop leading zeros.
Question 26
A developer wants to implement a newsletter registration form on Northern Trail Outfitters' website. Prior to form submission, an email address provided by the visitor should be validated.
Which option could be used to support this scenario?
- A. REST API, /address/v1/validateEmail route
- B. SOAP API, Perform method with ValidationAction object
- C. SOAP API, Describe method with EmailAddress object
Show answer and explanation ▾
Correct answer: A
The REST route /address/v1/validateEmail checks an email address and returns whether it passes validation. The website can call it before the form is submitted.
Why the other options are wrong:
- B. The Perform method runs actions on objects such as starting a send and is not used to validate an address.
- C. The Describe method returns the definition of an object and does not check an address.
Question 27
A developer wants to transform the date and time field 'Date_Enrolled' from Daylight Savings time.
How would the developer change the time to fall back one hour?
- A. %%=FormatDate(Date_Enrolled, -1, 'HH', 'en-us')=%%
- B. %%=DateAdd(Date_Enrolled, -1, 'H')=%%
- C. %%=DateAdd(Date_Enrolled, -l)=%%
Show answer and explanation ▾
Correct answer: B
DateAdd takes a date, a number and a unit, and returns the adjusted date. Passing -1 with the unit 'H' moves Date_Enrolled back one hour.
Why the other options are wrong:
- A. FormatDate changes how a date is displayed and does not shift the time.
- C. This call has no unit of time, so it does not tell DateAdd to subtract an hour.
Question 28
A developer is working on cross-channel campaign functions for the email team at Northern Trail Outfitters. They are reviewing available APIs for the different Marketing Cloud applications to determine the most appropriate solution for each.
Which application utilizes the REST API?
- A. Automation Studio
- B. Classic Content
- C. Mobile Connect
Show answer and explanation ▾
Correct answer: C
MobileConnect is one of the Marketing Cloud Engagement apps that the REST API supports, along with apps such as Journey Builder, Content Builder and MobilePush. The SOAP API covers the email side, including automations, tracking, subscribers and triggered sends.
Why the other options are wrong:
- A. Automations are managed through the SOAP API.
- B. Classic content is worked with through the SOAP API, not the REST API.
Question 29
Which action could the RaiseError AMPscript function be configured to perform?
- A. Update the subscriber's status
- B. Delete the subscriber record
- C. Log the source of the error
Show answer and explanation ▾
Correct answer: C
RaiseError stops the send for the current subscriber or for the whole job and records the message the developer supplies. That message lets the failure be traced back to where it was raised.
Why the other options are wrong:
- A. RaiseError does not change a subscriber's status.
- B. RaiseError does not delete subscriber records.
Question 30
A developer wants to expand the functionality of existing code which was written in AMPscript, but prefers to use Server-Side JavaScript (SSJS) for updates.
Which SSJS statement would retrieve the value of the AMPscript variable named subKey?
- A. Var.Get("subKey");
- B. Var.Retrieve("@subKey");
- C. Variable.GetValue("@subKey");
Show answer and explanation ▾
Correct answer: C
Variable.GetValue reads an AMPscript variable from Server-Side JavaScript. The variable name is passed with its @ prefix, so Variable.GetValue('@subKey') returns the value set in AMPscript.
Why the other options are wrong:
- A. Var.Get is not the Server-Side JavaScript call that reads an AMPscript variable.
- B. Var.Retrieve is not a Server-Side JavaScript function for reading an AMPscript variable.
Question 31
Northern Trail Outfitters wants to 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 to personalize emails from an external data source?
- A. External Objects
- B. Tokenized Sending
- C. Salesforce Shield
Show answer and explanation ▾
Correct answer: B
Tokenized Sending stores only a token for each subscriber in Marketing Cloud. At send time the token is exchanged for the real personal data held in the customer's own system, so the data is never stored in Marketing Cloud.
Why the other options are wrong:
- A. External Objects is not the Marketing Cloud feature for sending without storing personal data.
- C. Salesforce Shield protects data that is stored on the Salesforce platform and does not keep it out of Marketing Cloud.
Question 32
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 request?
- A. Include as a query parameter ?access_token=YOUR_ACCESS_TOKEN
- B. Include the header Authorization: Basic YOUR_ACCESS_TOKEN
- C. Include the header Authorization: Bearer YOUR_ACCESS_TOKEN
Show answer and explanation ▾
Correct answer: C
Marketing Cloud REST requests carry the OAuth access token in the Authorization header using the Bearer scheme, written as Authorization: Bearer followed by the token.
Why the other options are wrong:
- A. Passing the token as a query parameter is not the supported method for these requests.
- B. The Basic scheme is for a user name and password pair, not for an OAuth access token.
Question 33
A developer receives a request to integrate Marketing Cloud with a lead capture tool. The lead capture tool will 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 be used to dynamically create these data extensions?
- A. REST API using POST on the /interaction/v1/EventDefinitions endpoint with Schema populated
- B. SOAP API using Create Method and the DataExtension Object
- C. Creating the data extension using API is not possible
Show answer and explanation ▾
Correct answer: A
A POST to /interaction/v1/EventDefinitions that includes a Schema creates a data extension with the fields listed in that schema. The lead capture tool can make this call each time a new form is published.
Why the other options are wrong:
- B. This is not the feature this scenario uses, where the data extension is generated from the schema posted with the event definition.
- C. Data extensions can be created through the API.
Question 34
A developer wants to write a query to compile data originating from an HTML form so it can be exported in CSV format. However, the source data extension may contain line breaks within the Comments field, which makes it difficult to read and sort the resulting CSV.
Which SQL functions could be used to change each line break to a single space?
- A. REPLACE and CHAR
- B. LTRIM and RTRIM
- C. REPLICATE and NCHAR
Show answer and explanation ▾
Correct answer: A
REPLACE swaps one string for another, and CHAR returns a character from its code, such as CHAR(10) for a line feed and CHAR(13) for a carriage return. Together they replace each line break with a space.
Why the other options are wrong:
- B. LTRIM and RTRIM only remove spaces from the start and end of a value.
- C. REPLICATE repeats a string a set number of times and does not substitute characters.
Question 35
A developer wants to create a Send Log Data Extension to increase efficiency with tracking email sends.
Which best practice should be utilized when configuring the Send Log Data Extension?
- A. Use Data Retention to limit the amount of data captured.
- B. Create a number of fields equal to the fields in the source data extension.
- C. Maximize the field size to accommodate all incoming data.
Show answer and explanation ▾
Correct answer: A
A Send Log grows with every send, so a data retention policy keeps it small. A smaller Send Log is faster to write to and to query.
Why the other options are wrong:
- B. A Send Log should hold only the few fields that are needed, not a copy of every source field.
- C. Oversized fields add storage and slow the Send Log down.
Question 36
A developer wants to create a data model in Contact Builder.
Which application will be able to use this newly-created data model for segmentation?
- A. Journey Builder
- B. Automation Studio
- C. Email Studio
Show answer and explanation ▾
Correct answer: C
Data extensions related in Contact Builder are available in Email Studio, where filters and queries segment subscribers on that data.
Why the other options are wrong:
- A. Journey Builder builds and runs journeys and is not the segmentation application this question points to.
- B. Automation Studio schedules and runs activities and is not the segmentation application this question points to.
Question 37
A marketer from Cloud Kicks wants to make sure no email from their welcome journey gets sent to their competitor at Rainbow Run.
Which best practice should the developer use when setting up the Send Email Activity in the welcome journey?
- A. Create a data extension with the Rainbow Run domain for use with a Domain Exclusion
- B. Create a Filter Activity in the journey that removes the Rainbow Run domain
- C. Create a Suppression List with all possible email addresses from Rainbow Run
Show answer and explanation ▾
Correct answer: A
A Domain Exclusion blocks a send to every address at a listed domain. One data extension row holding the Rainbow Run domain covers all of that company's addresses, including ones created later.
Why the other options are wrong:
- B. A filter in the journey has to be built and maintained by hand and is not the send-level exclusion feature.
- C. Nobody can list every possible address at a domain, so new addresses would still receive the email.
Question 38
A developer wants CloudPages to work with a REST API returning data in JavaScript Object Notation. The developer wants to efficiently ingest the data and write it to a data extension.
Which function should be used?
- A. AMPscript function BuildRowsetFromString
- B. Server-Side JavaScript function ParseJSON
- C. Guide Template Language {{.data}} tag
Show answer and explanation ▾
Correct answer: B
The Server-Side JavaScript ParseJSON function turns a JSON string into an object. The script can then loop through the object and write each item to a data extension.
Why the other options are wrong:
- A. BuildRowsetFromString splits a delimited string and does not read JSON structure.
- C. This tag is for rendering content from data sources and does not write to a data extension.
Question 39
Northern Trail Outfitters uses a Send Log and sends more than one million emails per day. They want to execute daily reports on all subscriber activity without impacting send performance.
Which set of best practices should be implemented?
- A. Add a data retention policy to the Send Log, then run reports from the _Opens data view.
- B. Copy new Send Log records to an Archive data extension, then run reports from the Send Log data extension.
- C. Copy new Send Log records to an Archive data extension, then run reports from the Archive data extension.
Show answer and explanation ▾
Correct answer: C
Copying new Send Log rows to an Archive data extension keeps the Send Log small and fast for sending. Running the reports against the Archive keeps reporting queries away from the table that sends write to.
Why the other options are wrong:
- A. The _Opens data view holds open events only and does not cover all subscriber activity.
- B. Reporting from the Send Log itself competes with sends writing to it and slows them down.
Question 40
In what order is AMPscript evaluated before an email is sent?
- A. Subject Line, HTML Body, Text Body
- B. Text Body, HTML Body, Subject Line
- C. HTML Body, Text Body, Subject Line
Show answer and explanation ▾
Correct answer: C
Marketing Cloud processes AMPscript in the HTML body first, then the text body, and the subject line last. A variable set in the body is therefore available to the subject line.
Why the other options are wrong:
- A. The subject line is processed last, not first.
- B. The HTML body is processed before the text body.
Question 41
A developer needs to push real-time updates of the company's product catalog to a data extension.
Which API options is available?
- A. Upload a file to the Enhanced SFTP for import
- B. Use the DataExtensionObject SOAP object
- C. Use the DataExtension SOAP object
Show answer and explanation ▾
Correct answer: B
The DataExtensionObject SOAP object represents a row in a data extension. Creating or updating DataExtensionObject records through the API changes the catalog rows as soon as each call is made.
Why the other options are wrong:
- A. A file import from the SFTP site is a batch process, not a real-time API update.
- C. The DataExtension object defines the structure of a data extension, not the rows stored in it.
Question 42
A developer wants to configure an automation to import files placed on the SFTP shared by a customer's data vendor. The automation will start when a file matching a specific naming pattern is encountered in the Import folder. The first step of the automation is a File Import Activity referencing a substitution string for the matching file.
Which substitution string represents the name of the file?
- A. %%FILENAME%%
- B. %%FILENAME_FROM_TRIGGER%%
- C. %%FILENAME_FROM_IMPORT%%
Show answer and explanation ▾
Correct answer: B
In a file drop automation, %%FILENAME_FROM_TRIGGER%% resolves to the name of the file that started the automation. The File Import Activity uses it to import that exact file.
Why the other options are wrong:
- A. This is not the substitution string that returns the triggering file's name.
- C. This is not a substitution string used by file drop automations.
Question 43
A developer is building a landing page in Marketing Cloud and an email with a Call-To-Action (CTA) link. The landing page will display personal information about the subscriber. In which way could the developer create the CTA link?
- A. Append SubscriberKey to the URL as an encoded parameter.
- B. Use the AMPscript CloudPagesURL function.
- C. Append EmailAddress to the URL as an encoded parameter.
Show answer and explanation ▾
Correct answer: B
CloudPagesURL builds a link to a CloudPage and passes the subscriber's details in an encrypted query string. The landing page can identify the subscriber without exposing personal data in the URL.
Why the other options are wrong:
- A. An encoded value in the URL is not encrypted and can be read or changed by anyone who has the link.
- C. An email address in the URL exposes personal data and can be changed by anyone who has the link.
Question 44
A developer started a Contact Delete process that is now complete.
In which place would the Contact Delete process remove data?
- A. Import Files on the Enhanced SFTP
- B. ALL Data Extensions
- C. Sendable Data Extensions
Show answer and explanation ▾
Correct answer: C
Contact Delete removes the contact's rows from sendable data extensions, where each row is tied to a contact through the send relationship. Data held elsewhere has to be removed separately.
Why the other options are wrong:
- A. Files on the Enhanced SFTP site are not touched by Contact Delete.
- B. Non-sendable data extensions have no send relationship to a contact, so their rows are not removed.
Get the complete Marketing Cloud Engagement Developer bank
These 44 questions are roughly 34% of the bank. The full pack has 130 real exam questions, each with the same depth of explanation, plus a questions-only PDF for timed practice and free updates forever.
View the full Salesforce Marketing Cloud Engagement Developer question bank →
About the Marketing Cloud Engagement Developer exam
These 44 Salesforce Marketing Cloud Engagement Developer questions are free here, and as the free sample PDF.