Salesforce certification · Exam Salesforce-Marketing-Cloud-Engagement-Developer

Salesforce-Marketing-Cloud-Engagement-Developer Mock Exam Page 4

Salesforce Marketing Cloud Engagement Developer

Free Salesforce-Marketing-Cloud-Engagement-Developer mock exam questions 31–40, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free Salesforce-Marketing-Cloud-Engagement-Developer questions

31–40 of 58 free
Question 31 Choose 1

A developer wants to review the available properties for using the DataExtensionField SOAP API object.

Where could the developer find this information

Show answerHide answer

Correct answer: B Developer Center at https://developer.5alesforce.com

Explanation

Explanation:
Salesforce Marketing Cloud Engagement SOAP API documentation is available through the Salesforce Developer Center. Developers can review API objects, their properties, data types, descriptions, and supported operations. The DataExtensionField object has its own documentation page listing its available properties, including Name, FieldType, MaxLength, IsRequired, and IsPrimaryKey. This documentation helps developers understand the object structure and use its properties correctly when building SOAP API integrations.

Correct Option:

B. Developer Center at developer.salesforce.com
The Salesforce Developer Center provides official Marketing Cloud Engagement SOAP API documentation. Its SOAP Web Service API Objects section lists available objects, including DataExtensionField. Selecting that object opens its detailed reference page, which describes each property, its data type, and its purpose. This is the appropriate resource for developers who need accurate and supported API information.

Incorrect Option:

A. Open the Object Inspector in the Salesforce Developer Console
The Salesforce Developer Console's Object Inspector is designed primarily for inspecting Salesforce platform objects and their metadata. It is not the official reference location for Marketing Cloud Engagement SOAP API objects. Marketing Cloud has its own API documentation within the Salesforce Developer Center, where developers can review the DataExtensionField object's supported properties and descriptions.

C. Contact Support and request the information
Contacting Salesforce Support is unnecessary because the DataExtensionField object's properties are already documented publicly. The official Developer Center provides direct access to the SOAP API object reference, including property names, data types, and descriptions. Support is generally appropriate for troubleshooting account-specific issues, not for locating standard API documentation.

Reference:
Salesforce Marketing Cloud Engagement documentation, DataExtensionField and SOAP Web Service API Objects. These official Developer Center resources list the object's available properties, data types, descriptions, and SOAP API object references.
Question 32

Northern Trail Outfitters is using a mobile campaign to collect email addresses of interested subscribers. Using AMPScript'sAPI functions they will send a confirmation email when an email is texted into their short code.

Which two objects are required to successfully create a TriggeredSend object? Choose 2

Show answerHide answer

Correct answer: A, B

Question 33 Choose 2

A marketer is planning a weekly promotionalsend.

Which two types of data extensions could be sent to?

Choose 2 answers

Show answerHide answer

Correct answer: B, C Sendable Data ExtensionSalesforce Data Extension

Explanation

Explanation:
Marketing Cloud Engagement supports promotional email sends using both standard Sendable Data Extensions and Salesforce Data Extensions. A Sendable Data Extension is explicitly configured with a send relationship to identify subscribers. A Salesforce Data Extension can also serve as an audience for a Salesforce Send through Marketing Cloud Connect. Synchronized Data Extensions are primarily used to bring CRM data into Marketing Cloud, while Send Log Data Extensions store send-related information rather than serving as a regular sending audience.

Correct Option:

B. Sendable Data Extension

A Sendable Data Extension is designed to act as an audience for email sends. It contains subscriber information and has a configured send relationship that maps a field, such as Subscriber Key or Subscriber ID, to the corresponding subscriber attribute. The marketer can use this type of data extension to target recipients for a weekly promotional email. It can also include additional fields for personalization and segmentation, making it suitable for recurring campaigns with changing promotional content.

C. Salesforce Data Extension
A Salesforce Data Extension can be used as an audience for Salesforce Sends through Marketing Cloud Connect. These data extensions are associated with Salesforce data, such as Contacts or Leads, and support sending to selected CRM audiences. This makes them suitable when a marketer wants to target Salesforce records for promotional communications. Salesforce documentation explains how Salesforce Data Extensions work with Salesforce Sends and how tracking information can be associated with the corresponding CRM records.

Incorrect Option:

