Q1
True / FalseIn ORACLE, a Surrogate Key is a unique identifier that is not derived from application data.
A Surrogate Key is an artificial identifier that is not derived from the actual data in the table but is generated by the system to uniquely identify rows.
Q2
True / FalseSurrogate Keys in ORACLE are often created using sequences.
Sequences are commonly used in ORACLE to generate Surrogate Keys, providing a unique value for each row.
Q3
True / FalseA Surrogate Key in ORACLE can be used as a Primary Key.
Surrogate Keys are frequently used as Primary Keys because they provide a unique and stable identifier for each row.
Q4
True / FalseSurrogate Keys in ORACLE should be meaningful to the business.
Surrogate Keys are intentionally meaningless to the business and are only used to uniquely identify rows within the database.
Q5
True / FalseIn ORACLE, using a Surrogate Key can help improve performance when joining tables.
Surrogate Keys, being typically numeric and indexed, can improve join performance compared to Natural Keys which may be composite or string-based.
Q6
True / FalseSurrogate Keys in ORACLE should be updated when the business requirements change.
Surrogate Keys should never be updated because they are system-generated and do not change based on business requirements.
Q7
True / FalseIn ORACLE, a Surrogate Key can be generated using a UUID.
A UUID (Universal Unique Identifier) can be used as a Surrogate Key, ensuring uniqueness across different tables or databases.
Q8
True / FalseSurrogate Keys in ORACLE can cause issues with data migration between systems.
Surrogate Keys generally simplify data migration because they are system-generated and consistent, unlike Natural Keys which may change or be inconsistent.
Q9
True / FalseIn ORACLE, a Surrogate Key should be indexed to ensure fast lookups.
Indexing a Surrogate Key ensures fast lookups and efficient data retrieval.
Q10
True / FalseIn ORACLE, a Surrogate Key can be a composite key.
A Surrogate Key is typically a single column, unique identifier generated by the system. Composite keys are usually formed from Natural Keys or business-related attributes.
Q15
Multiple ChoiceChoose the SQL statements that correctly demonstrate the use of surrogate keys in data partitioning.
Partitioning tables based on surrogate keys can significantly improve performance by distributing the data across multiple storage segments. The correct SQL statements will include the partitioning clauses.