[2024年10月]更新のQlik QSDA2024試験練習テスト問題 [Q18-Q34]

Share

[2024年10月]更新のQlik QSDA2024試験練習テスト問題

更新された認定試験QSDA2024問題集で練習テスト問題


Qlik QSDA2024 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Data Model Design: In this section, data analysts and data architects are tested on their ability to determine relevant measures and attributes from each data source.
トピック 2
  • Data Connectivity: This part evaluates how data analysts to identify necessary data sources and connectors. It focuses on selecting the most appropriate methods for establishing connections to various data sources.
トピック 3
  • Identify Requirements: This section assesses the abilities of data analysts in defining key business requirements. It includes tasks such as identifying stakeholders, selecting relevant metrics, and determining the level of granularity and aggregation needed.
トピック 4
  • Validation: This section tests data analysts and data architects on how to validate and test scripts and data. It focuses on selecting the best methods for ensuring data accuracy and integrity in given scenarios.
トピック 5
  • Data Transformations: This section examines the skills of data analysts and data architects in creating data content based on specific requirements. It also covers handling null and blank data and documenting Data Load scripts.

 

質問 # 18
Exhibit.

A chart for monthly hospital admissions and discharges incorrectly displays the month and year values on the x-axis.
The date format for the source data field "Common Date" is M/D/YYYY. This format was used in a calculated field named "Month-Year" in the data manager when the data model was first built.
Which expression should the data architect use to fix this issue?

  • A. Date(InMontht[Common Date]),'MMM-YYYY')
  • B. Date(MonthsStart([Common Date]),'VMM-YYYY')
  • C. Date([Comraon Date],'MMM-YYYY')
  • D. Date(MonthStart([Common Date]),'MMM-YYYY')

正解:D

解説:
The issue described relates to the incorrect display of month and year values on the x-axis of a chart. The source data has dates in the M/D/YYYY format, and a calculated field named Month-Year was created using this date format.
To correct the issue:
* The correct approach is to use the MonthStart() function, which returns the first date of the month for the provided date. This ensures consistency in month-year representation.
* The Date() function is then used to format the result of MonthStart() to the desired format of MMM- YYYY (e.g., Feb-2018).
Explanation of the Correct Expression:
* MonthStart([Common Date]): This ensures that all dates within a month are treated as the first day of that month, which is critical for accurate monthly aggregation.
* Date(..., 'MMM-YYYY'): This formats the result to show just the month and year in the correct format.
Using this expression ensures that the x-axis correctly displays the month-year values.


質問 # 19
A data architect in the Enterprise Architecture team wants to develop a new application summarizing Qlik Sense usage by all company employees. They also want to gather usage metrics for other systems.
Who should the data architect contact to be granted access to the data?

  • A. IT Security Manager, Qlik Sense Account Manager, Enterprise Architecture Director
  • B. IT Security Analyst, Qlik Sense Developers, Solutions Architect
  • C. IT Security Director, Human Resources Director, Qlik Sense Administrator
  • D. IT Security Vice President, Human Resources Analyst, Qlik Sense Developers

正解:C

解説:
When developing an application that summarizes Qlik Sense usage by company employees and also gathers usage metrics for other systems, the data architect needs to ensure they have the correct access to sensitive data. The following roles are crucial:
* IT Security Director:Responsible for the security of IT systems and data. They would ensure that the data architect has the appropriate permissions to access usage metrics and other system data securely.
* Human Resources Director:They manage employee-related data, including employment records that might be necessary for matching employee IDs with usage metrics. This access is crucial for correlating usage data with specific employees.
* Qlik Sense Administrator:This individual has administrative rights over the Qlik Sense environment and can grant access to usage data within Qlik Sense, ensuring that the architect has the necessary data to analyze.
Given the need to securely and correctly handle sensitive data, including employee usage metrics across multiple systems,Option Aincludes all the appropriate contacts for access and permissions.


質問 # 20
Exhibit.

The Section Access security table for an app is shown. User ABC\PPP opens a Qlik Sense app with a table using the field called LEVEL on one of the table columns.
Which is the result?

  • A. The user gets a 'Field not found' error.
  • B. The table is removed from the user interface.
  • C. The user gets an 'Incomplete visualization' error.
  • D. The table is displayed without the LEVEL column.

正解:D