A. Synchronized Data Extension
A Synchronized Data Extension contains data synchronized from connected Salesforce objects, such as Contacts, Leads, or Accounts. Its primary purpose is to make CRM data available inside Marketing Cloud for segmentation, queries, and other processing. It is not generally used directly as the sending audience for a promotional email. Instead, marketers typically use a query or another process to select the required records and populate a Sendable Data Extension before sending.

D. Send Log Data Extension
A Send Log Data Extension is designed to record information about email sends, such as subscriber details and send-time attributes. It helps marketers analyze campaign activity and retain information about the content or context of individual sends. It is not intended to function as a regular promotional sending audience. Send Log Data Extensions are configured as nonsendable, so they cannot be selected as the target audience for a standard weekly promotional email campaign.

Reference:
Salesforce documentation: Salesforce Data Extensions in Marketing Cloud Connect, Create a Sendable Data Extension, and Trailhead’s Learn About Data Extensions. These explain sending audiences, send relationships, and Salesforce-integrated data extensions.
Question 34 Choose 1

A developer is leveraging the SOAP API to dynamically display Profile and PreferenceAttributes in a custom profile center. Which method could be used to support the dynamic functionality?

Show answerHide answer

Correct answer: A Describe

Explanation

Explanation:
In Salesforce Marketing Cloud Engagement, the SOAP API provides the Describe method to retrieve metadata about API objects and their properties. When developing a custom profile center, developers may need to dynamically display Profile and Preference Attributes without manually defining every field. The Describe method allows the application to retrieve object definitions, attribute names, data types, and other metadata. This information can then be used to dynamically generate profile and preference management fields.

Correct Option:

A. Describe
The Describe method is correct because it retrieves metadata about Marketing Cloud SOAP API objects. Developers can use it to discover available Profile and Preference Attributes, including their names, data types, and other properties. This supports dynamic functionality in a custom profile center because the application can determine which attributes are available instead of relying on hardcoded field definitions. If administrators add or modify attributes, the application can retrieve the updated metadata and adjust its presentation accordingly.

Incorrect Option:

B. Extract
The Extract method is primarily associated with retrieving data through Marketing Cloud data extraction processes. It is used to export information, such as tracking data and other supported records, rather than discover SOAP API object metadata. A custom profile center needs to identify available Profile and Preference Attributes dynamically. Extract does not provide the object-description functionality required for this purpose. Therefore, Describe is the appropriate SOAP API method.

C. Perform
The Perform method executes supported actions on Marketing Cloud SOAP API objects, such as initiating specific operations or processes. It is generally used when developers need to perform an action rather than inspect an object's structure. In this scenario, the requirement is to dynamically discover Profile and Preference Attributes so that a custom profile center can display them. Perform does not provide the metadata discovery functionality needed to achieve this requirement.

D. Configure
Configure is not the appropriate SOAP API method for retrieving object metadata. Although configuration operations are important when managing Marketing Cloud resources, the developer specifically needs to discover available attributes and their properties dynamically. The SOAP API Describe method provides this capability by returning metadata about supported objects and their fields. Therefore, Configure does not satisfy the requirement described in the question.

Reference:
Salesforce documentation, SOAP API Describe Method, explains how developers retrieve object metadata, including available properties, field names, and data types. This functionality supports dynamically discovering attributes when building custom Marketing Cloud applications.
Question 35 Choose 1

Certification Aid wants to automate the import of zipped files into a Data Extension. The zip files are placed on the Marketing Cloud Enhanced FTP server every night. Which activity is needed before those files can be imported? Choose 1.

Show answerHide answer

Correct answer: D File Transfer activity

Explanation

Explanation:
Marketing Cloud Engagement cannot directly import a zipped file into a Data Extension. The compressed file must first be extracted so that the import process can access the underlying data file, such as a CSV. Because the files arrive nightly on the Enhanced FTP server, the automation must include a File Transfer activity before the import activity. This activity prepares the file by unzipping it, making the extracted data available for subsequent import processing.

Correct Option:

D. File Transfer activity
A File Transfer activity in Automation Studio can manage compressed files stored on the Marketing Cloud Enhanced FTP server. Configure it to use the Manage File action and select Unzip Compressed File. The activity extracts the contents so that a subsequent Import activity can load the resulting file into the target Data Extension. In the automation workflow, place File Transfer before the Import activity to ensure the file is ready for processing.

