Question 1
Topic: Secure Software Concepts
Skill tested: Applies least privilege and defense in depth to limit damage from application compromise.
A financial-services firm runs a transaction-processing application on shared application servers. A recent review found that the application service account can read every customer record and has database privileges to alter schema objects, although the application only needs to read and update transaction records. The firm cannot move the application to dedicated servers this quarter, and the database platform supports role-based privileges. Which change BEST reduces the potential impact of an application compromise while preserving the required service?
A narrowly scoped database role applies least privilege: a compromised process cannot use privileges it does not possess. Restricting access to customer records by need-to-know further limits exposure. Encryption at rest in A does not prevent an authorized, compromised service account from reading or changing data. Human approval for every application update in C is not a practical substitute for appropriate authorization. Replication in D may help availability but duplicates the excessive privileges rather than reducing risk.