0

databases Online Quiz - 179

Description: databases Online Quiz - 179
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

Which of the following options for the PFILE/SPFILE parameter STATISTICS_LEVEL turns off AWR statistics gathering and ADDM advisory services?

  1. OFF

  2. TYPICAL

  3. ALL

  4. BASIC


Correct Option: D

Suppose you have used EM Database Control to drill down into ADDM findings and have found that a single SQL statement is causing the majority of I/O on your system. Which of the following advisors is best suited to troubleshoot this SQL statement?

  1. SQL Tuning Advisor

  2. SQL Access Advisor

  3. Both A and B

  4. Neither A or B


Correct Option: C

AI Explanation

To troubleshoot a SQL statement that is causing the majority of I/O on your system, you can use the SQL Tuning Advisor and the SQL Access Advisor.

Option A) SQL Tuning Advisor - This advisor is responsible for analyzing the SQL statement's execution plan and providing recommendations to improve its performance. It suggests potential changes to the SQL statement, such as creating or modifying indexes, restructuring the SQL statement, or gathering statistics. This advisor can help optimize the execution plan and reduce the I/O impact caused by the SQL statement.

Option B) SQL Access Advisor - This advisor focuses on recommending changes to the physical schema to optimize the performance of SQL statements. It suggests creating or modifying indexes, partitioning tables, or using materialized views to improve query performance. By optimizing the access paths and data retrieval methods, the SQL Access Advisor can help reduce the I/O impact caused by the SQL statement.

Option C) Both A and B - This option is correct because both the SQL Tuning Advisor and the SQL Access Advisor are suitable for troubleshooting the SQL statement causing I/O issues. By using both advisors, you can get comprehensive recommendations to improve the performance of the SQL statement and minimize its I/O impact on the system.

Option D) Neither A nor B - This option is incorrect because both the SQL Tuning Advisor and the SQL Access Advisor are relevant in this scenario. They provide valuable insights and recommendations to troubleshoot and optimize the SQL statement causing I/O issues.

Therefore, the correct answer is option C) Both A and B.

Nearly all the advisors submit their analysis activities to the database in the form of a job. When the analysis job is submitted, which option for job scope adds the least overhead to the system?

  1. Limited

  2. Restricted

  3. Comprehensive

  4. Thorough


Correct Option: A

Which data dictionary view contains information explaining why ADDM made its recommendations?

  1. DBA_ADVISOR_FINDINGS

  2. DBA_ADVISOR_OBJECTS

  3. DBA_ADVISOR_RECOMMENDATIONS

  4. DBA_ADVISOR_RATIONALE


Correct Option: D

Which of the following advisors determines if the space allocated to the Shared Pool, Large Pool, or Buffer Cache are adequate?

  1. SQL Tuning Advisor

  2. SGA Tuning Advisor

  3. Memory Advisor

  4. Pool Advisor


Correct Option: C

AI Explanation

To answer this question, you need to understand the different advisors in Oracle Database that help with tuning and optimization.

Option A) SQL Tuning Advisor - This option is incorrect because the SQL Tuning Advisor is responsible for analyzing individual SQL statements and suggesting improvements to their execution plans. It focuses on optimizing SQL query performance, not the allocation of memory within the database.

Option B) SGA Tuning Advisor - This option is incorrect because the SGA Tuning Advisor is responsible for analyzing the System Global Area (SGA) configuration and making recommendations for optimizing memory allocation for different components of the SGA, such as the Shared Pool, Large Pool, and Buffer Cache. However, it does not specifically determine if the space allocated to these areas is adequate.

Option C) Memory Advisor - This option is correct because the Memory Advisor is responsible for analyzing the memory usage within the database and making recommendations for the optimal allocation of memory to different components, including the Shared Pool, Large Pool, and Buffer Cache. It determines if the space allocated to these areas is adequate and suggests changes if necessary.

