SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Oracle 11g
Start Test
Study First
Subjects
:
oracle
,
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. What is the SQL to grant an object privilege?
This controls what a user can do in the database. Primarily applies to adding or changing structures in the database.
Grant SELECT on <table> to <user>;
You should switch these every 15-30 minutes
These are the PFILE and the SPFILE
2. What view lets you look at audits of system privileges
DBA_STMT_AUDIT_OPTS is a view that does what?
This records every SQL statement that changes data. The redo entry is in the redo log buffer before written to redo log.
These are contained where? Session Memory - login information - session specific information - Private SQL area - Variables that get values during SQL Execution - Work areas for SQL Sort - Hash - bitmap - Cursors
This process resolves deadlock situations
3. What is audited by default in Oracle 11g?
When are connections with SYSDBA privilege audited?
Parsed SQL - syntax - objects are checked - Oracle permissions - p-code - optimum path or plan.
...
Allows a user to grant an object privilege to another user.
4. Is Auditing turned on by default?
The first extent is created when?
Audit create table;
What goes into the table SYS.AUD$
AUDIT_TRAIL is set to DB
5. What is a dirty buffer?
What goes into the table SYS.AUD$
Block in the database buffer cache does not match what is on disk.
These files contain information about how your running database is configured.
These files store information from the log buffer.
6. What is the Program Global Area -- PGA?
Whenever successful - whenever not successful - by access - by session
This contains information used for private or session-related information that individual users need
This contains the information used for backup and recovery - free space - file status details.
This relieves the shared pool of sometimes-transient memory requirements.
7. What is an Extent?
This is the logical structure that makes up segments.
This contains the information used for backup and recovery - free space - file status details.
This is the minimum amount of storage that Oracle reads or writes.
Block in the database buffer cache does not match what is on disk.
8. Where does auditing data go by default
This can only mount to one database
Allows you to group privileges for ease of management
What goes into the table SYS.AUD$
Row level security is this kind of database.
9. What options can you add to audits?
SELECT - INSERT - UPDATE - DELETE - REFERENCES - INDEX - ALTER - EXECUTE
Whenever successful - whenever not successful - by access - by session
This is a library of ready to go SQL Statements.
Limit number of times a password can be reused - limit amount of time before a password can be reused - limit failed login attempts - password lock time - passwords a life time - password grace time - check password complexity.
10. What SQL lets you see where SYSDBA connections audits are stored?
This is the first part of a data file.
This logical structure organizes one or more data files.
This is a modification applied to something; executing DML generates these applied to data.
Show parameter audit_file_dest;
11. What does process DBWn do?
The first extent is created when?
SELECT statement information are not stored in these files?
This process takes dirty blocks from dirty list and writes them to disk.
This contains the information used for backup and recovery - free space - file status details.
12. What is stored in the library cache
Parsed SQL - syntax - objects are checked - Oracle permissions - p-code - optimum path or plan.
What logical structure do data files correspond to?
Create user OPS$REPORTS identified externally;
This cleans up failed processes by releasing resources and rolling back uncomitted data.
13. What is the highest privileged role?
This contains the information used for backup and recovery - free space - file status details.
Memory Size - Database and Instance Name - Archiving parameters - Processes - Over 1900 other parameters
Parsed SQL - syntax - objects are checked - Oracle permissions - p-code - optimum path or plan.
SYSDBA is this kind of role.
14. What is the Database Buffer Cache
15. What options does a password profile allow you to have?
Limit number of times a password can be reused - limit amount of time before a password can be reused - limit failed login attempts - password lock time - passwords a life time - password grace time - check password complexity.
The first extent is created when?
Parsed SQL - syntax - objects are checked - Oracle permissions - p-code - optimum path or plan.
This is the minimum amount of storage that Oracle reads or writes.
16. What kinds of objects are not segments -but are pieces of code in the SYSTEM tablespace.
Data blocks copied into database buffer cache - relevant rows copied into user session PGA - blocks stay in cache until buffer needed for something else.
AUDIT_TRAIL is set to DB
Views - Procedures - Synonyms - Sequences
Users - Objects - System Privileges - Combination are things you can?
17. How do you create an OS-Authenticated user?
Each concurrent database request gets a server process.
This lets you encrypt data in your database files
This is written in PL/SQL and examines passwords when they're chosen and accepts or rejects them based on criteria.
Create user OPS$REPORTS identified externally;
18. What is the database writer process?
Users - Objects - System Privileges - Combination are things you can?
This cleans up failed processes by releasing resources and rolling back uncomitted data.
This tablespace is used for temporary storage.
Background process that write database buffer cache to disk
19. What is the dictionary cache?
20. What do control files contain?
This contains information used for private or session-related information that individual users need
This controls what a user can do in the database. Primarily applies to adding or changing structures in the database.
This processs provides a time reference within the database.
Names and locations of data files and redo log files - Recovery and backup information - Checkpoint - Archive information - Database name - Log history and current logging information.
21. What is a tempfile?
Names and locations of data files and redo log files - Recovery and backup information - Checkpoint - Archive information - Database name - Log history and current logging information.
Revoke create session from <user>;
These are the PFILE and the SPFILE
This is a special type of database file holding only information for sorts or temporary tables.
22. What kind of objects can be in a segment
Background process that write database buffer cache to disk
Data blocks copied into database buffer cache - relevant rows copied into user session PGA - blocks stay in cache until buffer needed for something else.
This process runs the job given to it by the CJQ0 process
Tables - Indexes - Materialized Views - Partitions
23. What actions are always audited
When are connections with SYSDBA privilege audited?
Memory used by sessions connecting to the database are not controlled by this parameter.
This is a library of ready to go SQL Statements.
DBA_OBJ_AUDIT_OPTS is a view that does what?
24. What SQL allows you to create role and grant privileges to a user
Create role <role>; grant <privilege> on <table> to <role>; grant <role> to <user>;
This process resolves deadlock situations
This is written in PL/SQL and examines passwords when they're chosen and accepts or rejects them based on criteria.
LGWR starts writing to the next group - A Database checkpoint occurs - The DBWR writes dirty blocks our of the buffer cascade
25. What view lets you look at audits of objects?
These all start with 'ora_'
What is OPS$
DBA_OBJ_AUDIT_OPTS is a view that does what?
These files store information from the log buffer.
26. What prefix must precede the OS username for an OS-Authenticated user?
What is OPS$
Database Buffer Cache - Log Buffer - Shared Pool
This is a logical structure that represents objects in the database that require physical storage
Database shutdown - full or partial checkpoint - recovery time threshold - free block is needed - some DDL commands - every three seconds
27. What SQL allows a user access to the database?
Background processes - Server Processes - User Processes are part of what?
Memory used by sessions connecting to the database are not controlled by this parameter.
Grant create session to <user>;
LGWR starts writing to the next group - A Database checkpoint occurs - The DBWR writes dirty blocks our of the buffer cascade
28. What are the PFILE and SPFILE?
Limit number of times a password can be reused - limit amount of time before a password can be reused - limit failed login attempts - password lock time - passwords a life time - password grace time - check password complexity.
This file should be named init<dbname>.ora
This process resolves deadlock situations
These files contain information about how your running database is configured.
29. What is the Redo Log Buffer
This records every SQL statement that changes data. The redo entry is in the redo log buffer before written to redo log.
This controls what a user can do in the database. Primarily applies to adding or changing structures in the database.
This contains information used for private or session-related information that individual users need
This process can be dedicated or shared
30. What does process SMON do
This process is primarily responsible for instance recovery. Applies redo information. Cleans and releases temporary space
Limit number of times a password can be reused - limit amount of time before a password can be reused - limit failed login attempts - password lock time - passwords a life time - password grace time - check password complexity.
Views - Procedures - Synonyms - Sequences
SELECT statement information are not stored in these files?
31. What kinds of server processes are there?
This process runs the job given to it by the CJQ0 process
DBA_STMT_AUDIT_OPTS is a view that does what?
This process can be dedicated or shared
Allows a user to grant a system privilege to another user.
32. What is the SQL for creating a password profile
CREATE PROFILE xxxxx LIMIT FAILED_LOGIN_ATTEMPTS 3;
This is written in PL/SQL and examines passwords when they're chosen and accepts or rejects them based on criteria.
This file should be named spfile<dbname>.ora
Parsed SQL - syntax - objects are checked - Oracle permissions - p-code - optimum path or plan.
33. What is the UNDO tablespace used for?
Whenever successful - whenever not successful - by access - by session
These files are stored in ORACLE_HOME: $ORACLE_HOME/dbs - %ORACLE_HOMEdatabase
This contains information used for private or session-related information that individual users need
This tablespace stores the rollback or undo segments used for transaction recovery
34. What is the TEMP tablespace used for?
This tablespace is used for temporary storage.
This process flushes the redo log buffer. Writes redo entries to disk and signals a completion.
These are the PFILE and the SPFILE
This is a modification applied to something; executing DML generates these applied to data.
35. What does the WITH ADMIN OPTION do?
AUDIT_TRAIL is set to DB
Names and locations of data files and redo log files - Recovery and backup information - Checkpoint - Archive information - Database name - Log history and current logging information.
These are the PFILE and the SPFILE
Allows a user to grant a system privilege to another user.
36. Which SGA Structures are optional
This is the logical structure that makes up segments.
Grant create session to <user> with admin option;
Large Pool - Java Pool - Streams Pool
This can only mount to one database
37. What are Archive log files?
These are copies of redo log files
These connections always get a dedicated server process.
Grant create session to <user> with admin option;
If you have a full backup and copies of these you can recover from almost any type of failure.
38. What uses the large pool?
These use which pool? Oracle Recovery Manager - Oracle Shared Server - Parallel processing - I/O-related server processes.
Data blocks copied into database buffer cache - changes applied to the copy in the DBBC - Blocks remain in cache until buffer is needed for something else.
This is a combination of memory and processes that are part of a running installation
These files contain information about how your running database is configured.
39. List the kinds of files used to run an Oracle Instance?
Tables - Indexes - Materialized Views - Partitions
Data Files - Control Files - Redo Log Files - Archive Log Files - Server and initialization parameter files
V$TEMPFILE and V$DATAFILE contain this information?
This stores the results of a computation.
40. What tablespaces should every database have?
This is the logical structure that makes up segments.
Grant create session to <user> with admin option;
SYSTEM - SYSAUX - UNDO - TEMP
The parameter file is read at what point during database startup?
41. What SQL gives a user the ability to grant system privileges to another user?
Memory Size - Database and Instance Name - Archiving parameters - Processes - Over 1900 other parameters
What is OPS$
Grant create session to <user> with admin option;
Views - Procedures - Synonyms - Sequences
42. What is the first file read when a database starts?
AUDIT_TRAIL is set to DB
Users - Objects - System Privileges - Combination are things you can?
You cannot restore a database with a complete collection of these from your last full backup.
The parameter file is read at what point during database startup?
43. Where are the PFILE and SPFILE stored?
This is a library of ready to go SQL Statements.
These files are stored in ORACLE_HOME: $ORACLE_HOME/dbs - %ORACLE_HOMEdatabase
This cache is allocated at instance startup
Views - Procedures - Synonyms - Sequences
44. What naming convention should you use for your SPFILE?
ORACLE's work area for executing SQL
This file should be named spfile<dbname>.ora
Each concurrent database request gets a server process.
This forces a user to follow guidelines when creating or changing passwords.
45. What does the Program Global Area (PGA) contain?
This lets you encrypt data in your database files
Users - Objects - System Privileges - Combination are things you can?
These are contained where? Session Memory - login information - session specific information - Private SQL area - Variables that get values during SQL Execution - Work areas for SQL Sort - Hash - bitmap - Cursors
This process copies filled redo logs to the archived redo storage area. If you aren't in archive mode - this process shuts down.
46. What is the SYSAUX tablespace used for?
This tablespace stored objects that are auxiliary and not specifically tied to the core features of the database
SYSDBA is this kind of role.
Create user OPS$REPORTS identified externally;
Data Files - Control Files - Redo Log Files - Archive Log Files - Server and initialization parameter files
47. What is the library cache?
This is a library of ready to go SQL Statements.
This tablespace stored objects that are auxiliary and not specifically tied to the core features of the database
Row level security is this kind of database.
The parameter file is read at what point during database startup?
48. Which process writes to the Redo Log Files?
This file should be named spfile<dbname>.ora
The logwriter (LGWR) writes to these files.
These all start with 'ora_'
Block in the database buffer cache does not match what is on disk.
49. What SQL revokes user access to the database?
This is written in PL/SQL and examines passwords when they're chosen and accepts or rejects them based on criteria.
Revoke create session from <user>;
Grant SELECT on <table> to <user> WITH GRANT OPTION;
Data blocks copied into database buffer cache - relevant rows copied into user session PGA - blocks stay in cache until buffer needed for something else.
50. What happens if you are missing an archive log?
This controls what a user can do in the database. Primarily applies to adding or changing structures in the database.
This is a collection of information about you and the database's objects.
You cannot restore a database with a complete collection of these from your last full backup.
These connections always get a dedicated server process.