MCE-Dev-201無料試験学習ガイド!(更新された198問あります)
MCE-Dev-201問題集にはSalesforce Developers認証済み試験問題と解答
質問 # 94
A particular data extension need to be configured to store six months of data.
How shoulddata retention be added to the data extension in Email Studio?
- A. Import a file to overwrite the rows with six months of data
- B. Create a new data extension that includes data retention settings
- C. Run a query to overwrite the rows with six months of data
- D. Update the data extension configuration to include data retention settings.
正解:D
解説:
To configure a data extension to store data for six months, you should update the data extension configuration to include data retention settings.
* Data Retention Settings: You can configure data retention directly within the data extension settings in Email Studio to specify how long data should be retained. This ensures that data older than the specified period is automatically deleted.
* Go to Email Studio -> Subscribers -> Data Extensions.
* Select the data extension you want to configure.
* Click on "Properties".
* Under "Data Retention", set the retention period to six months and define the retention settings accordingly.
Salesforce Data Extension Retention Settings
質問 # 95
What is the purpose of the IF statement below?
- A. To handle when the subscriber is in a held status
- B. To handle when there are multiple records in the data extension for the subscriber
- C. To handle when no row is returned by the LookupRows function
- D. To handle when images are broken
正解:C
解説:
The purpose of the IF statement in the AMPscript code is to check if any rows are returned by the LookupRows function. If rows are returned, it retrieves the image field from the data extension and sets the image source accordingly. If no rows are returned, it defaults to using a standard image.
Salesforce AMPscript LookupRows Function
質問 # 96
A developer is building a landing page in Marketing Cloud and an email with a Call-To page will display personal information about the subscriber.
In which way could the developer create the CTA link?
- A. Use the AMPscript CloudPagesURLfunction.
- B. Append EmailAddress to the URL as an encoded parameter.
- C. Append SubscnberKey to the URL as an encoded parameter.
正解:A
解説:
To create a Call-To-Action (CTA) link in an email that will display personal information about the subscriber on a landing page, the developer should use the AMPscript CloudPagesURL function (A). This function generates a URL for a CloudPage and can include parameters such as SubscriberKey or EmailAddress, which will be passed to the landing page securely.
Example usage:
rectTo(@url)=%%">View Your Information</a>
This ensures that the SubscriberKey is securely passed to the CloudPage without exposing it directly in the URL.
References:
Salesforce Marketing Cloud AMPscript Guide: CloudPagesURL
Salesforce Marketing Cloud Documentation
質問 # 97
NTO wants use Personally Identifiable Information (PII) data to personalize email communications, but does not want to store PII data in Marketing Cloud. Which feature could they use topersonalize emails from an external data source?
- A. Tokenized Sending
- B. External Objects
- C. Salesforce Shield
- D. Single Sign-On
正解:A
質問 # 98
A developer wants to expand thefunctionality of existing code which was written in AMPscript, but prefers to use Server-Side JavaScript (SSJS) for updates.
Which SSJS statement will retrieve the value of the AMPscript variable named subKey?
- A. Variable.GetTValue (''@subKey") ;
- B. Variable.SetValue("subKey", "Value");
- C. Var.Retrieve("@subKey");
- D. Var.Get("subKey");
正解:D
解説:
To retrieve the value of the AMPscript variable named subKey in Server-Side JavaScript (SSJS), the following statement should be used:
Var.Get("subKey");
This statement retrieves the value of the specified AMPscript variable within SSJS.
References:
Salesforce Marketing Cloud SSJS Guide
AMPscript and SSJS Integration
質問 # 99
Certification Aid wants to create Contacts in Marketing Cloud via API calls. Which API should be used for this? Choose 2.
- A. REST API
- B. Contact object
- C. POST /contacts/v1/contacts route
- D. SOAP API
正解:A、C
解説:
To create contacts in Marketing Cloud via API calls, both the REST API and the specific POST route for contacts can be used:
* POST /contacts/v1/contacts route: This is a specific REST API endpoint designed to create new contacts in Marketing Cloud.
* REST API: The broader REST API provides various endpoints for managing contacts, including creation, updating, and deletion.
Salesforce Contacts API
質問 # 100
A field value returned from a DE lookupcontains a tab-delimited list of values. Which AMPscript function could easily determine if a specific text string exist anywhere in the list?
- A. IndexOf
- B. Length
- C. BuildRowSetFromString
- D. Substring
正解:C
解説:
To determine if a specific text string exists in a tab-delimited list of values, the BuildRowSetFromString AMPscript function is the most appropriate. This function splits the string into a rowset, making it easier to search for the specific text.
* BuildRowSetFromString Function: This function converts a delimited string into a rowset, which can then be iterated over or searched using other AMPscript functions.
SET @values = "val1\tval2\tval3" SET @rowset = BuildRowSetFromString(@values, "\t") SET @rowCount
= RowCount(@rowset) SET @found = "false" FOR @i = 1 TO @rowCount DO SET @row = Row (@rowset, @i) SET @value = Field(@row, 1) IF @value == "specificText" THEN SET @found = "true" /* exit the loop if found */ BREAK ENDIF NEXT @i Salesforce AMPscript Function Reference
質問 # 101
A developer used LookupRowsto retrieve data when building a dynamic email.
What should be the next step before using this rowset within a FOR loop?
- A. Use RowCount to ensure the rowset contains data
- B. Close the delimited AMPscrlpt Code Block
- C. Set the rowset to a new array variable
- D. Use Row to return a specific row of the rowset
正解:A
解説:
After using LookupRows to retrieve data when building a dynamic email, the next step before using this rowset within a FOR loop is to use RowCount to ensure the rowset contains data (D). This validation ensures that there are rows to iterate over, preventing potential errors or empty iterations in the FOR loop.
Example:
SET @rows = LookupRows("DataExtensionName", "FieldName", "Value") SET @rowCount = RowCount (@rows) IF @rowCount > 0 THEN FOR @i = 1 TO @rowCount DO SET @row = Row(@rows, @i) /* process each row */ NEXT @i ENDIF References:
Salesforce Marketing Cloud AMPscript Guide
AMPscript RowCount Function
質問 # 102
A developer created anemail with AMPscript variable as the subject line. The subject line variable was recently updated, but when testing the email, the wrong subject line continues to appear in the inbox. The developer thinks another, outdated, subject line variable is declared within the email. Where could the outdated variable be located?
- A. In the Text body which is processed after the subject line
- B. In theHTML body which is processed after the subject line
- C. In the Text body which is processed after the HTML body
- D. In the HTML body which is processed after the Text body
正解:B
解説:
The outdated subject line variable could be located in the HTML body which is processed after the subject line (D). This is because AMPscript variables declared in the HTML body can affect the overall email content, including the subject line, and if not updated, they can cause discrepancies in the displayed subject line.
References:
Salesforce Marketing Cloud AMPscript Guide
Email Subject Line Best Practices
質問 # 103
An email requires custom AMPscript to append the subscriber's zip code to a link in theemail. A field name zipcode already exist in the sending data extension. Its important Marketing Cloud tracks subscribers who click on the link. Which two AMPscript functions should be used in the setup? Choose
- A. RedirectTo
- B. Contact
- C. HTTPGet
- D. 2Lookup
正解:A、D
解説:
To append the subscriber's zip code to a link and ensure that the clicks are tracked, you should use the Lookup function to retrieve the zip code from the data extension and the RedirectTo function to create the link with tracking enabled.
* Lookup: Retrieves the zip code from the data extension.
* RedirectTo: Ensures that the link with the appended zip code is tracked.
* Example:
ampscript
Copy code
%%[ SET @zipcode = Lookup("DataExtensionName", "zipcode", "SubscriberKey", _subscriberkey) SET
@link = Concat("http://example.com?zip=", @zipcode) ]%% <a href="%%=RedirectTo(@link)=%%">Click Here</a> Salesforce AMPscript Lookup Function Salesforce AMPscript RedirectTo Function
質問 # 104
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?
- A. Describe
- B. Perform
- C. Configure
- D. Extract
正解:A
解説:
The Describe method in the SOAP API provides metadata about the objects available in the system, including Profile and Preference Attributes. This method can be used to dynamically retrieve and display these attributes in a custom profile center.
* Describe Method: This method returns the schema of the objects, including fields and their properties, which can be used to dynamically generate forms and interfaces.
Salesforce SOAP API Describe Method
質問 # 105
Northern Trails Outfitters (NTO)has a sendable data extension with 1,500,000 contact records they want to delete.
Which step is required before deleting the contacts?
- A. Navigate to Email Studio and delete the data extension
- B. Navigate to Contact Builder and delete the dataextension
- C. Divide the records in half and delete each resulting data extension
- D. Query the records into a new sendable data extension and delete it
正解:B
解説:
Before deleting a sendable data extension that contains a large number of contact records, it is important to manage the contact deletion through Contact Builder. Deleting the data extension from Contact Builder ensures that all related contact information is also removed from the contact model.
Salesforce Contact Builder
質問 # 106
A marketer is planning a weekly promotionalsend.
Which two types of data extensions could be sent to?
Choose 2 answers
- A. Synchronized Data Extension
- B. Send Log Data Extension
- C. Sendable Data Extension
- D. Salesforce Data Extension
正解:C、D
解説:
For a weekly promotional send, the marketer can use:
* Sendable Data Extension: These are standard data extensions that are configured for sending and contain the necessary fields like Email Address and Subscriber Key.
* Salesforce Data Extension: These are data extensions that are synchronized with Salesforce objects and can be used for sending emails.
Salesforce Data Extensions
質問 # 107
When appending data to links via Web Analytics Connector, which parameter should be used to track subscriber behavior?
- A. Subscriber Key
- B. Email Address
- C. Subscriber ID
- D. Contact Key
正解:A
解説:
The SubscriberKey is the appropriate parameter to use when appending data to links via the Web Analytics Connector. This parameter uniquely identifies subscribers across all sends and ensures accurate tracking of subscriber behavior.
* Subscriber Key: A unique identifier for a subscriber that remains consistent across all data extensions and sends.
Salesforce Web Analytics Connector
質問 # 108
NTO uses an external CRM which only exports encrypted files. NTO's marketing manager team wants to use some of the subscriber data found in the CRM for future marketing sends. Which three actions should be included in an automation given these requirements? Choose 3
- A. Import definition to the necessary data extension
- B. File drop to the SFTP Root directory
- C. File transfer activity to the Safehouse for decryption
- D. File drop to the SFTP Import directory
- E. File transfer activity to the Import directory for decryption
正解:A、C、D
解説:
To automate the process of importing encrypted files from an external CRM, the following actions should be included:
* File drop to the SFTP Import directory: Place the encrypted files in the SFTP Import directory to trigger the automation.
* File transfer activity to the Safehouse for decryption: Move the encrypted files to the Safehouse for decryption, ensuring the data is securely handled.
* Import definition to the necessary data extension: After decryption, import the data into the relevant Data Extension for use in marketing sends.
Salesforce File Drop Automations
Salesforce File Transfer Activity
Salesforce Import Activity
質問 # 109
A developerwants to transform the date and time 'Data_Enrolled' from Daylight Savings time. How would the developer change the time to fall back one hour?
- A. %%=DateAdd(Date_Enrolled,-1 'H')=%%
- B. %%=FormatDate(Date_Enrolled,-1,'HH','en-us')=%%
- C. %%=DataAdd(Date_Enrolled,-1)=%%
- D. %%=DateDiff(Date_Enrolled, 1,'H')=%%
正解:A
解説:
To transform the date and time 'Data_Enrolled' from Daylight Savings time and fall back one hour, the developer should use the following AMPscript function:
%%=DateAdd(Data_Enrolled, -1, 'H')=%%
This function subtracts one hour from the 'Data_Enrolled' date and time.
References:
Salesforce Marketing Cloud AMPscript Date Functions
Salesforce Marketing Cloud Documentation
質問 # 110
A developer wants to build out aseries of CloudPages that will interact with several REST APIs.
Which Marketing Cloud supported scripting tool should be used?
- A. SSJS
- B. AMPscript
- C. GTL
正解:A
解説:
To build out a series of CloudPages that will interact with several REST APIs, the developer should use SSJS (Server-Side JavaScript) (C). SSJS is supported in Marketing Cloud and provides robust capabilities for interacting with external APIs, handling HTTP requests, and processing data.
References:
Salesforce Marketing Cloud SSJS Guide
SSJS Functions
質問 # 111
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. UPDATE, ISDATE, CONVERT
- B. CASE, ISDATE, CONVERT
- C. WHERE, ISDATE, CONVERT
- D. CASE, ISDATE, CAST
正解:B、D
解説:
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:
SELECT CASE WHEN ISDATE(birthday) = 1 THEN CONVERT(DATE, birthday) ELSE NULL END AS normalized_birthday FROM StagingDataExtension References:
Salesforce Marketing Cloud SQL Reference
SQL CASE and ISDATE Functions
質問 # 112
NTO uses data extensions to manage the subscriber information usedfor their email sends, and those sends includes calls to update records with new or different subscriber information. The developer handling these records writes some AMPscript to check and see if the data extension containing those records updated usingan InsertDE() call if the record doesn't yet exist. Why would the developer receive an error stating the application cannot insert a duplicate value for the primary key in the data extension?
- A. The InsertDE function comes after the system added the row as part of the email send
- B. The InsertDE function cannot be used at send time
- C. The InsertDE function cannot be used with name and value pairs
- D. The InsertDE function will always insert two rows into a data extension as part of the call
正解:B
解説:
The error stating that the application cannot insert a duplicate value for the primary key in the data extension occurs because the InsertDE function cannot be used at send time. The InsertDE function is designed to insert records into a data extension, but it cannot handle the transactional nature of email sends where records might be added simultaneously.
References:
Salesforce Marketing Cloud AMPscript InsertDE Function
Salesforce Marketing Cloud Data Extension Best Practices
質問 # 113
Certification Aid wants to include SSJS in an email message. Which code block can be used for this? Choose
2.
- A. <script language=javascript></script>
- B. <script runat=server></script>
- C. <script runat=serverlanguage=javascript></script>
- D. <script language=ssjs></script>
正解:B、C
解説:
To include Server-Side JavaScript (SSJS) in an email message, you need to use the <script> tag with the runat="server" attribute. This ensures that the script runs on the server side before the email is sent.
* <script runat=server></script>: This is a valid way to include SSJS in an email. It specifies that the enclosed code should be executed on the server.
<script runat="server"> Platform.Load("Core","1"); var rows = Platform.Function.LookupRows ("DataExtensionName", "EmailAddress", "[email protected]"); </script> Salesforce SSJS Documentation
<script runat=server language=javascript></script>: This is another valid syntax. It specifies that the code within the script tag is JavaScript and should run on the server.
<script runat="server" language="javascript"> Platform.Load("Core","1"); var rows = Platform.Function.
LookupRows("DataExtensionName", "EmailAddress", "[email protected]"); </script> Reference: Salesforce SSJS Documentation
質問 # 114
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 answers
- A. Subscribers
- B. Contact
- C. TriggeredSendDefinition
- D. Attribute
正解:A、C
解説:
To successfully create a TriggeredSend object using AMPscript's API functions to send a confirmation email when an email is texted into their shortcode, the following objects are required:
* Subscribers (A) - Represents the individual recipients who will receive the triggered email.
* TriggeredSendDefinition (B) - Defines the parameters of the triggered send, including the email to be sent and the associated attributes.
References:
Salesforce Marketing Cloud Triggered Send
Salesforce Marketing Cloud AMPscript API Functions
質問 # 115
......
実際問題を使ってMCE-Dev-201問題集で100%無料MCE-Dev-201試験問題集:https://www.passtest.jp/Salesforce/MCE-Dev-201-shiken.html
実際に出ると確認されたのMCE-Dev-201試験問題集と解答でMCE-Dev-201無料更新:https://drive.google.com/open?id=1f9XKJcaeN0CRuCZEqI-AdkM9qRBbzmqP