Incorrect Option:

A. File Import activity
A File Import activity is not the required preliminary step for extracting a ZIP file. Import activities are designed to load supported data files into Marketing Cloud Data Extensions, but they do not replace the file preparation process required for compressed files. The ZIP archive must first be unzipped using a File Transfer activity. Once the extracted file is available, the import process can use it as its source and populate the Data Extension.

B. Data Extract activity
A Data Extract activity is primarily used to extract or export data from Marketing Cloud Engagement, such as tracking information or Data Extension records, into files. It is not designed to decompress ZIP archives uploaded to the Enhanced FTP server. Since the scenario involves importing an existing compressed file, Data Extract is unnecessary. The appropriate activity is File Transfer, configured to unzip the file before the import process begins.

C. Data Extension Import activity
A Data Extension Import activity is not the activity responsible for decompressing ZIP archives. Import activities load data from supported source files into Data Extensions after the files have been prepared. They cannot replace the required unzipping step in this scenario. The automation must first use a File Transfer activity to extract the compressed file. After extraction, an Import activity can process the resulting data file and load its records into the target Data Extension.

Reference:
Salesforce Help documentation, How to Use the File Transfer Activity in Automation Studio, explains how to unzip compressed files from Enhanced FTP and prepare them for import. Salesforce Trailhead's Move Your Data unit also describes the file-transfer step required before importing zipped files.
Question 36 Choose 1

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?

Show answerHide answer

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

Explanation

Explanation:
In Salesforce Marketing Cloud Engagement, a 202 Accepted response indicates that the triggered email request has been successfully accepted and queued for processing. However, it does not guarantee that the email was successfully sent. Developers must perform an additional API request to verify the delivery status. The deliveryRecords REST endpoint provides recipient-level delivery information, including whether the email was sent, remains queued, or encountered an error during processing.

Correct Option:

A. Use the messageDefinitionSend/key:(key)/deliveryRecords REST endpoint with GET method
This is the correct answer because the deliveryRecords endpoint retrieves the delivery status of a triggered email sent through the messageDefinitionSends endpoint. The developer must use the external key of the triggered send definition and the RecipientSendId returned in the original API response. A GET request returns delivery details, including the message status. The status can indicate Sent, Queued, or Error, allowing developers to identify whether the email was successfully processed or encountered a delivery problem.

Incorrect Option:

B. The 202 response code indicates the message was sent successfully; no further action is required.
This option is incorrect because HTTP 202 means the request was accepted for processing, not that the email was successfully delivered or even fully processed. Marketing Cloud handles asynchronous triggered sends through a processing queue. Errors can occur after the initial request is accepted, including missing required data extension fields or other processing problems. Developers must use the deliveryRecords endpoint to retrieve the final recipient-level status.

C. Use the validateEmail REST resource with POST method to obtain the email delivery details from the request.
This option is incorrect because the validateEmail REST resource is intended to validate email addresses, not retrieve triggered email delivery records. Email address validation and email delivery verification are separate operations in Marketing Cloud. The developer needs to determine whether the triggered send was successfully processed after receiving the 202 response. The deliveryRecords endpoint provides this information, including delivery status and error details when applicable.

D. Confirm the record was successfully inserted into the associated Triggered Send Data Extension.
This option is incorrect because inserting a record into the associated Triggered Send Data Extension does not guarantee successful email delivery. The data extension can store information associated with the triggered send request, but downstream processing may still encounter errors. A successful data extension insertion only confirms that the record was stored. Developers must inspect the actual delivery status through the deliveryRecords REST endpoint to validate the outcome.

Reference:
Salesforce documentation, Get Email Delivery Details and MessageDefinitionSends REST API, explains how to retrieve recipient-level delivery status using GET and the RecipientSendId returned by the original send request.
Question 37 Choose 2

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

Show answerHide answer

Correct answer: B, C Marketing Cloud appsLanding pages

Explanation

Explanation:
The Server-Side JavaScript (SSJS) Core library provides functions for building Marketing Cloud applications and working with landing pages. Salesforce distinguishes between the Core and Platform libraries based on their intended use. The Core library is recommended for landing pages and applications, while the Platform library is designed for messaging-related functionality, including email and SMS. Therefore, Marketing Cloud apps and landing pages are the two correct environments for using the Core library.

