Ask DBMS Expert


Home >> DBMS

1. Lisa granted the CREATE TABLE privilege WITH ADMIN OPTION to Sharon. Sharon granted the privilege to Bob. If Lisa's privileges are revoked, who else will lose their privileges?
A. Only Bob
B. Only Sharon
C. Both Bob and Sharon
D. No one else will lose their privileges

2. Which of the following is not a SQL*Loader file?
A. Bad file
B. Control file
C. Discard file
D. Good file
E. Log file

3. Which SQL*Loader load keyword deletes data in table before loading?
A. APPEND
B. DELETE
C. SUBSTITUTE
D. REPLACE

4. You need to insert a large amount of data through the HR_EMP_HIST table. You are concerned about the amount of time the data load may take. Although you will only be using one processor to load the data, you would like to make the load as quick as possible. You are NOT concerned about the available storage space or data integrity. Which SQL*Loader data loading method should you use?
A. Parallel conventional
B. Parallel direct
C. Serial conventional
D. Serial direct

5. Which of the following commands is a key step in multiplexing control files using an SPFILE?
A. ALTER SYSTEM SET CONTROL_FILES= ‘C:/app/product/11.2.0/oradata/INST1/control01.ctl',
‘D:/oracle/oradata/INST1/control02.ctl', SCOPE=MEMORY
B. ALTER SYSTEM SET CONTROL_FILES= ‘C:/app/product/11.2.0/oradata/INST1/control01.ctl',
‘D:/oracle/oradata/INST1/control02.ctl', SCOPE=BOTH
C. ALTER SYSTEM SET CONTROL_FILES= ‘C:/app/product/11.2.0/oradata/INST1/control01.ctl',
‘D:/oracle/oradata/INST1/control02.ctl'
D. ALTER SYSTEM SET CONTROL_FILES= ‘C:/app/product/11.2.0/oradata/INST1/control01.ctl',
‘D:/oracle/oradata/INST1/control02.ctl', SCOPE=SPFILE

6. If you have two redo log groups with four members each, what's the optimal number of disks you need to provide appropriate protection on the redo log files?
A. Eight
B. Four
C. Two
D. One
E. Operating system dependent

7. When is the redo log buffer written to the redo log file?
A. A transaction changes data.
B. The redo log buffer becomes one-third full.
C. A redo log group is archived.
D. The database starts up.

8. You have two redo log groups. Each group has three members that are 150 MB in size. The members reside on the E, F, and G drives. You issue this command: ALTER DATABASE ADD LOGFILE MEMBER ‘G:\app\oradata\INST1\redo04.log' SIZE 200M TO GROUP 1;
The statement will fail because:
A. All redo log groups must have the same number of members.
B. The size cannot be specified in this command.
C. You cannot add a member to a redo log group.
D. The size is incorrect.

9. What is the correct method for moving a control file (assume you use PFILE)?
A. Issue the ALTER DATABASE RENAME FILE command.
B. Shut down the database; move the control file; modify the CONTROL_FILES parameter in PFILE; and start up the database using PFILE.
C. Copy the control file to a new location; shut down the database; modify the CONTROL_FILES parameter; and start up the database.
D. Shut down the database; delete the control file; start up the database in NOMOUNT mode; issue the CREATE CONTROL FILE command; and start up the database.

10. Which statement will add a member C:\app\oradata\INST1\redo2A.log to log file group 2?
A. ALTER DATABASE ADD LOGFILE ‘C:\app\oradata\INST1\redo2A.log' TO GROUP 2;
B. ALTER DATABASE ADD LOGFILE MEMBER ‘C:\app\oradata\INST1\redo2A.log' TO GROUP 2;
C. ALTER DATABASE ADD MEMBER ‘C:\app\oradata\INST1\redo2A.log' TO GROUP 2;
D. ALTER DATABASE ADD LOGFILE ‘C:\app\oradata\INST1\redo2A.log';

11. Which statement is false about block size?
A. It can be set at the tablespace level
B. It can be set at the database level
C. Settings at the database level take precedence over settings at the tablespace level
D. Settings at the tablespace level take precedence over settings at the database level

12. You are using Data Pump to upload rows into a table, and you wish to use the direct path. Which of the following statements is correct?
A. You must include the "DIRECT" keyword in the Data Pump control file.
B. You must enable insert triggers on the table first.
C. You have no control over this; Data Pump will use the direct path automatically if it can.
D. Direct path is not available in Data Pump.

13. Which of the following is not a Data Pump file type?
A. Dump file
B. Log file
C. Control file
D. SQL file

14. You have decided to implement automatic undo management. Which of these steps is optional?
A. Set the parameter UNDO_MANAGEMENT.
B. Create an undo tablespace.
C. Set the parameter UNDO_RETENTION.
D. Restart the instance

