Question 1
Q1A financial services company needs to generate a highly personalized email containing a complex data table built from three different data extensions: Customers, Accounts, and Transactions. Due to performance concerns with nested LookupRows calls within a FOR loop during the send context, an architect has recommended pre-processing the data. The goal is to aggregate transaction data into a single JSON object and store it in a staging Data Extension before the send.
Show answer & explanation
Correct answer: A
This approach represents a best practice by separating the heavy data processing from the presentation layer. SSJS is more powerful and better suited for complex data manipulation, array handling, and JSON creation in a Script Activity. This pre-processing step ensures that the email rendering context only needs to perform a simple lookup and use the efficient BuildRowsetFromJSON function, leading to faster send times and avoiding timeouts.