Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam DS0-001 Topic 2 Question 22 Discussion

Actual exam question for CompTIA's DS0-001 exam
Question #: 22
Topic #: 2
[All DS0-001 Questions]

A database administrator needs to aggregate data from multiple tables in a way that does not impact the original tables, and then provide this information to a department. Which of the following is the best way for the administrator to accomplish this task?

Show Suggested Answer Hide Answer
Suggested Answer: A

The category of SQL commands that is required to revoke access to database objects is DCL. DCL, or Data Control Language, is a subset of SQL commands that are used to control or manage the access or permissions of users or roles on a database. DCL includes commands such as GRANT and REVOKE. GRANT is a DCL command that is used to grant privileges or roles to users or roles on specific objects in a database, such as tables, views, procedures, etc. REVOKE is a DCL command that is used to revoke privileges or roles from users or roles on specific objects in a database. For example, the following statement uses the REVOKE command to revoke the SELECT privilege from user Alice on table employee:

REVOKE SELECT ON employee FROM Alice;

The other options are either different categories of SQL commands or not related to SQL commands at all. For example, IDDL is not a valid acronym or category of SQL commands; IDML is not a valid acronym or category of SQL commands; TCL, or Transaction Control Language, is a subset of SQL commands that are used to control or manage transactions on a database, such as committing or rolling back changes.Reference:CompTIA DataSys+ Course Outline, Domain 4.0 Data and Database Security, Objective 4.2 Given a scenario, implement security controls for databases.


Contribute your Thoughts:

Luz
3 days ago
If they'd asked me, I'd have said 'create a unicorn' as the answer. But since that's not an option, I guess I'll have to go with the materialized view.
upvoted 0 times
...
Frederica
5 days ago
Indexes? Really? That's like trying to put a band-aid on a broken leg. Materialized view all the way, my friend.
upvoted 0 times
...
Scarlet
16 days ago
Ah, the old 'create a function' trick. Classic, but not really the best fit for this scenario. Gotta go with the materialized view on this one.
upvoted 0 times
Hyun
7 days ago
Materialized view is definitely the way to go.
upvoted 0 times
...
...
Nydia
18 days ago
Creating a new database just to get this data seems a bit overkill, don't you think? I'd go with the materialized view option.
upvoted 0 times
...
Lawrence
30 days ago
A materialized view sounds like the perfect solution here. It'll give us the aggregated data without impacting the original tables. Brilliant!
upvoted 0 times
Diane
12 days ago
User 1: A materialized view sounds like the perfect solution here.
upvoted 0 times
...
...
Wai
1 months ago
I think creating a function would be the best way to aggregate the data.
upvoted 0 times
...
Tomoko
1 months ago
I disagree, I believe creating a new database would be more efficient.
upvoted 0 times
...
Larae
1 months ago
I think creating a materialized view would be the best option.
upvoted 0 times
...

Save Cancel