Marketing-Cloud-Developer Exam Questions

Total 196 Questions


Last Updated On : 16-Jan-2025

A company has chosen to use the REST API for triggered sends, but they continue to get the following error during their testing: "Unable to queue Triggered Send request. There are no valid subscribers." They were informed that the SOAP API provides more information about the error, and found that their payload did not include a required data extension field. Which element of the SOAP API response provides this level of detail?


A. ErrorDescription


B. OverallStatus


C. ErrorCode





A.
  ErrorDescription

Explanation:

In the SOAP API response, the element that provides detailed information about the error, including missing required data extension fields, is ErrorDescription (A). This element contains a description of the error, helping developers understand and resolve the issue.

References:

Salesforce Marketing Cloud SOAP API

SOAP API Error Handling

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?


A. ListSubscribers


B. ENT._Subscribers


C. _BusinessUnitUnsubscribes


D. .Subscribers





C.
  _BusinessUnitUnsubscribes


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 namingpattern is encountered in the Import folder. The first step of the automation is a File Import Activity referencing a substion string for the matching file. Which substituon string represents the name of the file?


A. %%FILENAME%%


B. %%TRIGGER_FILENAME%%


C. %%FILENAME_FROM_TRIGGER%%


D. %%FILENAME_FROM_IMPORT%%





B.
  %%TRIGGER_FILENAME%%

Explanation:

When configuring an automation to import files placed on the SFTP, and starting the automation based on a file matching a specific naming pattern, the substitution string that represents the name of the file is %%TRIGGER_FILENAME%%. This substitution string is used to reference the filename of the triggering file in the File Import Activity.

References:

Salesforce Marketing Cloud Documentation on Automation Studio

File Import Activity

A developer needs to display a value which hasbeen calculated using an AMPscript block. This value is stored in the variable named 'Label'. Which two ways should the developer display this value in the body of an email? Choose 2 answers


A. %%-v(@Label) -%%


B. %%@Label%%


C. %%(Write (@Label1) 1%%





A.
  %%-v(@Label) -%%

B.
  %%@Label%%

Whichencryption methods are supported in file imports? Choose 2.


A. PGP


B. GPG


C. AES


D. SSH





A.
  PGP

B.
  GPG

Which activity is required before a compressed file can be imported?


A. Import File


B. Data Extract


C. Decompress File


D. File Transfer





D.
  File Transfer

Explanation:

Before importing a compressed file into Marketing Cloud, a File Transfer activity is required to move and decompress the file. The File Transfer activity allows you to specify the source and destination locations and to decompress the file, making it ready for the import process.

[: Salesforce File Transfer Activity, , ]

Which of the followingis a valid comment within an AMPscript code block? Choose 1.


A. --comment


B. // comment


C. - comment -->


D. /* comment */





D.
  /* comment */

Explanation:

In AMPscript, the valid syntax for comments is /* comment */. This allows you to add comments within your AMPscript code for documentation or clarification purposes.

[: Salesforce AMPscript Syntax Guide, , , ]

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?


A. File Drop Automation


B. Scheduled Automation


C. Dynamic File Import





A.
  File Drop Automation

Explanation:

A File Drop Automation should be configured to handle files that arrive at varying times and have unique filenames. This type of automation triggers when a file is dropped into a specific folder on the Enhanced FTP site, allowing the system to handle imports as soon as the file arrives. [: Salesforce File Drop Automations, , , , ]

Which AMPscript function returns the result of interpreted code within a code block and includes the result in the rendered content, where the code block is located?


A. V


B. Output


C. TreatAsContentArea





B.
  Output

Explanation:

The Output function in AMPscript is used to include the result of interpreted code within a code block in the rendered content. This function ensures that the evaluated result of the code is included directly where the Output function is called.

Example:

ampscript

Copy code

%%[ SET @message = "Hello, World!" ]%% %%=Output(@message)=%% [: Salesforce AMPscript Output Function, , , , ]

Which action could the RaiseError AMPscript function be configured to perform?


A. Delete the subscriber record


B. Update the subscriber's status


C. Log the source of theerror





C.
  Log the source of theerror

Explanation:

The RaiseError AMPscript function can be configured to log the source of the error (C). This functionality is useful for error handling and debugging, allowing administrators to identify the cause of an issue and take appropriate action.

References:

Salesforce Marketing Cloud AMPscript Guide: RaiseError


Page 5 out of 20 Pages
Previous