Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Microsoft Developing Microsoft SQL Server Databases (70-464日本語版) (70-464日本語) Free Practice Test

Question 1
あなたはリファクタリングの要件を満たすソリューションを設計する必要があります。どの種類のオブジェクトはソリューションに含める必要がありますか。

Correct Answer: A
Question 2
あなたは必要なインデックスのメンテナンス戦略を実行するために、表と索引の状態を監視する必要があります。
あなたは何をすべきか。

Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
database1という名前のSQL Server 2012データベースがあります。
ユーザーは、実行に1秒以内、実行に30秒以上かかるクエリを報告します。
クエリが実行されたときのサーバーリソースの消費量を確認する必要があります。
あなたは何をするべきか?
答えるには、適切な行動を行動のリストから回答領域に移動し、正しい順序で並べます。
Correct Answer:

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.
Question 4
あなたはDB1という名前のSQL Server2012データベースを持っています。あなたはデバイス1という名前のバックアップデバイスを使用しています。あなたはデータベースのログファイルがいっぱいになることを発見します。あなたはDB1がトランザクションを完了できるようにする必要があります。ソリューションはログシーケンス番号(LSN)のチェーンに影響を及ぼしなければなりません。
どのコードセグメントは実行する必要がありますか。

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
不正検出サービスをサポートするテーブルで使用されるインデックス構造を最適化する必要があります。
あなたは何をするべきか?

Correct Answer: C
Question 6
100万行を含むTable1という名前のテーブルがあります。 Table1には、機密情報を格納するColumn1という名前の列が含まれています。 Column1はnvarchar(16)データ型を使用します。
Cert1という名前の証明書があります。
Column1を双方向暗号化を使用する新しい暗号化列に置き換える必要があります。
Column1を削除する前に、どのコードセグメントを実行する必要がありますか?
回答するには、適切なコードセグメントをコードセグメントのリストから回答領域に移動し、正しい順序に並べます。
Correct Answer:

Explanation:
Note:
* Use AES_256 for two-way encryption.
* Use varbinary to store key.
* CLOSE SYMMETRIC KEY (Transact-SQL)
Closes a symmetric key, or closes all symmetric keys open in the current session.
* Example:
CREATE SYMMETRIC KEY CreditCards_Key11
WITH ALGORITHM = AES_256
ENCRYPTION BY CERTIFICATE Sales09;
GO
-- Create a column in which to store the encrypted data.
ALTER TABLE Sales.CreditCard
ADD CardNumber_Encrypted varbinary(128);
GO
-- Open the symmetric key with which to encrypt the data.
OPEN SYMMETRIC KEY CreditCards_Key11
DECRYPTION BY CERTIFICATE Sales09;
-- Encrypt the value in column CardNumber using the
-- symmetric key CreditCards_Key11.
-- Save the result in column CardNumber_Encrypted.
UPDATE Sales.CreditCard
SET CardNumber_Encrypted = EncryptByKey(Key_GUID('CreditCards_Key11')
, CardNumber, 1, HashBytes('SHA1', CONVERT( varbinary
, CreditCardID)));
GO
Question 7
次の要件を持つ新しいテーブルを作成することを計画しています:
主キーとしてGUIDデータタイプを使用しています。
主キーとしてクラスタ化インデックスを使用しています。
断片化を最小限に抑えることができます。
あなたはCREATE文に含めるオプションを勧める必要があります。
どのオプションは含まれている必要がありますか。
複数の回答の選択肢は目標を達成することができます。最もよい答えを選択してください。

Correct Answer: B
Question 8
DB1という名前のSQL Server 2012データベースがあります。 DB1には、FG1、FG2、FG3、およびFG4という名前の4つのファイルグループが含まれています。 次のコードを実行します。

200万行がdbo.Salesに追加されました。
最初のパーティションからSalesHistoryという名前の新しいテーブルにデータを移動し、2012年12月31日からdbo.Salesを再分割して3か月間の新しい販売データをサポートする必要があります。
どのコードセグメントを実行しますか?
回答するには、適切なコードセグメントをコードセグメントのリストから回答領域に移動し、正しい順序に並べます。
Correct Answer:

