PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which package configuration should you use?

You are developing a SQL Server Integration Services (SSIS) package that imports data into
a data warehouse hosted on SQL Azure.

The package uses a Foreach container to process text files found in a folder. The package
must be deployed to a single server by using the Project Deployment model.
Multiple SQL Server Agent jobs call the package. Each job is executed on a different
schedule. Each job passes a different folder path to the package.
You need to configure the package to accept the folder path from each job.
Which package configuration should you use?

How should you design the control flow for the package?

DRAG DROP
You are designing a SQL Server Integration Services (SSIS) package. The package moves
order-related data to a staging table named Order. Every night the staging data is truncated
and then all the recent orders from the online store database are inserted into the staging
table.
Your package must meet the following requirements:
• If the truncate operation fails, the package execution must stop and report an error.
• If the Data Flow task that moves the data to the staging table fails, the entire refresh
operation must be rolled back.
• For auditing purposes, a log entry must be entered in a SQL log table after each
execution of the Data Flow task.
The TransactionOption property for the package is set to Required.
You need to design the package to meet the requirements.

How should you design the control flow for the package? (To answer, drag the appropriate
setting from the list of settings to the correct location or locations in the answer area.)

Which settings should you select?

DRAG DROP
You are developing a SQL Server Integration Services (SSIS) package that imports data into
a data warehouse. You are developing the part of the SSIS package that populates the
ProjectDates dimension table.
The business key of the ProjectDates table is the ProjectName column. The business user
has given you the dimensional attribute behavior for each of the four columns in the
ProjectDates table:
• ExpectedStartDate – New values should be tracked over time.
• ActualStartDate – New values should not be accepted.
• ExpectedEndDate – New values should replace existing values.
• ActualEndDate – New values should be tracked over time.
You use the SSIS Slowly Changing Dimension Transformation.
You must configure the Change Type value for each source column.
Which settings should you select? (To answer, select the appropriate setting or settings in
the answer area. Each Change Type may be used once, more than once, or not at all.)

You need to achieve this goal by granting the minimum permissions required

You administer a Microsoft SQL Server 2012 database that has Trustworthy set to On. You
create a stored procedure that returns database-level information from Dynamic
Management Views.
You grant User1 access to execute the stored procedure.

You need to ensure that the stored procedure returns the required information when User1
executes the stored procedure. You need to achieve this goal by granting the minimum
permissions required.
What should you do? (Each correct answer presents a complete solution. Choose all that
apply.)

Which three actions should you perform in sequence?

DRAG DROP
You administer a Microsoft SQL Server 2012 database.
All database traffic to the SQL Server must be encrypted by using secure socket layer (SSL)
certificates or the connection must be refused.
Network administrators have deployed server certificates to the Windows store of all
Windows servers on the network from a trusted Certificate Authority. This is the only
Certificate Authority allowed to distribute certificates on the network.
You enable the Force Encryption flag for the MSSQLServer protocols, but client computers
are unable to connect. They receive the following error message:
“A connection was successfully established with the server, but then an error occurred
during the pre-login handshake, (provider: SSL Provider, error: 0 – The certificate chain was
issued by an authority that is not trusted.) (Microsoft SQL Server)”
You notice the following entry in the SQL Server log:
“A self-generated certificate was successfully loaded for encryption.”
You need to configure SQL Server to encrypt all client traffic across the network.
You also need to ensure that client computers are able to connect to the server by using a
trusted certificate.
Which three actions should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)

Which query should you use as the data source?

You are developing a SQL Server Integration Services (SSIS) package that imports data
from a relational database to a data warehouse.
You are importing data from a relational table named Projects. The table has change data
capture enabled on all columns.
You need to process only the most recent values from rows that have been inserted or
updated since the previous execution of the package.
Which query should you use as the data source?

Which three steps should you perform in sequence?

DRAG DROP
You are building a SQL Server Integration Services (SSIS) package to load data from all
files that are automatically copied to a directory each night through an external FTP process.
You need to load data from all copied files to a destination table in SQL Server.
Which three steps should you perform in sequence? (To answer, move the appropriate
actions from the list of actions to the answer area and arrange them in the correct order.)

Which Transact-SQL statement should you use?

You are migrating a database named Orders to a new server that runs Microsoft SQL Server 2012.
You attempt to add the [Corpnet\User1] login to the database. However, you receive the
following error message:
“User already exists in current database.”
You need to configure the [Corpnet\User1] login to be able to access the Orders database
and retain the original permissions. You need to achieve this goal by using the minimum
required permissions.
Which Transact-SQL statement should you use?

Which Transact-SQL statement should you use before attempting the restore?

You administer a Microsoft SQL Server 2012 database.
You configure Transparent Data Encryption (TDE) on the Orders database by using the
following statements:

You attempt to restore the Orders database and the restore fails. You copy the encryption
file to the original location.
A hardware failure occurs and so a new server must be installed and configured.
After installing SQL Server to the new server, you restore the Orders database and copy the
encryption files to their original location. However, you are unable to access the database.
You need to be able to restore the database.
Which Transact-SQL statement should you use before attempting the restore?