MCE-Con-201 practice question 6 of 10
A customer asks why the send time values within an email are not being added to a Send Log. Which two actions would successfully write send time variables to their Send Log? (Choose 2 answers)
Full set: 160 questionsTo write custom data to a Send Log during a send, two actions are essential. First, Send Logging must be explicitly enabled for the send. This is done by checking the "Enable Send Logging to a Data Extension" option in the send flow and selecting the target Send Log DE. Second, to populate custom fields, you must declare an AMPscript variable in the email's content with a name that exactly matches the field name in the Send Log data extension. Marketing Cloud automatically maps and populates these matching fields at send time.
B. Linking a Send Log in an attribute group is for data modeling and visibility in Contact Builder; it does not enable or control the data-writing process during a send.
D. The WriteToLog() function does not exist in AMPscript. Data extension write operations use functions like InsertDE() or UpsertDE(), which are not the standard method for populating a Send Log.
1. Salesforce Help. (2023). Send Logging. "To use send logging, create a data extension using the SendLog template. Then, in your send, select that data extension... To pass values to the send log, create attributes in the email for each field in the send log data extension you want to populate."
2. Salesforce Developer Documentation. (2023). AMPscript Language Elements. This documentation lists all available AMPscript functions; WriteToLog() is not among them.
3. Salesforce Help. (2023). Create a Send Log Data Extension. "To populate a column in your send log, ensure an attribute or variable in your send has the same name as the column in the send log data extension." This directly confirms the variable-to-field name matching mechanism.
Keep practicing
Take the free MCE-Con-201 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MCE-Con-201 practice questions
- Question 1Northern Trail Outfitters is sending to an audience of over one million subscribers. They…
- Question 2Northern Trail Outfitters (NTO) wants email subscribers to adopt their app. They are inve…
- Question 3Northern Trail Outfitters wants to suppress their highly engaged email subscribers (multi…
- Question 4Northern Trail Outfitters is growing and acquiring other organizations, each with its own…
- Question 5Northern Trail Outfitters (NTO) wants to send an email to all Contacts who have signed up…
- Question 7Northern Trail Outfitters (NTO) plans on sending SMS and push notifications together with…