解説:
In this scenario, the Section Access security table controls user access to data within the Qlik Sense app. The user in question, ABC\PPP, has a specific entry in the security table that determines their access rights to the LEVEL field.
Understanding Section Access:
* Section Accessis used to enforce security by restricting access to certain data based on the user's credentials.
* In the security table provided, the USER role for ABC\PPP is set to have access to all data (* in the LINK field), but the OMIT field is set to LEVEL. The OMIT field in Section Access specifies fields that should be omitted from the user's view.
Outcome:
* Since the OMIT field for user ABC\PPP is set to LEVEL, this user will not have access to the LEVEL field in the Qlik Sense application.
Option D: The table is displayed without the LEVEL columnis the correct outcome.
* Explanation: When user ABC\PPP opens the app, the LEVEL field is omitted from their view. Any table or visualization that uses the LEVEL field will have that field excluded from display. The rest of the data and columns in the table will be visible, but the LEVEL column will not be shown.
References:
* Qlik Sense Security and Section Access Documentation: The OMIT functionality in Section Access is specifically designed to remove fields from the user's access, ensuring that sensitive or unnecessary data is not exposed.


質問 # 21
Exhibit.

Refer to the exhibit.
A data architect is loading two tables into a data model from a SQL database. These tables are related on key fields CustomerlD and Customer Key.
Which script should the data architect use?

  • A.
  • B.
  • C.
  • D.

正解:B

解説:
In the scenario, two tables (OrderDetails and Customers) are being loaded into the Qlik Sense data model, and these tables are related via the fields CustomerID and CustomerKey. The goal is to ensure that the relationship between these two tables is correctly established in Qlik Sense without creating synthetic keys or data inconsistencies.
* Option A:Renaming CustomerKey to CustomerID in the OrderDetails table ensures that the fields will have the same name across both tables, which is necessary to create the relationship. However, renaming is done using AS, which might create an issue if the fields in the original data source have a different meaning.
* Option B and C:These options use AUTONUMBER to convert the CustomerKey and CustomerID to unique numeric values. However, using AUTONUMBER for both fields without ensuring they are aligned correctly might lead to incorrect associations since AUTONUMBER generates unique values based on the order of data loading, and these might not match across tables.
* Option D:This approach loads the tables with their original field names and then uses the RENAME FIELD statement to align the field names (CustomerKey to CustomerID). This ensures that the key fields are correctly aligned across both tables, maintaining their relationship without introducing synthetic keys or mismatches.


質問 # 22
Exhibit.

Refer to the exhibit.
The data architect needs to build a model that contains Sales and Budget data for each customer. Some customers have Sales without a Budget, and other customers have a Budget with no Sales.
During loading, the data architect resolves a synthetic key by creating the composite key.
For validation, the data architect creates a table that contains Customer, Month, Sales, and Budget columns.
What will the data architect see when selecting a month?

  • A. Customer Names and Sales records for the selected month, Budgets column can contain null or non-null values
  • B. Customer Names and Budaets records for the selected month. Sales column can contain null or non-null values
  • C. All Customer Names for both Sales and Budget records for the selected month
  • D. Customer Names and Sales records for the selected month but with only non-null values in Budget column

正解:A

解説:
In the scenario where the data model is built with a composite key (keyYearMonthCustNo) to resolve synthetic keys, the following outcomes occur:
* Sales and Budget Data Integration:
* The composite key ensures that each combination of Year, Month, and Customer is uniquely represented in the combined Sales and Budget data.
* During data selection (e.g., when a specific month is selected), Qlik Sense will show all the customer names that have either Sales or Budget data associated with that month.
* Resulting Data View:
* For the selected month, customers with sales records will display their Sales data. However, if the corresponding Budget data is missing, the Budget column will contain null values.
* Similarly, if a customer has a Budget but no Sales data for the selected month, the Sales column will show null values.
Validation Outcome:When the data architect selects a month, they will see the following:
* Customer Names and Sales recordsfor the selected month, where the Sales column will have values and the Budget column may contain null or non-null values depending on the data availability.


質問 # 23
A data architect needs to write the expression for a measure on a KPI to show the sales person with the highest sales. The sort order of the values of the fields is unknown. When two or more sales people have sold the same amount, the expression should return all of those sales people.
Which expression should the data architect use?

  • A.
  • B.
  • C.
  • D.

正解:D

