InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What will you do if a package runs fine in BIDS but fails while running from the SQL agent job? |
|
Answer» A PACKAGE that runs SUCCESSFULLY in BIDS and fails from the SQL agent job can mean that the SQL Agent jobs do not have the necessary permission for some connections of the package. We can either create a proxy account that allows SQL Agent jobs to run the package or elevate the current account permissions. Conclusion:SSIS is a PLATFORM for integration services that provide automated tasks and various transformation components for cleaning, transforming, and validating data throughout the process of data loading from source to DESTINATION. In this article, we have seen what are the most commonly asked SSIS interview questions and the answers to them. References and Resources: Database SQL Interview Guide |
|
| 2. |
How will you add a recordset variable inside Script Task? |
|
Answer» Variables are used in script tasks to FACILITATE data exchange with other objects of the package. Script task makes use of the property called Variables of Dts object for reading and writing to VARIABLE objects of the package. To make the variables available to the CUSTOM script, we need to add them to read-only or read-write variable lists. The variable names are case-sensitive and care has to be taken while adding the variables to the list. We can use the VALUE property for reading and writing data to the variables. |
|
| 3. |
How do you store SQL passwords? Does the SSIS connection manager of the package store SQL password? |
|
Answer» The SSIS connection MANAGER has ISSUES in storing the password. Hence we can follow the below-proposed solutions:
|
|
| 4. |
Explain the importance of config files in SSIS. |
|
Answer» The config file is used for providing inputs to the connection MANAGER about the properties used by the packages and tasks at the run-time. This is especially useful when the changes are deployed on multiple locations or servers as we do not have to worry every time package runs about configuration. Depending on the server or location, the config files are automatically picked and used.
|
|
| 5. |
What is SSIS event logging property? |
|
Answer» This property gives US the FLEXIBILITY to log or not to log the EVENTS while RUNNING the components - tasks and packages - in SSIS. |
|
| 6. |
What are the components that would be used to send data from the access database to the SQL database on the off chance? |
|
Answer» We will be using the following three components:
|
|
| 7. |
What is SSIS breakpoint? |
|
Answer» An SSIS breakpoint is a property that allows developers to debug and review the variable or data STATUS at any point by pausing the EXECUTION of the package in the project. The breakpoints are configured in Business Intelligence Development Studio, generally KNOWN as BIDS. The following steps are followed to apply or remove SSIS breakpoints:
|
|
| 8. |
Is it possible to schedule packages for a specific time period of a day? |
|
Answer» Yes. This can be done by designing SQL Server Agent Job with WORK steps similar to the SSIS PACKAGE. This job fetches the dtexec order utility to execute the bundle. This created bundle can be run or REQUESTED based on the requirement or can be rescheduled based on the RECURRING requirement. |
|
| 9. |
Is it possible to log SSIS execution? |
|
Answer» Yes. SSIS supports logging which HELPS the system in analyzing and writing log entries during any run-time events. It also supports logging of CUSTOM MESSAGES, which the developer has to manually enable. Since the SSIS deals with a variety of data sources, logging is supported in multiple formats such as logging information to text files, XML files, Windows Log, etc. The scope of the logs is packages. They are maintained at the package level which means that any task that RUNS from the package can log information to other package logs. |
|
| 10. |
How many lookup cache modes are present in SSIS? |
|
Answer» There are 3 types of lookup cache modes. These are PART of Lookup TRANSFORMATION in SSIS.
|
|
| 11. |
What does the data profiling task do? |
|
Answer» Data profiling is the PROCESS of examining INFORMATION by comprehending its condition, readability, examples, NULLS, or NUMBERS. This is PERFORMED at the beginning of the advancement cycle for structuring the database blueprint and assessing the quality of the data. |
|
| 12. |
Explain the types of SSIS containers. |
|
Answer» The following containers are present in SSIS:
|
|
| 13. |
Difference between Merge Transformation and Union all transformations. |
|
Answer» Merge Transformation: This does the task of merging data from 2 sources to single OUTPUT. This is useful when we NEED to break the data flow path to a separate error path and once the error is handled, merge that back to the main data flow. To apply this transformation, the data should be sorted first and the metadata information for the 2 paths should be the same. The sorting can be done by applying sort transformation before the merge or by providing an ORDER BY clause in the source connection. Union All Transformation: Union all transformation working is SIMILAR to merge transformation but the only difference is that this does not require sorted data. Data from different sources are transformed and COMBINED into a single output. |
|
| 14. |
Define Data Flow in SSIS. |
|
Answer» Data flow is the data transferring process from the source to a specified donation. It defines the way how data or information is SENT from one point to other. It consists of 3 main components: SSIS GIVES control to the users to perform the data transformation process from source to destination utilizing various built-in transformation components. The components provided by the SSIS HELPS users in data cleaning and manipulation in the pipeline. For achieving this, the user needs to attach a data flow task to the PACKAGE control flow which is later executed within the package by creating, ordering, and running the data flow. It is WORTHY to note that each data flow task has a separate data flow engine instance. |
|
| 15. |
How is the deployment utility created in SSIS? |
|
Answer» Deployment is nothing but a PROCESS of updating the state of the package from development mode to executable mode. Deployment in SSIS can be done by simply performing the right-click operation on the “INTEGRATION Services Project” and clicking on the BUILD option. This would create a “package.dtsx” file inside the bin folder named “projectbin”. The utility HELPS in deploying packages at SQL server or as an executable file on a SPECIFIED location. Following are the steps followed to create a deployment utility:
|
|