Microsoft 70-466 Exam Practice Questions (P. 1)
- Full Access (190 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
You are creating a table named Orders. You need to ensure that every time a new row is added to the Orders table, a user-defined function is called to validate the row before the row is added to the table.
What should you use? More than one answer choice may achieve the goal. Select the BEST answer.
What should you use? More than one answer choice may achieve the goal. Select the BEST answer.
- AA FOREIGN KEY constraint
- BA data manipulation language (DML) trigger
- CA DEFAULT constraint
- DA CHECK constraint
- EA Data Definition Language (DDL) trigger
Correct Answer:
B
DML triggers is a special type of stored procedure that automatically takes effect when a data manipulation language (DML) event takes place that affects the table or view defined in the trigger. DML events include INSERT, UPDATE, or DELETE statements. DML triggers can be used to enforce business rules and data integrity, query other tables, and include complex Transact-SQL statements.
Incorrect Answers:
D: CHECK constraints enforce domain integrity by limiting the values that are accepted by one or more columns. You can create a CHECK constraint with any logical (Boolean) expression that returns TRUE or FALSE based on the logical operators.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/triggers/dml-triggers
B
DML triggers is a special type of stored procedure that automatically takes effect when a data manipulation language (DML) event takes place that affects the table or view defined in the trigger. DML events include INSERT, UPDATE, or DELETE statements. DML triggers can be used to enforce business rules and data integrity, query other tables, and include complex Transact-SQL statements.
Incorrect Answers:
D: CHECK constraints enforce domain integrity by limiting the values that are accepted by one or more columns. You can create a CHECK constraint with any logical (Boolean) expression that returns TRUE or FALSE based on the logical operators.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/triggers/dml-triggers
send
light_mode
delete
Question #2
You are developing a SQL Server Analysis Services (SSAS) tabular project. The model includes a table named Sales. The Sales table includes a single date column.
The Sales table must meet the following requirements:
✑ Queries must be able to return all rows.
✑ Must be able to support four different processing schedules for different date ranges.
✑ Date ranges must not include any overlapping data.
You need to implement a solution that meets the requirements.
What should you do?
The Sales table must meet the following requirements:
✑ Queries must be able to return all rows.
✑ Must be able to support four different processing schedules for different date ranges.
✑ Date ranges must not include any overlapping data.
You need to implement a solution that meets the requirements.
What should you do?
- ACreate four partitions for the Sales table. Create four roles. Use the same row filter queries for each role and partition.
- BConvert the Sales table into four smaller tables by using row filter queries. Use one perspective for all four tables.
- CCreate four partitions for the Sales table. Use row filter queries for each partition.
- DConvert the Sales table into four smaller tables by using row filter queries. Use one perspective for each of the four tables.
Correct Answer:
C
C
send
light_mode
delete
Question #3
You are administrating a SQL Server Analysis Services (SSAS) tabular database.
You need to create a new role that allows its members to query data and to refresh data in the model.
Which permission should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)
You need to create a new role that allows its members to query data and to refresh data in the model.
Which permission should you use? (More than one answer choice may achieve the goal. Select the BEST answer.)
- ABrowse and Manage
- BAdministrator
- CRead and Process
- DExplore and Manage
Correct Answer:
C
* Giving a database role permission to process an Analysis Services database means that the role has permission to perform all processing options on the database. This includes the processing of all cubes, dimensions, mining structures, and mining models in the database. However, the role does not have permission to read database metadata or access any data in the database itself.
C
* Giving a database role permission to process an Analysis Services database means that the role has permission to perform all processing options on the database. This includes the processing of all cubes, dimensions, mining structures, and mining models in the database. However, the role does not have permission to read database metadata or access any data in the database itself.
send
light_mode
delete
Question #4
You are developing a SQL Server Analysis Services (SSAS) tabular project.
A column named City must be added to the table named Customer. The column will be used in the definition of a hierarchy. The City column exists in the
Geography table that is related to the Customer table.
You need to add the City column to the Customer table.
How should you write the calculation?
A column named City must be added to the table named Customer. The column will be used in the definition of a hierarchy. The City column exists in the
Geography table that is related to the Customer table.
You need to add the City column to the Customer table.
How should you write the calculation?
- ACity:= LOOKUP(Geography[City],Geography[GeographyKey],[GeographyKey])
- BCity:= LOOKUPVALUE(Geography[City],Geography[GeographyKey],[GeographyKey])
- C=RELATED(Geography[City])
- D=RELATED(Geography.City)
- E=VALUES(Geography[City])
- FCity:=VALUES(Geography[City])
Correct Answer:
C
* RELATED Function
Returns a related value from another table.
C
* RELATED Function
Returns a related value from another table.
send
light_mode
delete
Question #5
You are managing a SQL Server Analysis Services (SSAS) tabular database.
The database must meet the following requirements:
✑ The processing must load data into partitions or tables.
✑ The processing must not rebuild hierarchies or relationships.
✑ The processing must not recalculate calculated columns.
You need to implement a processing strategy for the database to meet the requirements.
Which processing mode should you use?
The database must meet the following requirements:
✑ The processing must load data into partitions or tables.
✑ The processing must not rebuild hierarchies or relationships.
✑ The processing must not recalculate calculated columns.
You need to implement a processing strategy for the database to meet the requirements.
Which processing mode should you use?
- AProcess Clear
- BProcess Data
- CProcess Add
- DProcess Full
- EProcess Default
Correct Answer:
C
Process Add: This processing mode is available for Dimensions, Measure Groups and Partitions. When this processing mode is applied to Dimensions, it adds new members into the dimensions from the underlying database and updates the descriptions of the attributes. When this processing mode is applied to Measure
Groups and Partitions, it adds the incremental fact data into the cube and processes only the affected partitions.
Incorrect Answers:
B: Process Data: This processing mode is available for Dimensions, Measure Groups, Partitions, and Cubes. This processing mode is used to process the data without actually building or creating the aggregations and indexes.
References:
https://www.mssqltips.com/sqlservertip/2756/ssas-interview-questions-on-deployment-processing-querying-and-accessing/
C
Process Add: This processing mode is available for Dimensions, Measure Groups and Partitions. When this processing mode is applied to Dimensions, it adds new members into the dimensions from the underlying database and updates the descriptions of the attributes. When this processing mode is applied to Measure
Groups and Partitions, it adds the incremental fact data into the cube and processes only the affected partitions.
Incorrect Answers:
B: Process Data: This processing mode is available for Dimensions, Measure Groups, Partitions, and Cubes. This processing mode is used to process the data without actually building or creating the aggregations and indexes.
References:
https://www.mssqltips.com/sqlservertip/2756/ssas-interview-questions-on-deployment-processing-querying-and-accessing/
send
light_mode
delete
All Pages