Correct Option:

B. Marketing Cloud apps
The SSJS Core library can be used when developing custom applications within Marketing Cloud Engagement. It provides core server-side JavaScript functionality that supports application development and interaction with Marketing Cloud features. Salesforce documentation identifies applications as one of the primary environments for Core library usage. Developers can use Core functions to implement application logic and perform tasks that require server-side JavaScript beyond what AMPscript provides.

C. Landing pages
Landing pages are another supported environment for the SSJS Core library. Developers can use Core functions to process server-side logic, retrieve or manipulate information, and create dynamic landing-page experiences. Salesforce recommends reserving Core library functions for landing pages when AMPscript does not provide the required functionality. This distinction helps developers choose the appropriate SSJS library for each Marketing Cloud implementation.

Incorrect Option:

A. SMS messages
SMS messages are not an intended environment for the SSJS Core library. Salesforce recommends using the SSJS Platform library for messaging activities, including SMS. Platform functions provide messaging-related capabilities and are designed to work within message contexts. Although SSJS can be used in SMS messages, the Core library is not the recommended library for this purpose. Therefore, this option is incorrect.

D. Email messages
Email messages should use AMPscript or SSJS Platform functions rather than the SSJS Core library. Salesforce specifically recommends reserving Core library functions for landing pages and applications. Platform functions are better suited to messaging activities, including email personalization and send-related operations. Consequently, although SSJS can be included in email messages, the Core library is not the appropriate library for this environment.

Reference:
Salesforce Developer documentation, Server-Side JavaScript, explains the distinction between Core and Platform libraries. Salesforce Trailhead, Learn About Server-Side JavaScript, identifies landing pages and applications as Core library use cases and messages as Platform library use cases.
Question 38 Choose 2

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

Show answerHide answer

Correct answer: A, D Set credentials as environment variables in the application platformStorecredentials in a key management system (KMS)

Explanation

Explanation:
When integrating with the Salesforce Marketing Cloud Engagement API, Client ID and Client Secret credentials must be stored securely to prevent unauthorized access. These credentials authenticate applications and provide access to Marketing Cloud resources. Developers should avoid exposing credentials in URLs or embedding them directly in application source code. Secure storage methods, such as environment variables and Key Management Systems (KMS), help protect sensitive information and reduce the risk of accidental credential disclosure.

Correct Option:

A. Set credentials as environment variables in the application platform
Environment variables provide a secure way to configure sensitive credentials separately from application source code. Developers can store the Marketing Cloud Client ID and Client Secret in the application's deployment environment and retrieve them when requesting an OAuth access token. This approach prevents credentials from being committed to source-control repositories and makes credential rotation easier. Access to environment variables should also be restricted to authorized application processes and administrators to maintain security.

D. Store credentials in a key management system (KMS)
A Key Management System (KMS) provides centralized and secure management of sensitive credentials. Developers can store or protect API secrets using an appropriate secrets-management service and retrieve them when required by the integration. KMS solutions support access controls, encryption, auditing, and credential rotation. This reduces the risk of exposing Client ID and Client Secret values in application code or configuration files. It is a recommended approach for protecting credentials in production integrations.

Incorrect Option:

B. Pass credentials in URL parameters over HTTPS
Passing Client ID and Client Secret through URL parameters is insecure, even when HTTPS is used. URLs can be recorded in server logs, browser history, monitoring systems, and proxy logs. This creates opportunities for sensitive credentials to be exposed unintentionally. OAuth authentication should instead send credentials using the appropriate request body or authentication mechanism over HTTPS. Therefore, placing credentials directly in URL parameters is not a recommended security practice.

C. Set credentials as variables in application source code
Hardcoding credentials in application source code is dangerous because source files can be shared, committed to version-control repositories, or exposed through development tools. Anyone who obtains the source code may gain access to the Marketing Cloud API credentials. It also makes credential rotation and maintenance more difficult. Developers should separate secrets from application code and use secure configuration mechanisms, such as environment variables or dedicated secrets-management services.

Reference:
Salesforce documentation, Marketing Cloud API Authentication, explains OAuth Client ID and Client Secret usage. Security best practices recommend environment variables and dedicated secrets-management systems to protect application credentials.
Question 39 Choose 1

