ITPEC FE Morning April 2021 Question 39
ITPEC FE Morning April 2021 — Question 39 of 80
Least Privilege for Database Access Rights — assign the minimum access right needed for the application's functions.
The application only retrieves and displays data (i.e., SELECT). Three access levels are defined:
- •Reference right — permits
SELECT(read-only) - •Update right — permits
INSERT,UPDATE,DROPrecords - •Administrator right — permits
CREATE,ALTER,DROPtables
Since the application only reads data, Reference right is sufficient.
Why not others:
- (a) Administrator right — allows DDL operations (CREATE, ALTER, DROP tables), far beyond what is needed
- (c) Update right — allows data modification (INSERT, UPDATE, DROP records), which is unnecessary for a read-only app
- (d) Update right and reference right — Update right is excessive; Reference right alone covers SELECT
Key rule: Apply the principle of least privilege — grant only the permissions the application actually needs.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.