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
Explanation:
When importing data files into Salesforce Marketing Cloud via Enhanced FTP, the platform supports PGP (Pretty Good Privacy) and AES (Advanced Encryption Standard) encryption methods for securing files.
A. PGP encryption is widely used for encrypting files and messages, and Marketing Cloud supports PGP-encrypted files for import and export.
D. AES encryption is a symmetric encryption standard, and Marketing Cloud also supports files encrypted with AES for secure data handling.
Why the other options are incorrect:
B. RSA encryption is an asymmetric encryption algorithm, primarily used for encrypting small data pieces or keys, not typically for entire files in this context.
C. GPG encryption refers to GNU Privacy Guard, which is an implementation of OpenPGP. While GPG is related to PGP, Marketing Cloud specifically supports PGP encryption (the standard term) rather than GPG.
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)
Explanation:
A) Text
The Text data type is the most appropriate choice for the Purchase_Price column because it maintains the exact formatting of the original data, including currency symbols and varying decimal formats. When dealing with values like "$.05" and "$100", using a numeric data type would either strip away the dollar sign or cause import errors. Text preserves all characters exactly as they appear in the source file, ensuring no data loss occurs during the import process. This is particularly important for transactional data where maintaining the original formatting might be required for reporting or compliance purposes. Additionally, Text fields have no restrictions on character types, making them versatile for storing mixed-format data that might include special characters, symbols, or irregular number formats.
Why the other options are incorrect:
B) Number
The Number data type is unsuitable for this scenario because it cannot properly handle the currency symbols and special formatting present in the Purchase_Price values. Numeric fields automatically remove non-numeric characters like dollar signs during import, which would alter the original data. Values such as "$.05" would either be converted to "0.05" (losing the currency indicator) or potentially cause the entire import to fail if strict validation is enabled. This data type is designed for pure numeric values without any formatting or symbols, making it inappropriate for financial data that includes currency notation. Using Number in this case would compromise data integrity and potentially lead to reporting inaccuracies.
C) Decimal(9,2)
While Decimal(9,2) might seem appropriate for monetary values, it shares the same limitations as the Number data type when it comes to handling formatted currency data. The decimal field would strip out the dollar signs from values like "$100" and "$.05", potentially converting them to "100.00" and "0.05" respectively. This automatic conversion would destroy the original formatting of the data. Although Decimal fields can store precise monetary amounts, they require the data to be clean and properly formatted before import. For raw transactional data that includes currency symbols, using Decimal would necessitate additional preprocessing steps to remove formatting characters, making it an inefficient and potentially risky choice.
Customer data has been imported into a staging data extension and needs 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
Explanation:
A) CASE, ISDATE, CONVERT
The combination of these SQL keywords and functions is ideal for normalizing date values in the 'birthday' field. The ISDATE() function can validate whether a text value represents a proper date, while CASE allows conditional logic to handle both valid and invalid dates differently. CONVERT() is specifically designed to transform valid date strings into proper date data types while allowing format specification. This approach enables a comprehensive solution: checking date validity with ISDATE(), applying conditional logic with CASE, and properly converting valid dates while handling invalid ones gracefully. The CONVERT function is particularly useful for dates as it supports explicit style parameters for different date formats.
C) CASE, ISDATE, CAST
This combination also effectively addresses the date normalization challenge. Similar to option A, ISDATE() validates the date strings and CASE provides the conditional handling. While CAST() can convert valid dates, it's slightly less flexible than CONVERT() for dates as it doesn't support format styles. However, CAST is ANSI SQL standard and works well for basic date conversions. This approach would successfully identify valid dates through ISDATE(), process them conditionally with CASE, and convert them using CAST, making it a valid alternative for this normalization task.
Why the other options are incorrect:
B) WHERE, ISDATE, CONVERT
This combination is inadequate for comprehensive date normalization. While ISDATE() can identify valid dates and CONVERT() can transform them, the WHERE clause alone cannot provide the necessary conditional logic to handle both valid and invalid dates appropriately. WHERE is used for filtering rather than transformation, and this approach would either process only valid dates (missing the normalization of invalid ones) or require additional statements to handle the full dataset. The lack of CASE means there's no way to implement different handling paths for valid versus invalid date formats within a single query.
D) UPDATE, ISDATE, CONVERT
While these components could be part of a solution, they don't form a complete approach for normalizing dates in a single query. UPDATE is a DML statement rather than a function, and using it would require separate statements for valid and invalid dates. The combination lacks the conditional logic provided by CASE, making it impossible to handle both valid and invalid dates in one operation. This approach would necessitate multiple passes through the data - first to identify valid dates with ISDATE(), then to convert them with CONVERT(), and additional logic to handle invalid dates, resulting in a less efficient and more complex solution than options A or C.
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}
Explanation:
B) POST /interaction/v1/events
This is the primary REST API endpoint used to inject contacts into a Marketing Cloud journey. It allows you to send event data that triggers a contact's entry into an interaction (journey). The endpoint requires the event definition key and the contact data in the payload. This is the most direct method for programmatically adding contacts to a journey, as it's specifically designed for real-time interaction entry. The request must include the ContactKey and any required event data that matches the journey's entry criteria.
C) POST /interaction/v1/interactions/contactentry
This endpoint is also valid for injecting contacts into journeys, though it's considered a legacy endpoint. It serves a similar purpose to option B but uses slightly different syntax. This method is still supported and can be used when you need to add contacts to a journey programmatically. It requires the interactionId (journey ID) and the ContactKey in the payload, along with any other required data points for journey entry evaluation.
Why the other options are incorrect:
A) POST /eventDefinitions/key:{key} or /eventDefinitions/{id}
This is incorrect because these endpoints are used for managing event definitions themselves, not for injecting contacts into journeys. The POST method on these endpoints would be used to create or update event definitions, not to trigger contacts entering a journey. These are configuration endpoints rather than operational endpoints for journey participation.
D) GET /eventDefinitions/key:{key}
This is incorrect because a GET request is used to retrieve information about an event definition, not to inject contacts into a journey. This would return metadata about the event definition but wouldn't have any effect on journey participation. GET requests are read-only operations and cannot be used to trigger contact entry into journeys.
Key Takeaways:
1. Use POST /interaction/v1/events (preferred) or POST /interaction/v1/interactions/contactentry (legacy) to inject contacts
2. The other endpoints are for managing/configuring events, not triggering journey entry
3. Always include the ContactKey and required event data in your payload
4. Ensure your API user has the appropriate permissions for interaction events
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();
Explanation:
To retrieve JSON data from an external API and write it into a Data Extension in Marketing Cloud using Server-Side JavaScript (SSJS), the typical workflow involves:
1. Platform.Function.HTTPGet() — This function is used to perform an HTTP GET request to fetch the JSON data from the customer's API endpoint.
2. Platform.Function.ParseJSON() — After retrieving the raw JSON string, this function parses the JSON into a usable JavaScript object for further processing.
3. Platform.Function.UpsertData() — This function inserts or updates rows in the specified Data Extension with the parsed data.
Why the other options are incorrect:
A. InvokeRetrieve() is used to retrieve data from Marketing Cloud objects, not external APIs.
C. Stringify() converts JavaScript objects to JSON strings — not needed here for reading and storing data.
D. Platform.Response.Write() is for writing output to the response, not for data storage or retrieval, and HTTPGe is a typo.
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.
Explanation:
A 401 Unauthorized error when making REST API calls in Marketing Cloud usually indicates an authentication or authorization issue.
Even if the Client ID and Client Secret are valid and authentication was successful before, the associated API integration (Installed Package) must have the proper permissions/scopes enabled to perform specific actions, such as sending emails via Triggered Sends.
For a Triggered Send REST API call to succeed, the API integration must have Send permissions enabled under the Installed Package settings.
Why the other options are incorrect:
B. The email interaction has been started — This relates to Journey Builder and interactions, not triggered sends.
C. The automation permissions are unrelated to triggered send API calls.
D. The email interaction has been published — This is necessary for journeys but not for triggered sends.
A developer started a Contact Delete process that is now complete. In which two places 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
Explanation:
When the Contact Delete process in Marketing Cloud completes, it removes contact data from places where the contact is actively used or stored. This includes:
Sendable Data Extensions: These hold subscriber/contact data that can be used for sending emails or messages. Contact Delete removes matching contact records from these.
Mobile Lists: These are used for SMS/MobilePush contacts. Contact Delete removes the contact from mobile lists as well.
Why the other options are incorrect:
A. Non-Sendable Data Extensions: Contact Delete does not automatically remove data from non-sendable data extensions since these are often used for reference or transactional data unrelated directly to contacts.
B. Import Files on the Enhanced SFTP: Contact Delete only affects data inside Marketing Cloud databases and lists; it does not remove or modify files on the FTP server.
Certification Aid wants to update Contact data stored in a Data Extension using the REST API. What is required to achieve this?
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.
Explanation:
C) The Data Extension must be sendable.
To update Contact data in a Data Extension using the REST API, the Data Extension must be sendable (i.e., marked as "Sendable" and linked to a Subscriber Key). This is because:
1. Sendable Data Extensions are explicitly tied to the Contact/Subscriber model in Marketing Cloud, allowing them to be updated via API calls.
2. The REST API requires a mapped relationship (via Subscriber Key or Contact Key) to identify and modify records.
3. Non-sendable Data Extensions (standard DEs) cannot be updated via REST API—they require SQL or file imports.
Why the other options are incorrect:
A) The Data Extension must be in an Attribute Group.
Attribute Groups are used for Contact Builder, not API updates.
They organize data attributes but do not affect API accessibility.
B) The Data Extension must be in a Population.
Populations are used in Journey Builder for audience segmentation.
They do not determine API accessibility for updates.
D) The Data Extension must be created in Email Studio.
Data Extensions can be created in Contact Builder, Automation Studio, or Email Studio.
The creation location does not impact API functionality—only being "Sendable" matters.
Key Takeaway:
Only Sendable Data Extensions can be updated via REST API.
Ensure the DE has:
1. A Primary Key (usually Subscriber/Contact Key).
2. The "Sendable" checkbox enabled with a defined relationship.
Use PUT /data/v1/async/dataextensions/key:{DE_KEY}/rows for updates.
A developer wants to create a data model in Contact Builder. Which two applications will be able to use this newly-created data model for segmentation? Choose 2 answers
A. Email Studio
B. Automation Studio
C. Journey Builder
D. Mobile Studio
Explanation:
A. Email Studio
📧 Email Studio can leverage the data model created in Contact Builder to perform targeted segmentation for email sends. The relationships and data extensions linked in Contact Builder provide a unified contact view that Email Studio uses to build precise audience segments for campaigns.
C. Journey Builder
🚀 Journey Builder uses the Contact Builder data model to define entry sources and decision splits based on contact attributes and related data. This allows journeys to be personalized and segmented dynamically, utilizing the relationships defined in the Contact Builder data model.
❌ Why the other options are incorrect:
B. Automation Studio
⚙️ Automation Studio is primarily designed for automating data imports, exports, and activities but does not perform segmentation directly. It works with data but does not use the Contact Builder data model for audience segmentation.
D. Mobile Studio
📱 Mobile Studio uses lists and data extensions for messaging but does not natively integrate with Contact Builder data models for segmentation in the same way Email Studio or Journey Builder do. Segmentation in Mobile Studio tends to rely on simpler subscriber lists rather than complex Contact Builder models.
Certification Aid wants to implement a custom profile center using SOAP API. Which SOAP API methods are relevant to achieve this? (Choose 2.)
A. Extract
B. Describe
C. Update
D. Configure
Explanation:
B. Describe
🔍 The Describe method allows the developer to retrieve the metadata of an object, such as Subscriber attributes and Data Extension fields. This is crucial in a custom profile center to dynamically display profile fields that can be updated by the user.
C. Update
✏️ The Update method is used to modify existing subscriber data or profile attributes. When a subscriber submits changes in the custom profile center, the Update method updates their profile data in Marketing Cloud via the SOAP API.
❌ Why the other options are incorrect:
A. Extract
📤 The Extract method is used to retrieve large sets of data from Marketing Cloud, typically for data export. It is not relevant for updating subscriber profile information in a custom profile center.
D. Configure
⚙️ There is no Configure method in the Marketing Cloud SOAP API related to managing subscriber data or profile updates. This option is invalid for this use case.
Certification Aid uses Marketing Cloud Connect and wants to create a lead capture form on a landing page. When a customer submits the form, a Lead record should be created in Salesforce. Which scripting language can be used for this? (Choose 2.)
A. AMPscript to create Salesforce record, SSJS for form handling.
B. SSJS to create Salesforce record, AMPscript for form handling.
C. AMPscript for whole functionality.
D. SSJS for whole functionality.
Explanation:
A. AMPscript to create Salesforce record, SSJS for form handling.
🛠️ AMPscript has built-in functions like CreateSalesforceObject() that allow creation of Salesforce records directly from Marketing Cloud landing pages. SSJS (Server-Side JavaScript) is often used for handling form submissions (validation, processing input) and then can call AMPscript functions or execute API calls to Salesforce.
C. AMPscript for whole functionality.
⚡ AMPscript alone can handle both form processing and Salesforce record creation using its native functions. It simplifies the solution since it directly supports Salesforce integration without requiring additional SSJS for basic use cases.
❌ Why the other options are incorrect:
B. SSJS to create Salesforce record, AMPscript for form handling.
⚠️ SSJS does not have native functions to create Salesforce records as easily as AMPscript. It would require complex REST API calls and OAuth handling, making it less ideal for this scenario.
D. SSJS for whole functionality.
🛑 While SSJS can handle form logic, it lacks straightforward native methods for Salesforce record creation, requiring more complex API implementations compared to AMPscript.
A developer needs to know how many records are contained in a particular data extension. This will dictate what is displayed on a landing page. Which AMPscript function returns the number of rows in a specified data extension?
A. LookupRowCount
B. DataExtensionRowCount
C. RowCount
Explanation:
📊 DataExtensionRowCount is the AMPscript function designed specifically to return the total number of rows present in a given Data Extension. This is useful when you need to dynamically display the number of records on a landing page or within an email.
❌ Why the other options are incorrect:
A. LookupRowCount
🔍 This function does not exist in AMPscript. It might be confused with LookupRows, but there is no LookupRowCount function.
C. RowCount
⚠️ RowCount is a function that returns the number of rows in a RowSet (a result set from a lookup or query), not directly the total rows in a Data Extension.
| Page 7 out of 17 Pages |
| Previous |