exam questions

Exam DA0-001 All Questions

View all questions & answers for the DA0-001 exam

Exam DA0-001 topic 1 question 100 discussion

Actual exam question from CompTIA's DA0-001
Question #: 100
Topic #: 1
[All DA0-001 Questions]

Which of the following is the best reason to use database views instead of tables?

  • A. Views reduce the need for repetitive, complex data joins.
  • B. Views allow for the storage of temporary data, whereas tables do not.
  • C. Views allow for the joining of multiple data sources, whereas tables do not.
  • D. Views can be used to restrict sensitive information.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LtCmrData
1 month, 3 weeks ago
Selected Answer: A
I guess the controlling access with views is in the eyes of the beholder (or vendor). While views can be used to limit user access to certain data in a database, they are not a primary method for hiding sensitive data according to Microsoft. Microsoft's approach to protecting sensitive data involves a multi-layered defense, including techniques like data masking and sensitivity labels, which provide more robust data protection. A is the best option. Encapsulation (simplification) and reusability provided by views (I think) is the best reasons to use them.
upvoted 1 times
...
moreinva43
11 months, 3 weeks ago
Both A and D are valid, it is a guess to which Comptia thinks is BEST.
upvoted 1 times
...
Swift_and_Quick
1 year ago
New answer: A. Views can encapsulate complex joins and queries into a single virtual table-like structure. This means you can define a view once with the necessary joins and filters, and then reuse that view in queries without having to rewrite the complex join logic each time. This simplifies query writing, improves maintainability, and reduces the risk of errors.
upvoted 1 times
...
Swift_and_Quick
1 year, 2 months ago
D. Views can be used to restrict sensitive information. While all the options have their own merits, option D stands out as a fundamental advantage of using views. Views allow you to control access to sensitive data by defining subsets of data from one or more tables and limiting access to certain columns or rows based on predefined criteria. This capability is crucial for enforcing data security and access control policies without compromising the integrity of the underlying data structure. It helps protect sensitive information from unauthorized access, ensuring data privacy and confidentiality.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...