Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
sale

Want to Unlock All Questions for this Exam?

Full Exam Access, Discussions, No Robots Checks

Microsoft 70-465 Exam Actual Questions

The questions for 70-465 were last updated on April 23, 2024.
  • Viewing page 1 out of 16 pages.
  • Viewing questions 1-4 out of 69 questions

Topic 1 - Single Topic

Question #1 Topic 1

You are designing a Windows Azure SQL Database for an order fulfillment system. You create a table named Sales.Orders with the following script.

Each order is tracked by using one of the following statuses:
✑ Fulfilled
✑ Shipped
✑ Ordered
✑ Received
You need to design the database to ensure that that you can retrieve the following information:
✑ The current status of an order
✑ The previous status of an order.
✑ The date when the status changed.
The solution must minimize storage.
More than one answer choice may achieve the goal. Select the BEST answer.

  • A. To the Sales.Orders table, add three columns named Status, PreviousStatus and ChangeDate. Update rows as the order status changes.
  • B. Create a new table named Sales.OrderStatus that contains three columns named OrderID, StatusDate, and Status. Insert new rows into the table as the order status changes.
  • C. Implement change data capture on the Sales.Orders table.
  • D. To the Sales.Orders table, add three columns named FulfilledDate, ShippedDate, and ReceivedDate. Update the value of each column from null to the
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #2 Topic 1

You create a stored procedure that retrieves all of the rows from a table named Table1.
You need to recommend a solution to ensure that all of the statements in the stored procedure can be executed if another transaction is modifying rows in Table1 simultaneously.
What should you recommend?

  • A. Snapshot isolation
  • B. A database snapshot
  • C. Filegroups
  • D. Indexes
Reveal Solution Hide Solution   Discussion  

Correct Answer: A 🗳️
Once snapshot isolation is enabled, updated row versions for each transaction are maintained in tempdb. A unique transaction sequence number identifies each transaction, and these unique numbers are recorded for each row version. The transaction works with the most recent row versions having a sequence number before the sequence number of the transaction. Newer row versions created after the transaction has begun are ignored by the transaction.
Reference:
Transaction Isolation Levels

Question #3 Topic 1

You have a SQL Server instance on a server named Server1.
You need to recommend a solution to perform the following tasks every week:
✑ Rebuild the indexes by using a new fill factor.
✑ Run a custom T-SQL command.
✑ Back up the databases.
What should you recommend?
More than one answer choice may achieve the goal. Select the BEST answer.

  • A. A trigger
  • B. An alert
  • C. A maintenance plan
  • D. Windows PowerShell
  • E. A system policy
Reveal Solution Hide Solution   Discussion  

Correct Answer: C 🗳️
Maintenance plans create a workflow of the tasks required to make sure that your database is optimized, regularly backed up, and free of inconsistencies.
Reference:
Maintenance Plans

Question #4 Topic 1

HOTSPOT -
You use SQL Server 2014. You create a table within a database by using the following DDL:

The following table illustrates a representative sample of data:

The system is expected to handle 50 million orders a month over the next five years.
You have been instructed by your Team Lead to follow best practices for storage and performance in the utilization of SPARSE columns.
Which columns should you designate as SPARSE? To answer, mark each column as SPARSE or NOT SPARSE in the answer area.
Hot Area:

Reveal Solution Hide Solution   Discussion   3

Correct Answer:
Note:
Sparse columns are ordinary columns that have an optimized storage for null values. Sparse columns reduce the space requirements for null values at the cost of more overhead to retrieve nonnull values. Consider using sparse columns when the space saved is at least 20 percent to 40 percent.
Reference:
Use Sparse Columns

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 ...