Deck 5: Oracle Backup, Distributed Databases, and SQL Commands

ملء الشاشة (f)
exit full mode
سؤال
What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles?

A)Full backup
B)Consistent backup
C)Inconsistent backup
D)Differential backup
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which of the following is true concerning a procedure?

A)You do not create them with SQL.
B)They do not need to have a unique name.
C)They include procedural and SQL statements.
D)They are the same thing as a function.
سؤال
A CASE SQL statement is which of the following?

A)A way to establish an IF-THEN-ELSE in SQL.
B)A way to establish a loop in SQL.
C)A way to establish a data definition in SQL.
D)All of the above.
سؤال
Which of the following statements is true concerning routines and triggers?

A)Both consist of procedural code.
B)Both have to be called to operate.
C)Both run automatically.
D)Both are stored in the database.
سؤال
A distributed database has which of the following advantages over a centralized database?

A)Software cost
B)Software complexity
C)Slow Response
D)Modular growth
سؤال
An autonomous homogenous environment is which of the following?

A)The same DBMS is at each node and each DBMS works independently.
B)The same DBMS is at each node and a central DBMS coordinates database access.
C)A different DBMS is at each node and each DBMS works independently.
D)A different DBMS is at each node and a central DBMS coordinates database access.
سؤال
A transaction manager is which of the following?

A)Maintains a log of transactions
B)Maintains before and after database images
C)Maintains appropriate concurrency control
D)All of the above
سؤال
Location transparency allows for which of the following?

A)Users to treat the data as if it is at one location
B)Programmers to treat the data as if it is at one location
C)Managers to treat the data as if it is at one location
D)All of the above.
سؤال
A heterogeneous distributed database is which of the following?

A)The same DBMS is used at each location and data are not distributed across all nodes.
B)The same DBMS is used at each location and data are distributed across all nodes.
C)A different DBMS is used at each location and data are not distributed across all nodes.
D)A different DBMS is used at each location and data are distributed across all nodes.
سؤال
Some of the columns of a relation are at different sites is which of the following?

A)Data Replication
B)Horizontal Partitioning
C)Vertical Partitioning
D)Horizontal and Vertical Partitioning
سؤال
Which of the following is true concerning a global transaction?

A)The required data are at one local site and the distributed DBMS routes requests as necessary.
B)The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C)The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D)The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS
سؤال
A homogenous distributed database is which of the following?

A)The same DBMS is used at each location and data are not distributed across all nodes.
B)The same DBMS is used at each location and data are distributed across all nodes.
C)A different DBMS is used at each location and data are not distributed across all nodes.
D)A different DBMS is used at each location and data are distributed across all nodes.
سؤال
Replication should be used when which of the following exist?

A)When transmission speeds and capacity in a network prohibit frequent refreshing of large tables.
B)When using many nodes with different operating systems and DBMSs and database designs.
C)The application's data can be somewhat out-of-date.
D)All of the above.
سؤال
Storing a separate copy of the database at multiple locations is which of the following?

A)Data Replication
B)Horizontal Partitioning
C)Vertical Partitioning
D)Horizontal and Vertical Partitioning
سؤال
A distributed database is which of the following?

A)A single logical database that is spread to multiple locations and is interconnected by a network
B)A loose collection of file that is spread to multiple locations and is interconnected by a network
C)A single logical database that is limited to one location.
D)A loose collection of file that is limited to one location.
سؤال
A semijoin is which of the following?

A)Only the joining attributes are sent from one site to another and then all of the rows are returned.
B)All of the attributes are sent from one site to another and then only the required rows are returned.
C)Only the joining attributes are sent from one site to another and then only the required rows are return
سؤال
Which of the following is a disadvantage of replication?

A)Reduced network traffic
B)If the database fails at one site, a copy can be located at another site.
C)Each site must have the same storage capacity.
D)Each transaction may proceed without coordination across the network.
سؤال
A distributed database can use which of the following strategies?

A)Totally centralized at one location and accessed by many sites
B)Partially or totally replicated across sites
C)Partitioned into segments at different sites
D)All of the above
سؤال
Which of the following is not one of the stages in the evolution of distributed DBMS?