解説:
The requirement is to create a measure that identifies the salesperson with the highest sales. If multiple salespeople have the same highest sales amount, the measure should return all of those salespeople.
Explanation of Option A:
* Rank(Sum(Sales), 1):The Rank() function is used to rank salespersons based on the sum of their sales.
The rank 1 indicates the top position.
* Aggr() Function:This function aggregates the data and returns the results grouped by the SalesPerson field.
* IF() Condition:The IF condition checks if the salesperson's rank is 1 (highest sales).
* Concat(DISTINCT ...):The Concat() function concatenates all the salespersons who have the highest sales, separated by spaces or another delimiter, ensuring that all top performers are returned.
Example:
If three salespersons have the highest sales, this expression will return all three names separated by a space.


質問 # 24
Refer to the exhibit.

A company stores the employee data within a key composed of Country, UserlD, and Department. These fields are separated by a blank space. The UserlD field is composed of two characters that indicate the country followed by a unique code of two or three digits. A data architect wants to retrieve only that unique code.
Which function should the data architect use?

  • A.
  • B.
  • C.
  • D.

正解:B

解説:
In this scenario, the key is composed of three components: Country, UserID, and Department, separated by spaces. The UserID itself consists of a two-character country code followed by a unique code of two or three digits. The objective is to extract only this unique numeric code from the UserID field.
Explanation of the Correct Function:
* Option A: RIGHT(SUBFIELD(Key, ' ', 2), 3)
* SUBFIELD(Key, ' ', 2):This function extracts the second part of the key (i.e., the UserID) by splitting the string using spaces as delimiters.
* RIGHT(..., 3):After extracting the UserID, the RIGHT() function takes the last three characters of the string. This works because the unique code is either two or three digits, and the RIGHT() function will retrieve these digits from the UserID.
This combination ensures that the data architect extracts the unique code from the UserID field correctly.


質問 # 25
A data architect needs to upload data from ten different sources, but only if there are any changes after the last reload. When data is updated, a new file is placed into a folder mapped to E:\486396169. The data connection points to this folder.
The data architect plans a script which will:
1. Verify that the file exists
2. If the file exists, upload it Otherwise, skip to the next piece of code.
The script will repeat this subroutine for each source. When the script ends, all uploaded files will be removed with a batch procedure. Which option should the data architect use to meet these requirements?

  • A. FilePath, FOR EACH, Peek, Drop
  • B. FilePath, IF, THEN, Drop
  • C. FileSize, IF, THEN, END IF
  • D. FileExists, FOR EACH, IF

正解:D

解説:
In this scenario, the data architect needs to verify the existence of files before attempting to load them and then proceed accordingly. The correct approach involves using the FileExists() function to check for the presence of each file. If the file exists, the script should execute the file loading routine. The FOR EACH loop will handle multiple files, and the IF statement will control the conditional loading.
* FileExists(): This function checks whether a specific file exists at the specified path. If the file exists, it returns TRUE, allowing the script to proceed with loading the file.
* FOR EACH: This loop iterates over a list of items (in this case, file paths) and executes the enclosed code for each item.
* IF: This statement checks the condition returned by FileExists(). If TRUE, it executes the code block for loading the file; otherwise, it skips to the next iteration.
This combination ensures that the script loads data only if the files are present, optimizing the data loading process and preventing unnecessary errors.


質問 # 26
Exhibit.

While performing a data load from the source shown, the data architect notices it is NOT appropriate for the required analysis.
The data architect runs the following script to resolve this issue:

How many tables will this script create?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:D

解説:
In this scenario, the data architect is using a GENERIC LOAD statement in the script to handle the data structure provided. A GENERIC LOAD is used in Qlik Sense when you have data in a key-value pair structure and you want to transform it into a more traditional table structure, where each attribute becomes a column.
Given the input data table with three columns (Object, Attribute, Value), and the attributes in the Attribute field being either color, diameter, length, or width, the GENERIC LOAD will create separate tables based on the combinations of Object and each Attribute.
Here's how the GENERIC LOAD works:
* For each unique object(circle, rectangle, square), the GENERIC LOAD creates separate tables based on the distinct values of the Attribute field.
* Each of these tableswill contain two fields: Object and the specific attribute (e.g., color, diameter, length, width).
Breakdown:
* Table for circle:
* Fields: Object, color, diameter
* Table for rectangle:
* Fields: Object, color, length, width
* Table for square:
* Fields: Object, color, length
Each distinct attribute (color, diameter, length, width) and object combination generates a separate table.
Final Count of Tables:
* The script will create6 separate tables: one for each unique combination of Object and Attribute.
References:
* Qlik Sense Documentation on Generic Load: Generic loads are used to pivot key-value pair data structures into multiple tables, where each key (in this case, the Attribute field values) forms a new column in its own table.


