70-464日本語 無料問題集「Microsoft Developing Microsoft SQL Server Databases (70-464日本語版)」

Medianという名前のカスタム集計関数を作成する予定です。
MedianをServer1という名前のSQL Server 2014サーバーに展開する予定です。
MedianがWebApp1という名前のWebサービスにアクセスできることを確認する必要があります。 解決策は、データベースに加えられる変更の数を最小限に抑える必要があります。
Medianの定義を含むMicrosoft .NET Frameworkクラスを作成します。
証明書をServer1にアップロードします。
次に実行すべき3つのタスクは何ですか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。
正解:

1 - Execute the CREATE ASSEMBLY statement.
2 - Use the certificate to add a digital signature to the assembly.
3 - Execute the CREATE AGGREGATE statement.
Explanation:
Note:
* CREATE AGGREGATE
Creates a user-defined aggregate function whose implementation is defined in a class of an assembly in the .NET Framework. For the Database Engine to bind the aggregate function to its implementation, the .NET Framework assembly that contains the implementation must first be uploaded into an instance of SQL Server by using a CREATE ASSEMBLY statement.
Table1という名前のテーブルがあります。 Table1には100万行あります。
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.
database1という名前のデータベースがあります。 database1の各表には、列ごとに1つの索引があります。
ユーザーは、アイテムの作成には長い時間がかかると報告しています。
以下のメンテナンスタスクを実行する必要があります。
未使用の索引を識別します。
最適化する必要があるインデックスを特定します。
あなたは何を使うべきですか?
回答するには、回答領域の適切な機能を正しい管理タスクにドラッグします。 (答えの選択肢は、一度だけ、二度以上、またはまったく使用されないかもしれません。)
正解:

Explanation:
Note:
* sys.dm_db_index_usage_stats
Returns counts of different types of index operations and the time each type of operation was last performed.
* sys.dm_db_index_physical_stats
Returns size and fragmentation information for the data and indexes of the specified table or view.
あなたは何百行ものコードが含まれている手順を変更する予定です。変更は次のガイドラインをサポートしなければなりません:
--
データベース内に永続的ではないテーブルだけを使用します。
プロシージャを実行して再コンパイルすることに必要な時間を最小限に抑えます。
あなたは計画された変更をサポートするために使用されなければならないテーブルの種類を識別する必要があります。
どのタイプのテーブルが識別する必要がありますか。

次のコードセグメントを使用して、CUSTOMERSという名前の表を作成します:

名前欄にIX_Nameという非クラスタ化インデックスを作成します。
あなたは文字SMIで始まるその名前を持つすべての顧客を取得するために次のクエリを記述します:

あなたはクエリがテーブル·スキャンを実行していることを発見します。
あなたはクエリがインデックスを使用していることを確認する必要があります。
あなたは何をすべきか。

database1という名前のデータベースがあります。 database1の各表には、列ごとに1つの索引があります。
ユーザーは、アイテムの作成には長い時間がかかると報告しています。
以下のメンテナンスタスクを実行する必要があります。
未使用の索引を識別します。
最適化する必要があるインデックスを特定します。
あなたは何を使うべきですか?
回答するには、回答領域の適切な機能を正しい管理タスクにドラッグします。 (答えの選択肢は、一度だけ、二度以上、またはまったく使用されないかもしれません。)
正解:

Explanation:
Note:
* sys.dm_db_index_usage_stats
Returns counts of different types of index operations and the time each type of operation was last performed.
* sys.dm_db_index_physical_stats
Returns size and fragmentation information for the data and indexes of the specified table or view.
あなたはusp_UpdateEmployeeNameのパラメータで使用されるオブジェクトを作成する必要があります。
どのコードセグメントを使用する必要がありますか。

解説: (JPNTest メンバーにのみ表示されます)
レポート作成に使用する新しいデータベーステーブルを設計しています。
次の文を使用してテーブルを定義します。

最小限の記憶域を使用してデータをテーブルに格納する必要があります。
どのストレージオプションを使うべきですか?

解説: (JPNTest メンバーにのみ表示されます)
データベースを照会するアプリケーションがあります。
ユーザーは、アプリケーションの実行速度が予想より遅くなると報告しています。
実行に最も時間がかかるクエリを特定する必要があります。 解決策は、サーバー上のプロセッサリソースの使用を最小限に抑える必要があります。
あなたは何を使うべきですか?

あなたはusp_GetOrdersAndItemsストアドプロシージャがusp_AddOrderまたはusp_AddXMLOrderを実行しながら、完了までに長い時間がかかることを発見します。
あなたはusp_GetOrdersAndItemsは可能な限り迅速に完了することを確認する必要があります。
あなたは何をすべきか。(それぞれの正しい答えはソリューションの一部を提供します。該当することをすべて選択してください。)

正解:A、C 解答を投票する

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