A)Unit of work
B)Remote unit of work
C)Distributed unit of Work
D)Distributed request
سؤال
A distributed database has which of the following advantages over a centralized database?

A)Software cost
B)Software complexity
C)Slow Response
D)Modular growth
سؤال
Which of the following is true concerning a global transaction?

A)The required data are at one local site and the distributed DBMS routes requests as necessary.
B)The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C)The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D)The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS.
سؤال
A transaction manager is which of the following?

A)Maintains a log of transactions
B)Maintains before and after database images
C)Maintains appropriate concurrency control
D)All of the above.
سؤال
What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

A)ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
B)ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
C)ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade> 0);
D)None of the above is correct.
سؤال
Changing cardinalities in a database is:

A)a common database design task.
B)a rare database design task, but does occur.
C)a database design task that never occurs.
D)is impossible to do, so a new database must be constructed and the data moved into it.
سؤال
Which one of the following sorts rows in SQL?

A)SORT BY
B)ALIGN BY
C)ORDER BY
D)GROUP BY
سؤال
The SQL keyword(s) ________ is used with wildcards.

A)LIKE only
B)IN only
C)NOT IN only
D)IN and NOT IN
سؤال
If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.

A)the primary key
B)any alternate key
C)a surrogate key
D)a foreign key
سؤال
For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

A)Two
B)Three
C)Four
D)Six
سؤال
In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

A)The line numbers reported match the line numbers you see in your text editor.
B)SQL*Plus will automatically show the errors to you.
C)To see the errors, enter SHOW ERRORS in SQL*Plus.
D)If there are no syntax errors, you will receive the message "NO ERRORS."
سؤال
Which of the following is not true about indexes?

A)Indexes are created to enforce uniqueness on columns.
B)Indexes are created to enable fast retrieval by column values.
C)Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes.
D)Indexes are created with the ALTER TABLE command.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/30
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 5: Oracle Backup, Distributed Databases, and SQL Commands
1
What is the type of Oracle backup in which all uncommitted changes have been removed from the datafiles?

A)Full backup
B)Consistent backup
C)Inconsistent backup
D)Differential backup
Consistent backup
2
Which of the following is true concerning a procedure?

A)You do not create them with SQL.
B)They do not need to have a unique name.
C)They include procedural and SQL statements.
D)They are the same thing as a function.
They include procedural and SQL statements.
3
A CASE SQL statement is which of the following?

A)A way to establish an IF-THEN-ELSE in SQL.
B)A way to establish a loop in SQL.
C)A way to establish a data definition in SQL.
D)All of the above.
A way to establish an IF-THEN-ELSE in SQL.
4
Which of the following statements is true concerning routines and triggers?

A)Both consist of procedural code.
B)Both have to be called to operate.
C)Both run automatically.
D)Both are stored in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
5
A distributed database has which of the following advantages over a centralized database?

A)Software cost
B)Software complexity
C)Slow Response
D)Modular growth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
6
An autonomous homogenous environment is which of the following?

A)The same DBMS is at each node and each DBMS works independently.
B)The same DBMS is at each node and a central DBMS coordinates database access.
C)A different DBMS is at each node and each DBMS works independently.
D)A different DBMS is at each node and a central DBMS coordinates database access.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
7
A transaction manager is which of the following?

A)Maintains a log of transactions
B)Maintains before and after database images
C)Maintains appropriate concurrency control
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
8
Location transparency allows for which of the following?

A)Users to treat the data as if it is at one location
B)Programmers to treat the data as if it is at one location
C)Managers to treat the data as if it is at one location
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
9
A heterogeneous distributed database is which of the following?

A)The same DBMS is used at each location and data are not distributed across all nodes.
B)The same DBMS is used at each location and data are distributed across all nodes.
C)A different DBMS is used at each location and data are not distributed across all nodes.
D)A different DBMS is used at each location and data are distributed across all nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
10
Some of the columns of a relation are at different sites is which of the following?

A)Data Replication
B)Horizontal Partitioning
C)Vertical Partitioning
D)Horizontal and Vertical Partitioning
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is true concerning a global transaction?

