1Z0-060J Free Dumps Study Materials
Question 8: データベースには、中間層アプリケーションサーバー上で実行されるアプリケーション用に
SRV1サービスが構成されています。
アプリケーションには複数のモジュールがあります。
次のコマンドを実行して、サービスレベルでトレースを有効にします。
このコマンドの可能な結果とトレースファイルを集約するアクションは次のとおりです。
1.モジュール名が指定されていないため、コマンドは失敗します。
2. SRV1サービスを実行しているセッションごとにトレースファイルが作成されます。
3.集約されたトレースファイルが、SRV1サービスを実行しているすべてのセッションに対
して作成されます。
4.トレース・ファイルは、trcsessユーティリティーを使用して集約できます。
5.トレース・ファイルは、tkprofユーティリティーを使用して集約できます。
トレースファイルを集約するための正しい結果とアクションを特定します。
A. 1
B. 2 and 4
C. 2 and 5
D. 3 and 4
E. 3 and 5
Correct Answer: B
Explanation
Tracing information is present in multiple trace files and you must use the trcsess tool to
collect it into a single file.
Note:
* The procedure enables a trace for a given combination of Service, MODULE and ACTION
name. The specification is strictly hierarchical: Service Name or Service Name/MODULE, or
Service Name, MODULE, and ACTION name must be specified. Omitting a qualifier behaves
like a wild-card, so that not specifying an ACTION means all ACTIONs. Using the
ALL_ACTIONS constant achieves the same purpose.
* SERV_MOD_ACT_TRACE_ENABLE Procedure
This procedure will enable SQL tracing for a given combination of Service Name, MODULE
and ACTION globally unless an instance_name is specified.
* DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE(
service_name IN VARCHAR2,
module_name IN VARCHAR2 DEFAULT ANY_MODULE,
action_name IN VARCHAR2 DEFAULT ANY_ACTION,
waits IN BOOLEAN DEFAULT TRUE,
binds IN BOOLEAN DEFAULT FALSE,
instance_name IN VARCHAR2 DEFAULT NULL);