首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. H
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. H
admin
2009-05-19
87
问题
You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. However, users report that some of this data is being changed. You need to prevent users from modifying the data.
You want to minimize changes to your security model and to your database applications. How should you modify the database?
选项
A、Create a filegroup named LOOKUP. Move the lookup tables to this filegroup. Select the read only check box for the filegroup.
B、Create a database role named datamodifier. Grant SELECT permissions to the datamodifier role. Add all users to the role.
C、Deny INSERT, UPDATE, and DELETE permissions for all users. Create stored procedures that modify data in all tables except lookup tables. Require users to modify data through these stored procedures.
D、Create a view of the lookup tables. Use the view to allow users access to the lookup tables.
答案
A
解析
Explanation: SQL Server 2000 allows filegroups other than the primary filegroup to be marked as readonly.
A filegroup that is marked read-only cannot be modified. Tables that must not be modified can be placed on a filegroup that can then be mark as read-only. This will prevents accidental updates.
Incorrect Answers:
B: This solution effectively permits all users to modify any table in the database, as they would all have SELECT permissions to the database.
C: This solution will effectively prevent all users from being able to performing these tasks on all tables in the database as they are denied permissions to run INSERT, UPDATE, or DELETE statements against the database. A better solution would be to apply the deny permissions at the table level of the lookup tables. This would, however, require unnecessary administrative time.
D: Views are virtual tables that are used to filter tables or rows that the users should not have access to, however, if the users have access to the base tables, they can still run INSERT, UPDATE, and DELETE statements against the base table.
转载请注明原文地址:https://www.kaotiyun.com/show/yuhZ777K
本试题收录于:
微软70228题库微软认证分类
0
微软70228
微软认证
相关试题推荐
Imaginativeworkssuchasnovels,plays,films,fairytales,andlegendspresentamoreaccurateandmeaningfulpictureofhuman
Writeanessayof160-200wordsbasedonthefollowingtable.Youressayshould1.describethechangesintheaveragefamilyex
SupposeyouphonedyourfriendMaryseveraltimesyesterdaybutshedidn’tansweryourcallatall.Writeheranemailto1
BarackObamaspentmuchtimeonthecampaigntrailproposingadramaticvisiontochangenotonlytheUnitedStatesforthebett
EricHansenwritesabouttravelasaparticipatingenthusiastratherthanamereobserver.【T1】Itgivesthesenineessays,based
In2016,manyshoppersoptedtoavoidthefreneticcrowdsanddotheirholidayshoppingfromthecomfortoftheircomputer.But
MenorcaorMajorca?Itisthattimeoftheyearagain.Thebrochuresarepilingupintravelagentswhilenewspapersandmagazin
MireilleGuiliano,achampagnecompanyexecutive,capturedtheattentionoffrustrateddieterswithherjoyoflifeinthe2005
InToday’smanagement-theoryindustry,reputation—oratleastthecorporatekind—isa"strategicasset"thatcanbe"leveraged"
随机试题
瘀;石;虫;痰等阻塞所致之“气闭”,最突出的表现是
关于药品保管的温度A、2℃B、2~10℃C、不超过20℃D、10~30℃E、遮光并且温度不超过20℃左氧氟沙星片及注射剂的适宜保管温度是
阑尾炎患者术后早期下床活动的主要目的是()
会计人员所在单位应当负责组织和督促会计人员参加继续教育。()
配套效应是指因为追求配套而导致不经济及形式化的现象。朋友送给法国哲学家狄德罗一件质地优良、图案高雅的睡袍,狄德罗觉得家具和摆设的风格和睡袍不配套,于是他把家具和摆设全部更新了。经济学家把发生在狄德罗身上的这一现象称作“配套效应”,或者“狄德罗效应”。 根
一、注意事项1.申论考试是对考生阅读理解能力、综合分析能力、提出和解决问题能力、文字表达能力的测试。请考生仔细阅读给定资料,按要求作答。2.本试题由“给定资料”和“作答要求”两部分构成。二、给定资料1.自2006年起,桂剧、黔剧、花灯戏等一
给定资料1.1996年岁末,朱镕基同志在北京看话剧《商鞅》。据报道,他为剧情所动,凄然泪下。商鞅以惊人的勇气掀起改革之潮流,终为顽固派羁绊,车裂而死。此事虽已过去2000多年,然而以古衡今,焉能不令人慨叹。面对商鞅,以强人著称的朱镕基都
Theywillgetthejobdonein______time.
A—mouseI—draganddropB—centralprocessingunitJ—electroniccommerceC—CADK—floppydiskD—dataprocessingL—homepageE—desk
WhatisrequiredinmanydifferentsituationsinAmericanculture?Anexpressionof______.
最新回复
(
0
)