Marketing-Cloud-Developer Exam Questions

Total 196 Questions


Last Updated On : 17-Feb-2025



Preparing with Marketing-Cloud-Developer practice test is essential to ensure success on the exam. This Salesforce test allows you to familiarize yourself with the Marketing-Cloud-Developer exam questions format and identify your strengths and weaknesses. By practicing thoroughly, you can maximize your chances of passing the Salesforce certification exam on your first attempt.

The Contact Delete feature can be used within an Enterprise 2.0 account from which business unit?


A. Only in Agency accounts


B. The Parent account


C. Any business unit


D. The business unit where the contact was introduced


E. None of these





D.
  The business unit where the contact was introduced


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?


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.





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

Explanation:

After using themessageDefinitionSendsREST API endpoint to send a triggered send email, and receiving a 202 (success) response code, the developer can validate if the email was successfully sent by using themessageDefinitionSend/key:(key)/deliveryRecordsREST endpoint with the GET method. This endpoint provides delivery records and allows verification of the email's delivery status.

References:

Salesforce Marketing Cloud REST API Reference

Triggered Send Email Validation

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


A. PGP encryption


B. RSA encryption


C. GPG encryption


D. AES encryption





A.
  PGP encryption

D.
  AES encryption

Explanation:

When importing data files to Marketing Cloud, the supported file encryption options are:

PGP encryption (A)- Pretty Good Privacy (PGP) encryption is supported for securing files. AES encryption (D)- Advanced Encryption Standard (AES) encryption is also supported for file security.

References:

Salesforce Marketing Cloud File Import Activity

File Transfer and Encryption Options

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. Text


B. Number


C. Decimal(9,2)





C.
  Decimal(9,2)

Explanation:

The best Data Type to use for thePurchase_Pricecolumn, which includes values ranging from '$.05' to '$100', isDecimal(9,2) (C). This data type ensures that values are stored accurately without data loss, allowing for precision up to two decimal places. References: Salesforce Marketing Cloud Data Extensions Decimal Data Type

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





A.
  CASE, ISDATE, CONVERT

C.
  CASE, ISDATE, CAST

Explanation:

To normalize customer data in a staging data extension where a text field named 'birthday' contains date values in various formats, the developer can use the following SQL keywords and functions:

CASE, ISDATE, CONVERT (A)- These functions can be used to handle different date formats and convert them into a consistent format.

CASE, ISDATE, CAST (C)- Similar to the above, CAST can be used to convert text to date format if ISDATE returns true.

Example SQL query:

SELECTCASEWHENISDATE(birthday)=1THENCONVERT(DATE, birthday)ELSENULLENDASnormalized_birthdayFROMStagingDataExtension

References:

Salesforce Marketing Cloud SQL Reference

SQL CASE and ISDATE Functions

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}





B.
  POST /interaction/v1/events

C.
  POST /interaction/v1/interactions/contactentry


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





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

Explanation:

To retrieve daily JSON data from a customer's API and write it to a data extension, the developer should use the following set of Server-Side JavaScript activities:

Platform.Function.HTTPGet();- To make the HTTP GET request to the customer's API and retrieve the JSON data.

Platform.Function.ParseJSON();- To parse the retrieved JSON data.

Platform.Function.UpsertData();- To upsert the parsed data into a data extension.

Example code snippet:

varresponse =Platform.Function.HTTPGet("https://api.customer.com/data" );varjsonData =Platform.Function.ParseJSON(response);Platform.Function.UpsertData("DataExtensionName", ["PrimaryKeyField"], jsonData);

References:

Salesforce Marketing Cloud SSJS HTTP Functions

Salesforce Marketing Cloud SSJS Data Functions

A developer identified a use case where a triggeredsend of an email is needed. The developer already successfully set up authentication with a Client ID and Client Secret has used them in several REST calls. When the REST call is made, a "401 Unauthorized" error is returned. What is the first thing the developer should check?


A. The send permissions have been granted for the Client ID and Client Secret within Installed Packages.


B. The email interaction has been started


C. The automation permissions have been granted for the Client ID and Client Secret within Installed Packages.


D. The email interaction has been published.





A.
  The send permissions have been granted for the Client ID and Client Secret within Installed Packages.

Explanation:

A "401 Unauthorized" error typically indicates an issue with authentication or permissions. Since the Client ID and Client Secret have been successfully used in other REST calls, the most likely cause is insufficient permissions for sending emails.

Check Send Permissions: Ensure that the appropriate permissions for sending emails have been granted to the Client ID and Client Secret in the Installed Packages. Without these permissions, the API call will fail with a 401 error.

Reference: [:Salesforce Installed Packages and Permissions, , , ]

A developer started a Contact Delete process that is now complete. In which twoplaces would the Contact Delete process remove data? Choose 2 answers


A. Non-Sendable Data Extensions


B. Import Files on the Enhanced SFTP


C. Sendable Data Extensions


D. Mobile Lists





C.
  Sendable Data Extensions

D.
  Mobile Lists

Explanation:

The Contact Delete process in Marketing Cloud removes contact data from various locations to ensure complete deletion. This includes both sendable data extensions and mobile lists. Sendable Data Extensions: The Contact Delete process will remove contact data from sendable data extensions, ensuring that the contact is no longer present in any data used for sending. Mobile Lists: Contact data will also be removed from mobile lists, ensuring that the contact is fully deleted across all communication channels. Reference: [:Salesforce Contact Deletion Process, , ]

Certification Aid wants to update Contact data stored in a Data Extension using the REST API. What is required to achieve this? Choose 1.


A. The Data Extension must be in an Attribute Group.


B. The Data Extensionmust be in a Population.


C. The Data Extension must be sendable.


D. The Data Extension must be created in Email Studio.





A.
  The Data Extension must be in an Attribute Group.

Explanation:

To update Contact data stored in a Data Extension using the REST API, the Data Extension must be in anAttribute Group (A). This is necessary because the REST API interacts with Contact data through Attribute Groups, which organize Data Extensions and their relationships within Contact Builder.

References:

Salesforce Marketing Cloud REST API

Contact Builder and Attribute Groups


Page 8 out of 20 Pages
Previous