Oracle Database Administration and Performance Tuning

Covers Oracle database topics including SQL commands, AWR, EM Database Control, performance monitoring, and Oracle advisors

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

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
Question 4 Multiple Choice (Single Answer)

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
Question 5 Multiple Choice (Single Answer)

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
Question 6 Multiple Choice (Single Answer)

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
Question 7 Multiple Choice (Single Answer)

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.
Question 8 Multiple Choice (Single Answer)

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
Question 9 Multiple Choice (Single Answer)

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

  1. 7 days
  2. 30 days
  3. 7 hours
  4. Indefinitely
Question 10 Multiple Choice (Single Answer)

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
Question 11 Multiple Choice (Single Answer)

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
Question 12 Multiple Choice (Single Answer)

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.
Question 13 Multiple Choice (Multiple Answers)

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.
Question 14 Multiple Choice (Single Answer)

Multiple baseline metrics can be gathered and stored in the AWR. Why might you want more than one metrics baseline?

  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
Question 15 Multiple Choice (Single Answer)

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
Question 16 Multiple Choice (Single Answer)

If no e-mail address is specified, where will alert information be displayed?

  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.
Question 17 Multiple Choice (Single Answer)

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
Question 18 True/False

NULLIF(12, 13) would return 12 ?

  1. True
  2. False
Question 19 True/False

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

  1. True
  2. False
Question 20 True/False

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

  1. True
  2. False