Home > Articles

Answers to Exam Questions

  1. B. Removing or renaming the table would result in SQL Server not finding the table when the view is executed, causing the execution to fail. Answer A is false because SQL Server checks dependencies every time a view is compiled or accessed. SQL Server does not keep binding information between objects. Changing an underlying column would generate an error, but would not generate the error given in the question, so Answer C is not correct. Users who have appropriate permissions to access a view do not need additional access to the underlying table. Since the error message specifies invalid object names instead of permission violations, Answer D is not correct.

  2. A. The system files, which are accessed less frequently, are on their own logical drive and have plenty of throughput. Creating both the database and transaction log spanning two logical drives produces the maximum throughput of 200MB/sec. Placing the system files, swap file, SQL Server executable files, and transaction log on one logical disk, while placing the database files on the second logical disk only provides 120MB/sec of throughput for the database files, so answer B is incorrect. Answer C is even less appealing because the transaction log and the database files are sharing only 120MB/sec of throughput. The throughput of answer D is the same as answers B and C, because the database files still only have the second controller's throughput of 120MB/sec.

  3. C. Lazy schema validation optimizes performance by ensuring that the query processor does not request metadata for any of the linked tables until data is actually needed for the remote member table. Remote servers are used to enable stored procedure execution on a remote server. Since Answers A and D both suggest remote servers, both are incorrect. To enable partitioning, you have to set up linked servers and lazy validation using the sp_serveroption stored procedure; this makes Answer B false.

  4. C and E. An IDENTITY column takes the following parameters: the first is the seed value, and the second is the increment value. Answer D is incorrect for this reason. In this question, a Student table is created and StudentID will be generated as soon as a new record is inserted into the table. The first record will have a StudentID of 1, and any further additions will increment by 10. An IDENTITY column is not updateable, hence Answer B is not correct. All of the columns, besides StudentID, LastName, and FirstName, are optional, so Answer A cannot be correct. Using autogrow conserves space on the server, allowing the database to grow when it requires more space to hold the data, indexes, and other database-related information. The autoshrink feature causes the database to resize itself when data is removed from the database, and periodically SQL Server will check the database and shrink the database files when possible. The autoclose feature enables SQL Server to shut down the database when all users are disconnected and all resources are free, but does not conserve resources, so Answer A is incorrect. Creating a large database will improve performance, but does not conserve resources, hence Answer B is not correct. Without using autoshrink, a database will retain its large size, making Answer D incorrect. A clustered index orders the data physically providing the sorted order. You need a composite index because you have more than one column in the index. Duplicates are allowed, so a non-unique index is required. None of the other answers meet the customer requirements.

  5. C. The emphasis of this question is to use system disk resources conservatively. The autoclose feature of SQL Server 2000 closes the database and frees its resources when no user connection is accessing the database. It does nothing during a delete operation, and consequently answer A is not a correct answer. Creating a large database is not in keeping with the requirements to conservatively use resources, so answer B is not correct. Both C and D detail creating a database and allowing it to automatically grow. Only answer C, however, addresses the scenario that there will be periodic deletes, and will allow the database to maintain a conservative use of resources.

  6. C. Firstly, the scenario calls for indexing on multiple columns, requiring a composite index. Answer D does not provide for this, and can be excluded. Second, the scenario calls for sorted order indexing, which is provided by a clustered index. Answer B calls for a nonclustered index, and can be excluded. The final requirement is for the allowance of duplicate data. Answer A calls for a unique index, which disallows duplicates, and consequently does not meet the requirements for the scenario.

  7. B. Because a transaction log is a sequential wrap-around write file, fault-tolerance is gained by mirroring the log without striping. RAID 0 is not recommended for any SQL Server files without any other backup place because it provides no redundancy, and since the requirement is to provide full recovery, Answer A cannot be chosen. RAID 5 uses parity, as well as striping, to provide fault tolerance. This is excellent for the performance of read operations because it uses fewer disks than RAID 1, but is not optimal for the transaction log, which mostly performs sequential writes, so Answer C is not correct. RAID 10 uses mirroring and striping, a combination of RAID 0 and RAID 1, and gives the ultimate in performance and recoverability, but it requires a hardware RAID controller, which does not keep down the hardware cost, so Answer D is not correct.

  8. D. Adding the column with a data type declaration, the not null option, a default definition, and a check constraint meets all of the requirements. Answers A and C are incorrect because a default value must be defined if you use the not null option. You can create the column definition and the constraint with the same statement, so Answer B is not true.

  9. A. Transactional replication is used to propagate changes to subscribers as soon as they are made, and changes only occur in the publisher database. There is no Transitional replication, so Answer B is not correct. Merge replication is used when data can be changed at either the publisher or the subscriber. Merge replication would work in the context of the question, but would introduce additional overhead on the servers; that was not part of the requirement, so Answer C is incorrect. Snapshot replication is used for infrequently changed data, where data is allowed to be out-of-date until replication is scheduled, making Answer D incorrect.

  10. A, D, and F. Data can be put on the secondary file group, allowing you to back up only the primary file group (which has the system tables), to ensure that the system databases are always intact. Answer A would also allow a partial restore. File groups can have DBCC CHECKFILEGROUP run on each separate file group, which has the advantage of taking less time than a full DBCC, or when there are few data changes on the secondary file group, which makes Answer D correct. Answer F highlights that in order to have point-of-failure recovery, the primary file group must be intact. If it is made small and protected from the rest of the data, this file group has a better chance of remaining intact. There can be a performance benefit to creating file groups on separate physical drives, but not on the same one, so Answer B is false. Answer C is also incorrect because the primary file group can never be marked as read-only. Answer E, while technically possible, does not necessarily follow from the information given, and so is not correct.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020