Explanation:
Note:
* Box 1 - Box 2:
/ You need to move the data from the first partition to a new table named SalesHistory.
/ First create the new table, then move the contents of the first partition.
*( Box 3 Box 4) Drop the partition scheme and then the partition function and the recreate them (box 5-box6). First recreate the partition function.
/You need, starting on December 31, 2012, repartition dbo.Sales to support new sales data for three months.
/ A partition function can be dropped only if there are no partition schemes currently using the partition function. If there are partition schemes using the partition function, DROP PARTITION FUNCTION returns an error.
Question 9
3つのテーブルを含むデータベースがあります。 テーブルは次の表のように構成されています。

次のようなクエリがあります。

照会の実行計画は図に示されています。 (展示ボタンをクリックしてください。)

クエリの実行にかかる時間を最小限に抑えるために、インデックスを1つ作成する必要があります。
あなたは何をするべきか?
回答するには、適切な列を回答領域の正しい位置にドラッグします。 (答えの選択肢は、一度だけ、二度以上、またはまったく使用されないかもしれません。)
Correct Answer:

Explanation:
Note:
Covering index: A type of index that includes all the columns that are needed to process a particular query. For example, your query might retrieve the FirstName and LastName columns from a table, based on a value in the ContactID column. You can create a covering index that includes all three columns.
Question 10
Database1という名前のSQL Server 2012データベースがあります。 Database1には、database1_data.mdfという名前のデータファイルと、database1_Log.ldfという名前のトランザクションログファイルがあります。 Database1_Data.mdfは
1.5 GB
Database1_Log.ldfは1.5テラバイトです。 Database1のフルバックアップは毎日実行されます。
ログファイルのサイズを減らす必要があります。 このソリューションでは、将来トランザクションログのバックアップを確実に実行できるようにする必要があります。 どのコードセグメントを実行しますか? 回答するには、適切なコードセグメントをコードセグメントのリストから回答領域に移動し、正しい順序に並べます。
Correct Answer:

1 - USE Database1;
2 - ALTER DATABASE Database1 SET RECOVERY SIMPLE;
3 - DBCC SHRINKFILE (Database1_Log);
4 - ALTER DATABASE Database1 SET RECOVERY FULL;
Explanation:
Shrinking a log file to a specified target size
The following example shrinks the log file in the AdventureWorks database to 1 MB. To allow the DBCC SHRINKFILE command to shrink the file, the file is first truncated by setting the database recovery model to SIMPLE.
Transact-SQL
USE AdventureWorks2012;
GO
-- Truncate the log by changing the database recovery model to SIMPLE.
ALTER DATABASE AdventureWorks2012
SET RECOVERY SIMPLE;
GO
-- Shrink the truncated log file to 1 MB.
DBCC SHRINKFILE (AdventureWorks2012_Log, 1);
GO
-- Reset the database recovery model.
ALTER DATABASE AdventureWorks2012
SET RECOVERY FULL;
GO
http://msdn.microsoft.com/en-gb/library/ms189493.aspx
Question 11
あなたはMicrosoft SQL Azureデータベースを持っています。次のストアドプロシージャを持っています:

ストアドプロシージャは定期的にPerson.Contactを更新することを失敗していることを発見します。
あなたはUpdateContactが実行されるとき、Person.Contactは常に更新されていることを確認する必要があります。 ソリューションは実行するストアド·プロシージャと保持されているロックの数に必要な時間を最小限に抑えらなければなりません。
あなたは何をすべきか。

Correct Answer: D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 12
あなたは何百行ものコードが含まれている手順を変更する予定です。変更は次のガイドラインをサポートしなければなりません:
--
データベース内に永続的ではないテーブルだけを使用します。
プロシージャを実行して再コンパイルすることに必要な時間を最小限に抑えます。
あなたは計画された変更をサポートするために使用されなければならないテーブルの種類を識別する必要があります。
どのタイプのテーブルが識別する必要がありますか。

Correct Answer: C
Question 13
あなたはサーバーサイトのページングをサポートするためにusp_SelectSpeakersByNameを変更する必要があります。ソリューションは必要な開発努力の量を最小限にしなければなりません。あなたはusp_SelectSpeakersByNameに何を追加すべきか。

Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).