PCDE Design and implement database schemas • 10 Questions
10 PCDE Design and implement database schemas practice questions with answers and explanations. Free, no signup.
A company is using Cloud Spanner to manage financial transactions. The current schema has a single table 'Transactions' with a composite primary key (account_id, transaction_timestamp). The company frequently queries the latest transaction for each account. This query pattern is causing full table scans. Which schema design change would most improve query performance?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.