15. You want to add a control file copy. Which of these sequences is correct and sufficient?
A. Copy the control file, and issue an alter system... command to change the CONTROL_FILES parameter.
B. Mount the database to read the control file, and issue an alter database... command to add a new copy.
C. Issue an alter system... with scope=spfile command to change the CONTROL_FILES parameter, shut down the database, copy the control file, and start up the database.
D. Copy the control file, shut down the database, start up in nomount mode, issue an alter system... command to change the CONTROL_FILES parameter, and open the database.
E. Start up in nomount mode, copy the control file, issue an alter system... command to change the CONTROL_FILES parameter, and open the database.

16. The following command was issued on the tablespace containing the ZIP_CODE table. DROP TABLESPACE USER_REF; What happens?
A. The tablespace and the ZIP_CODE table are dropped.
B. The command fails because the tablespace contains data.
C. The command fails because the ZIP_CODE table was not listed in the command.
D. The tablespace is dropped, and all references to the ZIP_CODE table are removed.

17. User JOHN updates some rows and asks user DAMIR to log in and check the changes before he commits them. Which of the following statements is true?
A. DAMIR can see the changes but cannot alter them because JOHN will have locked the rows.
B. DAMIR will not be able to see the changes.
C. JOHN must commit the changes, so that DAMIR can see them and if necessary roll them back.
D. None of the above

18. Which line of code will cause the following SQL statement to fail?
1 CREATE USER Sam
2 IDENTIFIED EXTERNALLY BY $amP@ssw0rd
3 DEFAULT TABLESPACE Users
4 TEMPORARY TABLESPACE User_Temp
5 QUOTA 2048M ON APPS_DATA
A. 1
B. 2
C. 3
D. 4
E. 5
F. The statement will succeed

19. You want to multiplex a redo log group. Will this involve downtime?
A. Yes, because logfiles can't be manipulated while the database is open.
B. No, you can always reconfigure logfiles online.
C. No, if your database is in archivelog mode.
D. Yes, because database logging is controlled by static parameters.

20. If your database is in archivelog mode, how can you force an archive?
A. Issue an alter database switch logfile command.
B. Issue an alter system switch logfile command.
C. Issue an alter system log_archive_start command.
D. There is no command to force an archive; they happen automatically.

21. Which of the following statements are true? (Choose all correct answers.)
A. You can create more than one UNDO tablespace
B. UNDO_MANAGEMENT=Yes will let Oracle automatically manage UNDO tablespace
C.You canchange the value of UNDO_MANAGEMENT dynamically after the database starts.
D. You can use ALTER SYSTEM SET to switch between undo tablespaces

22. You have been asked to provide additional information to your manager on how system privileges can be assigned and behave. Which of the following statements about system privileges are true? (Choose all correct answers.)
A. System privileges can be granted to others if you use the WITH ADMIN OPTION.
B. System privileges can be granted to others if you use the WITH GRANT OPTION.
C. Only the DBA can grant system privileges, since the DBA owns the database.
D. When revoked for a user, system privileges will not be revoked for any user to whom that user granted
E. System privileges can be granted only by the owner of the database.

23. Which of these initialization parameters in used for Oracle Managed Files (OMF)? (Choose all correct answers.)
A. DB_CREATE_FILE_DEST
B. DB_CREATE_ONLINE_FILE_DEST
C. DB_CREATE_ONLINE_LOG_DEST
D. DB_CREATE_ONLINE_LOG_DEST_n
E. CONTROL_FILES

24. You launch a Data Pump job with expdp and then exit from the session. Which of the following is true? (Choose all correct answers.)
A. The job will continue running in the background.
B. The job will terminate.
C. You cannot monitor the job once you have exited.
D. You can reattach to the job to monitor it.
E. The job will pause but can be restarted.

25. Under which of these circumstances might Flashback Database be of use?
A. To recover a dropped table
B. To recover a dropped schema
C. To recover a damaged datafile
D. To reverse a bad transaction
E. All of the above

26. Which of the following files should be multiplexed, for safety? (Choose all correct answers.)
A. System tablespace datafiles
B. Control file
C. Initialization parameter file
D. Archive logfiles

27. Which of the following is correct about Flashback Database? (Choose two correct answers.)
A. You should set the FLASHBACK_BUFFER_SIZE parameter.
B. You must create the flashback log files.
C. You must set the DB_RECOVERY_FILE_DEST parameter.
D. You must issue ALTER SYSTEM FLASHBACK ON.
E. You must issue ALTER DATABASE FLASHBACK ON.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91375134
  • Price:- $30

Guranteed 24 Hours Delivery, In Price:- $30

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As