Qlik Sense Business Analyst Certification (2024) — Question 13

A data architect needs to develop a script to export tables from a model based upon rules from an independent file.
The structure of the text file with the export rules is as follows:
TableToExport, StoreAsFilename, NumberOfCopies

Customers, Clients,3 -

Orders, SalesOrders,1 -

Regions, Countries,2 -
These rules govern which table in the model to export, what the target root filename should be, and the number of copies to export.
The TableToExport values are already verified to exist in the model.
In addition, the format will always be QVD, and the copies will be incrementally numbered.
For example, the Customers table would be exported as:

Clients1.qvd -

Clients2.qvd -

Clients3.qvd -
What is the minimum set of scripting strategies the data architect must use?

Answer options

Correct answer: D

Explanation

The correct answer is D because the data architect can use two loops: one to iterate through the tables and another to handle the number of copies, without needing any conditional statements since the rules are straightforward. Options A, B, and C all suggest unnecessary conditional logic, which is not required for this task.