ExamDumpster

Free certified-marketing-cloud-developer sample questions

Each free Marketing Cloud Engagement Developer sample question below includes the answer and an explanation. The set covers AMPscript, SSJS and API calls. Try each one before you read the explanation.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 10 of 20 free sample questions.

Question 1Choose one

A data analyst needs to create a targetable data extension containing customers who have opened any email in the last 90 days but have NOT clicked any email in the last 180 days. The analyst must use the system Data Views.

Question 2Choose one

During a code review, a senior developer points out that a block of AMPscript is making repeated `Lookup()` calls inside a `FOR` loop to retrieve the same piece of information for every row being processed. This is causing significant performance degradation in email rendering.

Question 3Choose one

True or False: When using the Marketing Cloud REST API with OAuth 2.0, a single access token can be used to make API calls to any Business Unit (BU) within the Enterprise 2.0 account, provided the API package has been granted access to those BUs.

Question 4Choose one

Cumulus Health, a healthcare provider, needs to manage patient communication preferences in Marketing Cloud. They have a primary `Patients` data extension with `PatientID` as the Subscriber Key. They need to store preferences for multiple communication types (e.g., 'Newsletter', 'AppointmentReminders', 'HealthTips') and multiple channels (e.g., 'Email', 'SMS'). A patient can have different opt-in statuses for each combination of communication type and channel. The data architecture team is debating two approaches for storing this granular preference data. **Approach 1**: A single, 'wide' `Patient_Preferences` DE with columns like `PatientID`, `Newsletter_Email_OptIn`, `Newsletter_SMS_OptIn`, `AppointmentReminder_Email_OptIn`, etc. **Approach 2**: A 'narrow' or 'normalized' `Patient_Preferences` DE with three columns: `PatientID`, `PreferenceType` (e.g., 'Newsletter_Email'), and `OptInStatus` (e.g., 'true'/'false'). This would result in multiple rows per patient. The solution must be scalable, as new communication types and channels will be added in the future. It also needs to be efficient for AMPscript lookups within emails.

Question 5Choose 3

A developer is working with both Platform and Core SSJS libraries within a Script Activity. They need to perform several actions: 1) Initialize a Data Extension object, 2) Make an outbound HTTP GET request to an external API, 3) Parse a JSON response from that API, and 4) Set a variable that can be used by a subsequent activity in the Automation. Which THREE of the following SSJS functions or objects would be required to accomplish these tasks? (Select THREE)

Question 6Choose one

A marketing manager needs to import a CSV file into a data extension. The CSV file contains a header row. During the Import Activity configuration, the manager needs to ensure that the data from the file correctly maps to the fields in the destination data extension.

Question 7Choose one

A developer is building a CloudPage that accepts user input from a form field (` `) and displays it back on a confirmation page using AMPscript. They need to prevent Cross-Site Scripting (XSS) attacks where a user might input malicious JavaScript (e.g., ` alert('XSS') `).

Question 8Choose one

A developer is writing an SSJS script to add new subscribers to a data extension called 'Leads'. The script receives subscriber data from an external source. The developer wants to ensure that if a subscriber with the same primary key already exists, their record is updated; otherwise, a new record is inserted.

Question 9Choose one

A developer needs to get an OAuth 2.0 access token to make REST API calls to Marketing Cloud. They have already created an Installed Package in Setup and have the Client ID, Client Secret, and the tenant-specific authentication base URI.

Question 10Choose one

A developer is trying to debug an AMPscript block in a CloudPage that is not producing the expected output. They want to see the value of a variable `@myVar` at a certain point in the script's execution. Which is the most direct and effective way to output the value of `@myVar` for debugging purposes on the CloudPage? flowchart TD Start([Start]) --> SetVar[SET @myVar = "Debug Value"] SetVar --> Output{How to display @myVar?} Output --> A["%%=TreatAsContent(@myVar)=%%"] Output --> B["%%=v(@myVar)=%%"] Output --> C["%%[OUTPUT(@myVar)]%%"] Output --> D["%%[Write(@myVar)]%%"] B --> Stop([End])

10 more free samples are waiting

Create a free account to unlock the whole certified-marketing-cloud-developer sample bank, or get full access to all 203 practice questions in the simulator.

Create account