質問 # 27

Refer to the exhibit
A large transport company (Company A) acquires a smaller rival (Company B).
Company A has been using Qlik Sense tor 6 years to track revenue per ship journey. Ship journeys with no revenue (such as journeys to shipyards for repair) always show revenue of $0.
Company A wants to combine its data set with the data set of the acquired Company B. Company B's ship journey data shows $0 revenue in one of the following ways:
* A NULL value
* A value with one or more blank spaces (ASCII char code 32)
The data architect wants to conform the Company B data to the Company A standard, specifically regarding the use of an explicit $0 for journeys without revenue. Which script line should the data architect use?

  • A.
  • B.
  • C.
  • D.

正解:D

解説:
In this scenario, the data architect needs to conform the revenue data from Company B to match the data standard of Company A, where $0 is explicitly used to represent journeys without revenue.
Explanation of the Correct Script:
* Option A:money(replace(Revenue, chr(32), 0)) AS [Revenue Conformed]
* replace(Revenue, chr(32), 0):This part of the expression replaces any spaces (ASCII character code 32) in the Revenue field with 0.
* money(...):This function formats the resulting value as currency. Since Company B may have either null values or spaces where 0 should be, this script ensures that any blanks are replaced with 0 and then formatted as currency.
Why Option A is Correct:
* Handling Spaces:The replace() function is effective in replacing spaces with 0, conforming to Company A's standard of using $0 for non-revenue journeys.
* Handling NULL Values:The money() function is used to ensure the final output is formatted as currency. However, it's important to note that NULL values are not directly handled by the replace() function, which is why it is applied before money() to deal with spaces.


質問 # 28
A data architect implements Section Access on an app to reduce the data for each user when the user logs in.
Each user is allowed to see their specific territory only.
The app is set for a scheduled reload every three hours. Without Section Access added, the app loads successfully. When Section Access is added and the script runs, the app fails to load.
What is causing this issue?

  • A. The service account running the task is not included in the Section Access table.
  • B. A user name listed in the Section Access table is spelled incorrectly.
  • C. The ACCESS Column in the Section Access table has been added in lowercase.
  • D. The data architect does not have rights to reload the app.

正解:A

解説:
When implementing Section Access in Qlik Sense, it is crucial that all accounts that need to access the data- including the service account that performs the scheduled reload-are included in the Section Access table. If the service account is not included, Qlik Sense will not be able to access any data, leading to a failure in the reload process.
Here's a breakdown of why the other options are less likely:
* A. The ACCESS column in the Section Access table has been added in lowercase:This would generally result in a syntax error, but it would not allow the script to execute successfully without causing an immediate failure, unrelated to Section Access.
* C. A user name listed in the Section Access table is spelled incorrectly:While this could lead to some users not having the correct access, it would not cause the entire reload to fail. The issue here is broader, affecting the entire application load process.
* D. The data architect does not have rights to reload the app:If the architect did not have rights, the script would not run successfully even without Section Access.
The correct issue in this scenario is thatthe service account running the task is not included in the Section Access table. This is a common cause of load failures after adding Section Access. To resolve this, ensure that the service account is added with sufficient privileges in the Section Access table


質問 # 29
A company generates l GB of ticketing data daily. The data is stored in multiple tables. Business users need to see trends of tickets processed for the past 2 years. Users very rarely access the transaction-level data for a specific date. Only the past 2 years of data must be loaded, which is 720 GB of data.
Which method should a data architect use to meet these requirements?

  • A. Load only aggregated data for 2 years and apply filters on a sheet for transaction data
  • B. Load only 2 years of data in an aggregated app and create a separate transaction app for occasional use
  • C. Load only 2 years of data and use best practices in scripting and visualization to calculate and display aggregated data
  • D. Load only aggregated data for 2 years and use On-Demand App Generation (ODAG) for transaction data

正解:D


質問 # 30
A data architect needs to load data from two different databases. Additional data will be added from a folder that contains QVDs, text files, and Excel files.
What is the minimum number of data connections required?

  • A. Five
  • B. Two
  • C. Three
  • D. Four

正解:B

