070-464日本語 無料問題集「Microsoft Developing Microsoft SQL Server Databases (070-464日本語版)」
database1という名前のSQL Server 2012データベースがあります。
ユーザーは、実行に1秒以内、実行に30秒以上かかるクエリを報告します。
クエリが実行されたときのサーバーリソースの消費量を確認する必要があります。
あなたは何をするべきか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

ユーザーは、実行に1秒以内、実行に30秒以上かかるクエリを報告します。
クエリが実行されたときのサーバーリソースの消費量を確認する必要があります。
あなたは何をするべきか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

正解:

Explanation:
Note:
* (step1, step 2) Both the Profiler trace and the Performance Monitor logs should be started and stopped at about the same time.
* (step 3, step 4) Once you have completed capturing the data for both tools, you are ready to perform the correlation analysis.
* (step 5) How to Correlate SQL Server Profiler Data with Performance Monitor Data Correlating Performance Monitor and Profiler data is a straightforward process that simply involves importing both sets of data into Profiler. Start Profiler and load the trace file you want to correlate.
From the main menu of Profiler, select File | Import Performance Data,
* With SQL Server Profiler, we have the tools to identify the causes of such spikes. We can import Performance Monitor log data and compare it directly with Profiler activity. If we see a spike in CPU utilization, we can identify which statement or statements were running at the same time, and diagnose potential problems.
100万行を含むTable1という名前のテーブルがあります。 Table1には、機密情報を格納するColumn1という名前の列が含まれています。 Column1はnvarchar(16)データ型を使用します。 Cert1という名前の証明書があります。
Column1からのデータの暗号化バージョンを含むColumn2という名前の列を追加する必要があります。 双方向暗号化を使用する必要があります。 Column2を作成した後にColumn1を削除する予定です。
Column1を削除する前に、5つのTransact-SQLステートメントを順番に実行する必要がありますか? 回答するには、適切なTransact-SQLステートメントをTransact-SQLステートメントのリストから回答領域に移動し、正しい順序に並べます。
注:複数の順序の回答選択が正しいです。 あなたが選択した任意の正しい注文のためのクレジットを受け取ります。

Column1からのデータの暗号化バージョンを含むColumn2という名前の列を追加する必要があります。 双方向暗号化を使用する必要があります。 Column2を作成した後にColumn1を削除する予定です。
Column1を削除する前に、5つのTransact-SQLステートメントを順番に実行する必要がありますか? 回答するには、適切なTransact-SQLステートメントをTransact-SQLステートメントのリストから回答領域に移動し、正しい順序に並べます。
注:複数の順序の回答選択が正しいです。 あなたが選択した任意の正しい注文のためのクレジットを受け取ります。

正解:

Explanation:
References:
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/encrypt-a-column-of-data?view=sql-server-2017
https://docs.microsoft.com/en-us/sql/t-sql/statements/close-symmetric-key-transact-sql?view=sql-server-2017
Table1という名前のテーブルがあります。 Table1には100万行あります。
Table1には、Column1という名前の列の列ストアインデックスがあります。
Table1にデータをインポートする必要があります。 このソリューションでは、データのインポートにかかる時間を最小限に抑える必要があります。
あなたは何をするべきか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

Table1には、Column1という名前の列の列ストアインデックスがあります。
Table1にデータをインポートする必要があります。 このソリューションでは、データのインポートにかかる時間を最小限に抑える必要があります。
あなたは何をするべきか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。

正解:

1 - Create a table named Table2 by using the same schema as Table1.
2 - Partition Table1.
3 - Import the data to Table2.
4 - Create a columnstore index on Table2 for Column1.
5 - Switch Table2 toTable1.
Explanation:
Note:
* An xVelocity memory optimized columnstore index, groups and stores data for each column and then joins all the columns to complete the whole index.
Columnstore indexes can transform the data warehousing experience for users by enabling faster performance for common data warehousing queries such as filtering, aggregating, grouping, and star-join queries.
* Tables that have a columnstore index cannot be updated.
There are three ways to work around this problem.
A) To update a table with a columnstore index, drop the columnstore index, perform any required INSERT, DELETE, UPDATE, or MERGE operations, and then rebuild the columnstore index.
B) (applies in this scenario) Partition the table and switch partitions. For a bulk insert, insert data into a staging table, build a columnstore index on the staging table, and then switch the staging table into an empty partition. For other updates, switch a partition out of the main table into a staging table, disable or drop the columnstore index on the staging table, perform the update operations, rebuild or re-create the columnstore index on the staging table, and then switch the staging table back into the main table.
C) Place static data into a main table with a columnstore index, and put new data and recent data likely to change, into a separate table with the same schema that does not have a columnstore index.
