InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How To Specify The Archived Log File Name Format And Destination? |
|
Answer» By SETTING the following values in init.ora file: LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence NUMBER and is zero left paded,%s - Log sequence number not padded. %T - THREAD number lef-zero-paded and %t - Thread number not padded). The file NAME created is arch 0001 are if %S is USED. LOG_ARCHIVE_DEST = path. By setting the following values in init.ora file: LOG_ARCHIVE_FORMAT = arch %S/s/T/tarc (%S - Log sequence number and is zero left paded,%s - Log sequence number not padded. %T - Thread number lef-zero-paded and %t - Thread number not padded). The file name created is arch 0001 are if %S is used. LOG_ARCHIVE_DEST = path. |
|
| 2. |
How To Reduce The Network Traffic? |
Answer»
|
|
| 3. |
What Is Snapshots? |
|
Answer» snapshot is nothing but a consistent data for MASTER table if any CHANCE the master table snapshot is FETCH the updated data for master table. snapshot is nothing but a consistent data for master table if any chance the master table snapshot is fetch the updated data for master table. |
|
| 4. |
Do You Know What Are The Various Type Of Snapshots? |
|
Answer» SNAPSHOTS is THREE TYPES of complite,FAST and FORCE. snapshots is three types of complite,fast and force. |
|
| 5. |
Differentiate The Simple And Complex, Snapshots? |
| Answer» | |
| 6. |
How To Enforce Refrencial Integrity In Snapshots? |
|
Answer» Time the REFERENCES to occur when master tables are not in use.Peform the reference the manually immdiately LOCKING the master tables. We can JOIN tables in snopshots by CREATING a complex snapshots that will BASED on the master tables. Time the references to occur when master tables are not in use.Peform the reference the manually immdiately locking the master tables. We can join tables in snopshots by creating a complex snapshots that will based on the master tables. |
|
| 7. |
What Is Dynamic Data Replication? |
|
Answer» Dynamic DATA REPLICATION is feture of oracle actualy the to more DATABASE ex:- this is production database and other database with and synconoze with the production DATABSE throuth the dynamic replication. if any change the proction database the symaltantinasly change the other database the replication. the benefite the the user can access any were ether prodction or syn with other database. Dynamic data replication is feture of oracle actualy the to more database ex:- this is production database and other database with and synconoze with the production databse throuth the dynamic replication. if any change the proction database the symaltantinasly change the other database the replication. the benefite the the user can access any were ether prodction or syn with other database. |
|
| 8. |
What Is Different Between View And Sequence? |
| Answer» | |
| 9. |
Explain What Are The Benefits Of Distributed Options In Databases? |
Answer»
|
|
| 10. |
Explain When Will The Data In The Snapshot Log Be Used?refer |
|
Answer» snapshort log is USED UPDATED DATA for master table and if any recored is updated after certen period to REFER the master table collect the snapshot log. because tha table size is very large it take lot of time. thus by UES the snapshot log. snapshort log is used updated data for master table and if any recored is updated after certen period to refer the master table collect the snapshot log. because tha table size is very large it take lot of time. thus by ues the snapshot log. |
|
| 11. |
Explain Snapshot Log? |
|
Answer» It is a table that maintains a record of MODIFICATIONS to the MASTER table in a snapshot. It is stored in the same database as master table and is only available for simple SNAPSHOTS. It should be CREATED before creating snapshots. It is a table that maintains a record of modifications to the master table in a snapshot. It is stored in the same database as master table and is only available for simple snapshots. It should be created before creating snapshots. |
|
| 12. |
Explain What Are The Options Available To Refresh Snapshots? |
Answer»
|
|
| 13. |
What Is A Profile In Oracle Security? |
|
Answer» PROFILE is INFORMATION CONTAIN that PARTICULAR MODULES. Profile is information contain that particular modules. |
|
| 14. |
What Is Tablespace Quota In Oracle Security? |
|
Answer» AMOUNT of TABLESPACE that can be used by a user for CREATING his own database OBJECTS is called talespace quota.its a way of limiting the USAGE of memory or disk space by user or restricting him by giving a fixed disk space. Amount of tablespace that can be used by a user for creating his own database objects is called talespace quota.its a way of limiting the usage of memory or disk space by user or restricting him by giving a fixed disk space. |
|
| 15. |
What Is Default Tablespace In Oracle Security? |
|
Answer» its the TABLESPACE in to which the objects created by a user go.default tablespace can ALLOTED to a user while CREATING he user or can ALSO be changed after creating the user. the default table SPACE of a user is system tablespace unless mentioned specfically while creating the user. its the tablespace in to which the objects created by a user go.default tablespace can alloted to a user while creating he user or can also be changed after creating the user. the default table space of a user is system tablespace unless mentioned specfically while creating the user. |
|
| 16. |
How To Prevent Unauthorized Use Of Privileges Granted To A Role? |
|
Answer» By CREATING a ROLE with a PASSWORD By creating a Role with a password |
|
| 17. |
What Is Meant By Physical Order And Logical Order In Clustered Index And Non Clustered Index? |
|
Answer» It is MEAN it is PRIMARY KEY COLUMN. It is mean it is primary key column. |
|
| 18. |
What Is The Step For Rman Backup? |
|
Answer» RMAN is an Oracle tool for taking the backup and RECOVERING the databases. You can copy, restore, and recover datafiles, control files and archived redo LOGS (all 3 files or any one file). It has command line utility as well as GUI-based Enterprise Manager Backup. Here we are DISCUSSING the command line utility. For example, we have TEST and PROD databases. Here TEST is the catalog database and PROD is the target database for which the backup has to be taken. You may loose your backup if you have your catalog and target databases on the same box and the box CRASHES .So it is always advisable to keep a separate database for RMAN catalog . Create TWO databases. One for RMAN catalog(Test) and one target(PROD). Both the Databases should be archive log mode(for security). RMAN is an Oracle tool for taking the backup and recovering the databases. You can copy, restore, and recover datafiles, control files and archived redo logs (all 3 files or any one file). It has command line utility as well as GUI-based Enterprise Manager Backup. Here we are discussing the command line utility. For example, we have TEST and PROD databases. Here TEST is the catalog database and PROD is the target database for which the backup has to be taken. You may loose your backup if you have your catalog and target databases on the same box and the box crashes .So it is always advisable to keep a separate database for RMAN catalog . Create two databases. One for RMAN catalog(Test) and one target(PROD). Both the Databases should be archive log mode(for security). |
|
| 19. |
Tell Me What Is User Account In Oracle Database? |
|
Answer» An USER ACCOUNT is not a physical STRUCTURE in Database but it is having important RELATIONSHIP to the OBJECTS in the database and will be having certain privileges An user account is not a physical structure in Database but it is having important relationship to the objects in the database and will be having certain privileges |
|
| 20. |
How To Enforce Security Using Stored Procedures? |
Answer»
|
|
| 21. |
Explain What Are The Dictionary Tables Used To Monitor A Database Spaces? |
|
Answer» DBA_DATA_FILES is VIEW to SHOW the SPACE for the tablespace if you want the CALULATE the space of the database the all tablespace size is the database size. DBA_DATA_FILES is view to show the space for the tablespace if you want the calulate the space of the database the all tablespace size is the database size. |
|
| 22. |
Can You Explain What Are The Roles And User Accounts Created Automatically With The Database? |
Answer»
|
|
| 23. |
What Are The Main Responsibilities Of A Database Administrator? |
|
Answer» Depending on the company and the department, this role can either be highly specialized or incredibly diverse. The PRIMARY role of the Database Administrator is to adminster, develop, maintain and implement the policies and procedures necessary to ensure the security and integrity of the corporate database. Sub roles within the Database Administrator classification may include security, architecture, warehousing and/or business ANALYSIS. Other primary roles will include:
Depending on the company and the department, this role can either be highly specialized or incredibly diverse. The primary role of the Database Administrator is to adminster, develop, maintain and implement the policies and procedures necessary to ensure the security and integrity of the corporate database. Sub roles within the Database Administrator classification may include security, architecture, warehousing and/or business analysis. Other primary roles will include: |
|
| 24. |
What Are The Minimum Parameters Should Exist In The Parameter File (init.ora)? |
Answer»
Also optionally LICENSE_MAX_SESSIONS,LICENSE_SESSION_WARNING and LICENSE_MAX_USERS. Also optionally LICENSE_MAX_SESSIONS,LICENSE_SESSION_WARNING and LICENSE_MAX_USERS. |
|
| 25. |
What Are Roles? How Can We Implement Roles? |
|
Answer» If a user WANTS to give some privileges to another user or a group of users then they will create role and they give this role to the users.let the privileges be 'insert' and 'update' on 'emp' table then instead of SPECIFYING them by their names they will create role which inturn INCLUDES these methods. this role is further given to the users. If in futher if he wants to remove some privilege given to the users, he can just alter the role and remove that particular privilege such as he can remove update from this created role.. Later the users cant do updations on that emp table.but still can insert the VALUES into that table. HENCE Roles are the easiest way to grant and manage common privileges needed by different groups of database users.Creating roles and assign each role to group of users will simplify the job of assigning privileges to individual users. If a user wants to give some privileges to another user or a group of users then they will create role and they give this role to the users.let the privileges be 'insert' and 'update' on 'emp' table then instead of specifying them by their names they will create role which inturn includes these methods. this role is further given to the users. If in futher if he wants to remove some privilege given to the users, he can just alter the role and remove that particular privilege such as he can remove update from this created role.. Later the users cant do updations on that emp table.but still can insert the values into that table. Hence Roles are the easiest way to grant and manage common privileges needed by different groups of database users.Creating roles and assign each role to group of users will simplify the job of assigning privileges to individual users. |
|
| 26. |
Explain What Are The Steps To Switch A Databases Archiving Mode Between No Archivelog And Archivelog Mode? |
|
Answer» To check database is in which MODE:
To set database in Archivelog mode:
To set database in NOARCHIVELOG Mode:
To check database is in which mode: To set database in Archivelog mode: To set database in NoArchivelog Mode: |
|
| 27. |
How To Enable Automatic Archiving? |
| Answer» | |