解説:
In the scenario, the data architect needs to load data from two different databases, and additional data is located in a folder containing QVDs, text files, and Excel files.
Minimum Number of Data Connections Required:
* Database Connections:
* Each database requires a separate data connection. Therefore, two data connections are needed for the two databases.
* Folder Connection:
* A single folder data connection can be used to access all the QVDs, text files, and Excel files in the specified folder. Qlik Sense allows you to create a folder connection that can access multiple file types within that folder.
Total Connections:
* Two Database Connections: One for each database.
* One Folder Connection: To access the QVDs, text files, and Excel files.
Therefore, the minimum number of data connections required istwo.


質問 # 31
A data architect needs to upload data from ten different sources, but only if there are any changes after the last reload. When data is updated, a new file is placed into a folder mapped to E:\486396169. The data connection points to this folder.
The data architect plans a script which will:
1. Verify that the file exists
2. If the file exists, upload it Otherwise, skip to the next piece of code.
The script will repeat this subroutine for each source. When the script ends, all uploaded files will be removed with a batch procedure. Which option should the data architect use to meet these requirements?

  • A. FilePath, FOR EACH, Peek, Drop
  • B. FilePath, IF, THEN, Drop
  • C. FileSize, IF, THEN, END IF
  • D. FileExists, FOR EACH, IF

正解:D


質問 # 32
exhibit.

A data architect is validating that the script section, as shown in the exhibit, is working properly. They need to stop the script with a preview of the value used with the Load statement.
Where should the data architect put the debugger breakpoint?

  • A.
  • B.
  • C.
  • D.

正解:A

解説:
In this scenario, the data architect needs to validate the script and specifically ensure that the vMaxDate variable is being correctly utilized in the LOAD statement. The goal is to stop the script execution at a point where the variable's value can be previewed.
Understanding the Options:
* Option Aplaces the breakpoint just after the assignment of the variable vMaxDate in the Where clause but before any data is loaded.
* Option B, C, and Drepresent placements of the breakpoint after the LOAD statement begins processing the Resident table, which means that the variable vMaxDate would have already been utilized.
Correct Breakpoint Placement:
* Option Ais the correct choice because placing the breakpoint at this point allows you to preview the value of vMaxDate right before it is used in the Where clause. This placement ensures that the script execution halts before loading the data, allowing you to validate whether vMaxDate is correctly defined and whether it correctly filters the data based on the [Date] field.
* If the breakpoint were placed after the LOAD statement (as in Options B, C, or D), the script would have already attempted to load the data, making it too late to inspect the variable's value before it's used.
References:
* Qlik Sense Debugging Best Practices: When debugging, it is crucial to set breakpoints before the execution of a critical operation where the values of variables or fields are used to ensure that they hold the expected data.


質問 # 33
A data architect receives an error while running script.
What will happen to the existing data model?

  • A. The data model will be replaced with the tables that were successfully loaded before the error.
  • B. The latest error-free data model will be maintained.
  • C. Newly loaded tables will be merged with the existing data model until the error is resolved.
  • D. The data model will be removed from the application.

正解:B

解説:
In Qlik Sense, when a data load script is executed and an error occurs, the script execution is halted immediately, and any tables that were being loaded at the time of the error are discarded. However, the existing data model-i.e., the last successfully loaded data model-remains intact and is not affected by the failed script. This ensures that the application retains the last known good state of the data, avoiding any partial or inconsistent data loads that could occur due to an error.
When the script encounters an error:
* The tables that were successfully loaded prior to the error are retained in the session, but these tables are not merged with the existing data model.
* The existing data model before the script was executed remains unchanged and is maintained.
* No partial or incomplete data is loaded into the application; hence, the data model remains consistent and reliable.
Qlik Sense Data Architect ReferencesThis behavior is designed to protect the integrity of the data model. In scenarios where script execution fails, the user can debug and fix the script without risking the data integrity of the existing application. The key references include:
* Qlik Help Documentation: Provides detailed information on how Qlik Sense handles script errors, highlighting that the existing data model remains unchanged after an error.
* Data Load Editor Practices: Best practices dictate ensuring that the script is fully functional before executing it to avoid data inconsistency. In cases where an error occurs, understanding that the current data model is maintained helps in strategic debugging and script correction.


質問 # 34
......

更新された検証済みのQSDA2024問題集と解答で合格保証もしくは全額返金:https://www.passtest.jp/Qlik/QSDA2024-shiken.html

QSDA2024のPDF問題とテストエンジンには52問があります:https://drive.google.com/open?id=1oH3avCuz-XxIpeZqwfVDOhvw34G7bR-v