A developer wants to use the Marketing Cloud SOAP API to retrieve which subscribers were sent a particular email. Which SOAP API object should be used?

Show answerHide answer

Correct answer: C SentEvent

Explanation

Explanation:
The Marketing Cloud SOAP API uses the SentEvent object to retrieve tracking information about individual subscribers who were sent a particular email. It records details such as the send ID, subscriber ID, subscriber key, and event date. A developer can retrieve these records and filter them using the relevant send information to identify the recipients of an email. Therefore, SentEvent is the correct object for this requirement.

Correct Option:

C. SentEvent
The SentEvent object represents an instance of a subscriber being sent an email. It contains tracking properties such as SendID, SubscriberID, SubscriberKey, EventDate, and BatchID. A developer can use these properties to identify which subscribers were targeted by a specific send. Salesforce documentation confirms that SentEvent contains tracking data related to a send, including information about individual subscribers.

Incorrect Option:

A. Send
The Send object represents information about an email send operation, including details related to the send configuration. Although it can provide information about a send, it is not the tracking event object used to retrieve individual subscriber records who received that email.

B. ListSend
The ListSend object provides information associated with list-based email sends. It is useful for working with list send details, but it does not represent the individual subscriber-level sent tracking event required by this question.

D. LinkSend
The LinkSend object is associated with link-level tracking information for email sends. It is not the appropriate object for retrieving the individual subscribers who were sent a particular email. Subscriber-level send tracking is handled by SentEvent.

Reference:
Salesforce Marketing Cloud Engagement SOAP API documentation, specifically the SentEvent object reference. It describes subscriber-level send tracking data and identifies properties such as SendID, SubscriberID, SubscriberKey, and EventDate.
Question 40 Choose 1

A developer is managing the data model programmatically and needs to access Attribute Group schema via the API. Which API should the developer use?

Show answerHide answer

Correct answer: D REST

Explanation

Explanation:
Salesforce Marketing Cloud Engagement provides REST API endpoints for programmatically accessing Contact Builder data model information, including Attribute Groups and their associated schemas. Developers can use these endpoints to retrieve Attribute Group definitions, relationships, and metadata. This is useful when building integrations that need to inspect or manage the Contact Builder data model without manually accessing the Marketing Cloud interface. The REST API provides dedicated endpoints for retrieving Attribute Groups associated with a contact data schema.

Correct Option:

D. REST
The REST API is correct because Marketing Cloud provides dedicated Contact Builder endpoints for accessing Attribute Group information. Developers can use the GET /contacts/v1/schemas/{schemaId}/attributeGroups endpoint to retrieve Attribute Groups associated with a specific contact data schema. They can also retrieve an individual Attribute Group using its ID, key, or name. This makes REST the appropriate API for programmatically accessing Attribute Group schema information and managing integrations with the Marketing Cloud data model.

Incorrect Option:

A. Bulk
The Bulk API is designed primarily for processing large volumes of data asynchronously. It is useful for importing, exporting, or processing substantial numbers of records. However, retrieving Attribute Group definitions and schema metadata is an administrative data-model operation rather than a bulk record-processing task. Therefore, Bulk API is not the appropriate choice for accessing Contact Builder Attribute Group schema information.

B. SOAP
The SOAP API provides access to many Marketing Cloud objects and supports operations such as creating, retrieving, updating, and deleting supported resources. However, the Contact Builder Attribute Group schema endpoints required by this question are exposed through the REST API. SOAP is therefore not the appropriate choice for this specific requirement.

C. XML
XML is a data representation and markup format, not an API protocol. SOAP requests commonly use XML-formatted messages, while REST APIs typically use JSON responses. Although XML can represent structured data, it does not independently provide API endpoints for retrieving Attribute Group schema information.

Reference:
Salesforce Developers documentation, REST API – Retrieve Attribute Groups and Retrieve an Attribute Group by ID, describes the Contact Builder endpoints for accessing Attribute Group metadata and schema information.
Full mock exam

Sit the Salesforce-Marketing-Cloud-Engagement-Developer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real Salesforce-Marketing-Cloud-Engagement-Developer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full Salesforce-Marketing-Cloud-Engagement-Developer mock exam
  • 65questions per mock
  • 105 mintime limit
  • 194questions in the bank
  • Newmock on every attempt