Option D) Pool Advisor - This option is incorrect because there is no specific advisor named "Pool Advisor" in Oracle Database. It is not responsible for determining the adequacy of space allocation in the Shared Pool, Large Pool, or Buffer Cache.

The correct answer is C) Memory Advisor. This option is correct because the Memory Advisor analyzes the memory usage and determines if the space allocated to the Shared Pool, Large Pool, or Buffer Cache is adequate.

Which of the following advisors determines if the estimated instance recovery duration is within the expected service-level agreements?

  1. Undo Management Advisor

  2. SQL Access Advisor

  3. SQL Tuning Advisor

  4. MTTR Advisor


Correct Option: D

Using EM Database Control, you’ve identified that the following SQL statement is the source of a high amount of disk I/O: SELECT NAME, LOCATION, CREDIT_LIMIT FROM CUSTOMERS What might you do first to try to improve performance?

  1. Run the SQL Tuning Advisor.

  2. Run the SQL Access Advisor.

  3. Check the EM Database Control main screen for alerts.

  4. Click the Alert Log Content link in the EM Database Control main screen.


Correct Option: A

Your users have called to complain that system performance has suddenly decreased markedly. Where would be the most likely place to look for the cause of the problem in the EM Database Control?

  1. Main screen

  2. Performance screen

  3. Administration screen

  4. Maintenance screen


Correct Option: B

By default, how long will database statistics be retained in the AWR?

  1. 7 days

  2. 30 days

  3. 7 hours

  4. Indefinitely


Correct Option: A

Which of the following is not one of the three primary sources of performance metric information in the EM Database Control Performance screen?

  1. Host

  2. Session

  3. Instance

  4. Network


Correct Option: D

Which of the following is a performance metric that could be defined as “the amount of work that a system can perform in a given amount of time”?

  1. Response time

  2. Uptime

  3. Throughput

  4. Runtime


Correct Option: C

You have just created a database using scripts that you wrote. Now you notice that the automatic collection of database statistics by the EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_ PROCS procedure is not running. What might be the cause?

  1. The PFILE/SPFILE parameter GATHER_STATS=FALSE.

  2. Only databases created using Database Configuration Assistant have automatic statistics

  3. The SYSMAN user who owns the AWR is not logged in.

  4. The operating system does not support automatic statistics collection.


Correct Option: B

Using EM Database Control, you discover that two application PL/SQL functions and a view are currently invalid. Which of the following might you use to fix these objects?

  1. Shut down and restart the database.

  2. Use EM Database Control to recompile the object.

  3. Export the invalid objects, drop them, and then import them.

  4. Use the ALTER FUNCTION … COMPILE and ALTER VIEW … COMPILE commands.


Correct Option: B,D
  1. You might want a separate baseline metric for each user.

  2. You might want a separate baseline metric for daytime usage versus off-hours usage.

  3. You might want a separate baseline metric for each schema.

  4. You would never want more than one baseline metric, even though it is possible to gather


Correct Option: B

When you configure an alert, which of the following types of alert thresholds can you use to monitor a tablespace for diminishing free space?

  1. Warning threshold

  2. Critical threshold

  3. Both A and B

  4. Neither A or B


Correct Option: C
  1. In the DBA_ALERTS data dictionary view

  2. In the V$ALERTS dynamic performance view

  3. In the EM Database Control main screen

  4. No alert information is sent or displayed.


Correct Option: C

If Product is a table name than a) RENAME product to PRO; b) ALTER TABLE product RENAME TO pro;

  1. a is ture

  2. b is fasle

  3. b is false a is ture

  4. a is false b is ture


Correct Option: D

NULLIF(12, 13) would return 12 ?

  1. True

  2. False


Correct Option: B

SELECT FIRST(OrderPrice) AS FirstOrderPrice FROM Orders? this query is:

  1. True

  2. False


Correct Option: A

This query is: INSERT ALL INTO mytab (c1,c2) VALUES ('ram',12) INTO mytab (c1,c2) VALUES ('mani',15)

  1. True

  2. False


Correct Option: A
- Hide questions