A)The required data are at one local site and the distributed DBMS routes requests as necessary.
B)The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C)The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D)The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
12
A homogenous distributed database is which of the following?

A)The same DBMS is used at each location and data are not distributed across all nodes.
B)The same DBMS is used at each location and data are distributed across all nodes.
C)A different DBMS is used at each location and data are not distributed across all nodes.
D)A different DBMS is used at each location and data are distributed across all nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
13
Replication should be used when which of the following exist?

A)When transmission speeds and capacity in a network prohibit frequent refreshing of large tables.
B)When using many nodes with different operating systems and DBMSs and database designs.
C)The application's data can be somewhat out-of-date.
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
14
Storing a separate copy of the database at multiple locations is which of the following?

A)Data Replication
B)Horizontal Partitioning
C)Vertical Partitioning
D)Horizontal and Vertical Partitioning
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
15
A distributed database is which of the following?

A)A single logical database that is spread to multiple locations and is interconnected by a network
B)A loose collection of file that is spread to multiple locations and is interconnected by a network
C)A single logical database that is limited to one location.
D)A loose collection of file that is limited to one location.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
16
A semijoin is which of the following?

A)Only the joining attributes are sent from one site to another and then all of the rows are returned.
B)All of the attributes are sent from one site to another and then only the required rows are returned.
C)Only the joining attributes are sent from one site to another and then only the required rows are return
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which of the following is a disadvantage of replication?

A)Reduced network traffic
B)If the database fails at one site, a copy can be located at another site.
C)Each site must have the same storage capacity.
D)Each transaction may proceed without coordination across the network.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
18
A distributed database can use which of the following strategies?

A)Totally centralized at one location and accessed by many sites
B)Partially or totally replicated across sites
C)Partitioned into segments at different sites
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following is not one of the stages in the evolution of distributed DBMS?

A)Unit of work
B)Remote unit of work
C)Distributed unit of Work
D)Distributed request
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
20
A distributed database has which of the following advantages over a centralized database?

A)Software cost
B)Software complexity
C)Slow Response
D)Modular growth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which of the following is true concerning a global transaction?

A)The required data are at one local site and the distributed DBMS routes requests as necessary.
B)The required data are located in at least one nonlocal site and the distributed DBMS routes requests as necessary.
C)The required data are at one local site and the distributed DBMS passes the request to only the local DBMS.
D)The required data are located in at least one nonlocal site and the distributed DBMS passes the request to only the local DBMS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
22
A transaction manager is which of the following?

A)Maintains a log of transactions
B)Maintains before and after database images
C)Maintains appropriate concurrency control
D)All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
23
What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?

A)ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
B)ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
C)ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade> 0);
D)None of the above is correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
24
Changing cardinalities in a database is:

A)a common database design task.
B)a rare database design task, but does occur.
C)a database design task that never occurs.
D)is impossible to do, so a new database must be constructed and the data moved into it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which one of the following sorts rows in SQL?

A)SORT BY
B)ALIGN BY
C)ORDER BY
D)GROUP BY
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
26
The SQL keyword(s) ________ is used with wildcards.

A)LIKE only
B)IN only
C)NOT IN only
D)IN and NOT IN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
27
If a relationship has a cascade updates constraint, then if ________ in the parent table is changed, then the same change will automatically be made to any corresponding foreign key value.

A)the primary key
B)any alternate key
C)a surrogate key
D)a foreign key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
28
For every relationship, how many possible types of actions are there when enforcing minimum cardinalities?

A)Two
B)Three
C)Four
D)Six
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
29
In creating a procedure, you may get a message if you have compile errors. Which of the following is true?

A)The line numbers reported match the line numbers you see in your text editor.
B)SQL*Plus will automatically show the errors to you.
C)To see the errors, enter SHOW ERRORS in SQL*Plus.
D)If there are no syntax errors, you will receive the message "NO ERRORS."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which of the following is not true about indexes?

A)Indexes are created to enforce uniqueness on columns.
B)Indexes are created to enable fast retrieval by column values.
C)Columns that are frequently used with equal conditions in WHERE clauses are good candidates for indexes.
D)Indexes are created with the ALTER TABLE command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 30 في هذه المجموعة.