7
MSBI Interview Questions SSIS SQL Server Integration Services Q: What is SSIS? How it is related with SQL Server. SQL Server Integration Services (SSIS) is a component of SQL Server which can be used to perform a wide range of Data Migration and ETL operations. SSIS is a component in MSBI process of SQL Server. This is a platform for Integration and Workflow applications. It is known for a fast and flexible OLTP and OLAP extensions used for data extraction, transformation, and loading (ETL). The tool may also be used to automate maintenance of SQL Server databases and multidimensional data sets. Q: What are the tools associated with SSIS? We use Business Intelligence Development Studio (BIDS) and SQL Server Management Studio (SSMS) to work with Development of SSIS Projects. We use SSMS to manage the SSIS Packages and Projects. Q: What are the differences between DTS and SSIS Data Transformation Services SQL Server Integration Services Limited Error Handling Complex and powerful Error Handling Message Boxes in ActiveX Scripts Message Boxes in .NET Scripting No Deployment Wizard Interactive Deployment Wizard Limited Set of Transformation Good number of Transformations NO BI functionality Complete BI Integration Q: What is a workflow in SSIS 2014 ? Workflow is a set of instructions on to specify the Program Executor on how to execute tasks and containers within SSIS Packages. Q: What is the control flow? A control flow consists of one or more tasks and containers that execute when the package runs. To control order or define the conditions for running the next task or container in the package control flow, we use precedence constraints to connect the tasks and containers in a package. A subset of tasks and containers can also be grouped and run repeatedly as a unit within the package control flow. SQL Server Integration Services (SSIS) provides three different types of control flow elements: Containers that provide structures in packages, Tasks that provide functionality, and Precedence Constraints that connect the executables, containers, and tasks into an ordered control flow. Q: What is the data flow? Data flow consists of the sources and destinations that extract and load data, the transformations that modify and extend data, and the paths that link sources, transformations, and destinations The Data Flow task is the executable within the SSIS package that creates, orders, and runs the data flow. A separate instance of the data flow engine is opened for each Data Flow task in a package. Data Sources, Transformations, and Data Destinations are the three important categories in the Data Flow. Q: How does ErrorHandling work in SSIS When a data flow component applies a transformation to column data, extracts data from sources, or loads data into destinations, errors can occur. Errors frequently occur because of unexpected data values. Type of typical Errors in SSIS: Data Connection Errors, which occur incase the connection manager cannot be initialized with the connection string. This applies to both Data Sources and Data Destinations along with Control Flows that use the Connection Strings. Data Transformation Errors, which occur while data is being transformed over a Data Pipeline from Source to Destination. Expression Evaluation errors, which occur if expressions that are evaluated at run time perform invalid Q: What is environment variable in SSIS? An environment variable configuration sets a package property equal to the value in an environment variable. Environmental configurations are useful for configuring properties that are dependent on the computer that is executing the package. Q: What are the Transformations available in SSIS? AGGREGATE It applies aggregate functions to Record Sets to produce new output records from aggregated values. AUDIT Adds Package and Task level Metadata such as Machine Name, Execution Instance, Package Name, Package ID, etc.. CHARACTERMAP Performs SQL Server column level string operations such as changing data from lower case to upper case. CONDITIONALSPLIT– Separates available input into separate output pipelines based on Boolean Expressions configured for each output. COPYCOLUMN Add a copy of column to the output we can later transform the copy keeping the original for auditing. DATACONVERSION Converts columns data types from one to another type. It stands for Explicit Column Conversion. DATAMININGQUERY– Used to perform data mining query against analysis services and manage Predictions Graphs and Controls. DERIVEDCOLUMN Create a new (computed) column from given expressions. EXPORTCOLUMN– Used to export a Image specific column from the database to a flat file. FUZZYGROUPING– Used for data cleansing by finding rows that are likely duplicates. FUZZYLOOKUP Used for Pattern Matching and Ranking based on fuzzy logic. IMPORTCOLUMN Reads image specific column from database onto a flat file. Home TSQL Training SQL DBA Training MSBI Training Other Courses About Us Contact Us

MSBI Interview Questions

Embed Size (px)

DESCRIPTION

MSBI Interview Questions

Citation preview

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 1/7

    MSBIInterviewQuestionsSSISSQLServerIntegrationServicesQ:WhatisSSIS?HowitisrelatedwithSQLServer.SQL Server Integration Services (SSIS) is a component of SQL Server which can be used to perform a wide range of Data Migration and ETLoperations.SSISisacomponentinMSBIprocessofSQLServer.ThisisaplatformforIntegrationandWorkflowapplications.ItisknownforafastandflexibleOLTPandOLAPextensionsusedfordataextraction,transformation,andloading(ETL).ThetoolmayalsobeusedtoautomatemaintenanceofSQLServerdatabasesandmultidimensionaldatasets.

    Q:WhatarethetoolsassociatedwithSSIS?WeuseBusinessIntelligenceDevelopmentStudio(BIDS)andSQLServerManagementStudio(SSMS)toworkwithDevelopmentofSSISProjects.WeuseSSMStomanagetheSSISPackagesandProjects.

    Q:WhatarethedifferencesbetweenDTSandSSIS

    DataTransformationServices SQLServerIntegrationServices

    LimitedErrorHandling ComplexandpowerfulErrorHandling

    MessageBoxesinActiveXScripts MessageBoxesin.NETScripting

    NoDeploymentWizard InteractiveDeploymentWizard

    LimitedSetofTransformation GoodnumberofTransformations

    NOBIfunctionality CompleteBIIntegration

    Q:WhatisaworkflowinSSIS2014?WorkflowisasetofinstructionsontospecifytheProgramExecutoronhowtoexecutetasksandcontainerswithinSSISPackages.Q:Whatisthecontrolflow?

    Acontrolflowconsistsofoneormoretasksandcontainersthatexecutewhenthepackageruns.Tocontrolorderordefinetheconditionsforrunningthenexttaskorcontainerinthepackagecontrolflow,weuseprecedenceconstraintstoconnectthetasksandcontainersinapackage.Asubsetoftasks and containers can also be grouped and run repeatedly as a unitwithin the package control flow. SQLServer Integration Services (SSIS)provides three different types of control flow elements: Containers that provide structures in packages, Tasks that provide functionality, andPrecedenceConstraintsthatconnecttheexecutables,containers,andtasksintoanorderedcontrolflow.

    Q:Whatisthedataflow?Dataflowconsistsofthesourcesanddestinationsthatextractandloaddata,thetransformationsthatmodifyandextenddata,andthepathsthatlinksources,transformations,anddestinationsTheDataFlowtaskistheexecutablewithintheSSISpackagethatcreates,orders,andrunsthedataflow. A separate instance of the data flow engine is opened for each Data Flow task in a package. Data Sources, Transformations, and DataDestinationsarethethreeimportantcategoriesintheDataFlow.

    Q:HowdoesErrorHandlingworkinSSISWhenadataflowcomponentappliesatransformationtocolumndata,extractsdatafromsources,orloadsdataintodestinations,errorscanoccur.Errorsfrequentlyoccurbecauseofunexpecteddatavalues.TypeoftypicalErrorsinSSIS:DataConnectionErrors,whichoccur incasetheconnectionmanagercannotbe initializedwiththeconnectionstring.ThisappliestobothDataSourcesandDataDestinationsalongwithControlFlowsthatusetheConnectionStrings.DataTransformationErrors,whichoccurwhiledataisbeingtransformedoveraDataPipelinefromSourcetoDestination.ExpressionEvaluationerrors,whichoccurifexpressionsthatareevaluatedatruntimeperforminvalid

    Q:WhatisenvironmentvariableinSSIS?Anenvironmentvariableconfigurationsetsapackagepropertyequaltothevalueinanenvironmentvariable.Environmentalconfigurationsareusefulforconfiguringpropertiesthataredependentonthecomputerthatisexecutingthepackage.

    Q:WhataretheTransformationsavailableinSSIS?

    AGGREGATEItappliesaggregatefunctionstoRecordSetstoproducenewoutputrecordsfromaggregatedvalues.AUDITAddsPackageandTasklevelMetadatasuchasMachineName,ExecutionInstance,PackageName,PackageID,etc..CHARACTERMAPPerformsSQLServercolumnlevelstringoperationssuchaschangingdatafromlowercasetouppercase.CONDITIONALSPLITSeparatesavailableinputintoseparateoutputpipelinesbasedonBooleanExpressionsconfiguredforeachoutput.COPYCOLUMNAddacopyofcolumntotheoutputwecanlatertransformthecopykeepingtheoriginalforauditing.DATACONVERSIONConvertscolumnsdatatypesfromonetoanothertype.ItstandsforExplicitColumnConversion.DATAMININGQUERYUsedtoperformdataminingqueryagainstanalysisservicesandmanagePredictionsGraphsandControls.DERIVEDCOLUMNCreateanew(computed)columnfromgivenexpressions.EXPORTCOLUMNUsedtoexportaImagespecificcolumnfromthedatabasetoaflatfile.FUZZYGROUPINGUsedfordatacleansingbyfindingrowsthatarelikelyduplicates.FUZZYLOOKUPUsedforPatternMatchingandRankingbasedonfuzzylogic.IMPORTCOLUMNReadsimagespecificcolumnfromdatabaseontoaflatfile.

    Home TSQLTraining SQLDBATraining MSBITraining OtherCourses AboutUs ContactUs

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 2/7

    InstructorLedOnline(LIVE) Classroom

    SQLServer&TSQL

    InstructorLedOnline(LIVE) Classroom

    SQLServerDBA

    InstructorLedOnline(LIVE) Classroom

    MSBI(SSIS,SSAS,SSRS)

    InstructorLedOnline(LIVE) Classroom

    SSIS(ETL&DW)

    InstructorLedOnline(LIVE) Classroom

    SSAS(MDX&DAX)

    InstructorLedOnline(LIVE) Classroom

    SSRS&Powerview

    TobelaunchedfromJan.,2015

    DataQualityServices(DQS)

    TobelaunchedfromJan.,2015

    MicrosoftAzure/SQLCloud

    TobelaunchedfromJan.,2015

    MasterDataServices

    LOOKUPPerformsthelookup(searching)ofagivenreferenceobjectsetagainstadatasource.Itisusedforexactmatchesonly.MERGEMergestwosorteddatasetsintoasingledatasetintoasingledataflow.MERGEJOINMergestwodatasetsintoasingledatasetusingajoinjunction.MULTICASTSendsacopyofsuppliedDataSourceontomultipleDestinations.ROWCOUNTStorestheresultingrowcountfromthedataflow/transformationintoavariable.ROWSAMPLINGCapturessampledatabyusingarowcountofthetotalrowsindataflowspecifiedbyrowsorpercentage.UNIONALLMergemultipledatasetsintoasingledataset.PIVOTUsedforNormalizationofdatasourcestoreduceanalomoliesbyconvertingrowsintocolumnsUNPIVOTUsedfordenormalizingthedatastructurebyconvertscolumnsintorowsincaseofbuildingDataWarehouses.

    Q:HowtologSSISExecutions?SSISincludesloggingfeaturesthatwritelogentrieswhenruntimeeventsoccurandcanalsowritecustommessages.Thisisnotenabledbydefault.IntegrationServicessupportsadiversesetof logproviders,andgivesyou theability tocreatecustom logproviders.The IntegrationServices logproviderscanwritelogentriestotextfiles,SQLServerProfiler,SQLServer,WindowsEventLog,orXMLfiles.Logsareassociatedwithpackagesandareconfiguredatthepackagelevel.Eachtaskorcontainerinapackagecanloginformationtoanypackagelog.Thetasksandcontainersinapackagecanbeenabledforloggingevenifthepackageitselfisnot.

    Q:HowdoyoudeploySSISpackages?SSISProjectBUILDprovidesaDeploymentManifestFile.WeneedtorunthemanifestfileanddecidewhethertodeploythisontoFileSystemorontoSQLServer[msdb].SQLServerDeploymentisveryfasterandmoresecurethenFileSystemDeployment.Alternatively,wecanalsoimportthepackagefromSSMSfromFileSystemorSQLServer.

    Q:Whatarevariablesandwhatisvariablescope?VariablesstorevaluesthataSSISpackageanditscontainers,tasks,andeventhandlerscanuseatruntime.ThescriptsintheScripttaskandtheScriptcomponentcanalsousevariables.Theprecedenceconstraintsthatsequencetasksandcontainersintoaworkflowcanusevariableswhentheirconstraintdefinitions includeexpressions. IntegrationServices supports two typesof variables:userdefinedvariablesandsystemvariables.Userdefinedvariablesaredefinedbypackagedevelopers,andsystemvariablesaredefinedbyIntegrationServices.Youcancreateasmanyuserdefinedvariablesasapackagerequires,butyoucannotcreateadditionalsystemvariables.

    Q:CanyounamefiveofthePerfmoncountersforSSISandthevaluetheyprovide?

    SQLServer:SSISServiceSSISPackageInstancesSQLServer:SSISPipelineBLOBbytesreadBLOBbyteswrittenBLOBfilesinuseBuffermemoryBuffersinuseBuffersspooledFlatbuffermemoryFlatbuffersinusePrivatebuffermemoryPrivatebuffersinuseRowsreadRowswritten

    SSASSQLServerAnalysisServicesQ:WhatisAnalysisServices?Listoutthefeatures?MicrosoftSQLServer2014AnalysisServices(SSAS)deliversonlineanalyticalprocessing(OLAP)anddataminingfunctionalityforbusinessintelligence

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 3/7

    applications.AnalysisServicessupportsOLAPbylettingusdesign,create,andmanagemultidimensionalstructuresthatcontaindataaggregatedfromotherdatasources, suchas relationaldatabases.Fordataminingapplications,AnalysisServices letswedesign, create,andvisualizedataminingmodelsthatareconstructedfromotherdatasourcesbyusingawidevarietyofindustrystandarddataminingalgorithms.AnalysisServicesisamiddletierserverforanalyticalprocessing,OLAP,andDatamining.Itmanagesmultidimensionalcubesofdataandprovidesaccesstoheapsofinformationincludingaggregationofdata.OnecancreatedataminingmodelsfromdatasourcesanduseitforBusinessIntelligencealsoincludingreportingfeatures.AnalysisserviceprovidesacombinedviewofthedatausedinOLAPorDatamining.ServiceshererefertoOLAP,Datamining.Analysisservicesassistsin creating, designing and managing multidimensional structures containing data from varied sources. It provides a wide array of data miningalgorithmsforspecifictrendsandneeds.

    Someofthekeyfeaturesare:

    Easeofusewithalotofwizardsanddesigners.FlexibledatamodelcreationandmanagementScalablearchitecturetohandleOLAPProvidesintegrationofadministrationtools,datasources,security,caching,andreportingetc.Providesextensivesupportforcustomapplications

    Q:WhatisUDM?ItssignificanceinSSAS?TheroleofaUnifiedDimensionalModel(UDM)istoprovideabridgebetweentheuserandthedatasources.AUDMisconstructedoveroneormorephysicaldatasources,and then theenduser issuesqueriesagainst theUDMusingoneofavarietyof client tools, suchasMicrosoftExcel.Ataminimum,whentheUDMisconstructedmerelyasathin layeroverthedatasource,theadvantagestotheenduserareasimpler,morereadilyunderstoodmodelofthedata,isolationfromheterogeneousbackenddatasources,andimprovedperformanceforsummarytypequeries.Insomescenariosa simpleUDM like this is constructed totallyautomatically.Withgreater investment in theconstructionof theUDM,additionalbenefitsaccruefromtherichnessofmetadatathatthemodelcanprovide.

    TheUDMprovidesthefollowingbenefits:Allowstheusermodeltobegreatlyenriched.Provideshighperformancequeriessupportinginteractiveanalysis,evenoverhugedatavolumes.Allowsbusinessrulestobecapturedinthemodeltosupportricheranalysis.

    Q:WhatistheneedforSSAScomponent?

    AnalysisServicesistheonlycomponentinSQLServerusingwhichwecanperformAnalysisandForecastoperations.SSASisveryeasytouseandinteractive.FasterAnalysisandTroubleshooting.AbilitytocreateandmanageDatawarehouses.ApplyefficientSecurityPrinciples.

    Q:ExplaintheTWOTierArchitectureofSSAS?

    SSASusesbothserverandclientcomponentstosupplyOLAPanddataminingfunctionalityBIApplications.TheservercomponentisimplementedasaMicrosoftWindowsservice.EachinstanceofAnalysisServicesimplementedasaseparateinstanceoftheWindowsservice.ClientscommunicatewithAnalysisServicesusingthestandardXMLA(XMLForAnalysis),protocolforissuingcommandsandreceivingresponses,exposedasawebservice.

    Q:WhatarethecomponentsofSSAS?

    AnOLAPEngineisusedforenablingfastadhocqueriesbyendusers.Ausercaninteractivelyexploredatabydrilling,slicingorpivoting.Drillingreferstotheprocessofexploringdetailsofthedata.Slicingreferstotheprocessofplacingdatainrowsandcolumns.Pivotingreferstoswitchingcategoriesofdatabetweenrowsandcolumns.InOLAP,wewillbeusingwhatarecalledasDimensionalDatabases.

    Q:WhatisFASMI?AdatabaseiscalledanOLAPDatabaseifthedatabasesatisfiestheFASMIrules:

    FastAnalysisisdefinedintheOLAPscenarioinfivesecondsorless.SharedMustsupportaccesstodatabymanyusersinthefactorsofSensitivityandWriteBacks.MultidimensionalThedatainsidetheOLAPDatabasemustbemultidimensionalinstructure.InformationTheOLAPdatabaseMustsupportlargevolumesofdata..

    Q:WhatlanguagesareusedinSSAS?

    StructuredQueryLanguage(SQL)MultidimensionalExpressions(MDX)anindustrystandardquerylanguageorientatedtowardsanalysisDataMiningExtensions(DMX)anindustrystandardquerylanguageorientedtowarddatamining.AnalysisServicesScriptingLanguage(ASSL)usedtomanageAnalysisServicesdatabaseobjects.

    Q:HowCubesareimplementedinSSAS?

    Cubesaremultidimensionalmodelsthatstoredatafromoneormoresources.CubescanalsostoreaggregationsSSASCubesarecreatedusingtheCubeWizard.WealsobuildDimensionswhencreatingCubes.CubescanseeonlytheDSV(logicalView).

    Q:Whatisthedifferencebetweenaderivedmeasureandacalculatedmeasure?Thedifferencebetweenaderivedmeasureandacalculatedmeasure iswhenthecalculation isperformed.Aderivedmeasure iscalculatedbeforeaggregationsarecreated,andthevaluesofthederivedmeasurearestoredinthecube.Acalculatedmeasure iscalculatedafteraggregationsarecreated, and the values of a calculatedmeasure arent stored in the cube. Theprimary criterion for choosingbetweenaderivedmeasure andacalculatedmeasureisnotefficiency,butaccuracy.

    Q:Whatisapartition?ApartitioninAnalysisServicesisthephysicallocationofstoredcubedata.Everycubehasatleastonepartitionbydefault.Eachtimewecreateameasuregroup,anotherpartitioniscreated.QueriesrunfasteragainstapartitionedcubebecauseAnalysisServicesonlyneedstoreaddatafromthepartitions that contain the answers to thequeries.Queries run even fasterwhenpartition also stores aggregations, thepre calculated totals for

    RegisterTodayForFreeDemo

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 4/7

    additivemeasures.Partitionsareapowerfulandflexiblemeansofmanagingcubes,especiallylargecubes.

    Q:Whilecreatinganewcalculatedmemberinacubewhatistheuseofpropertycallednonemptybehavior?Nonemptybehaviorisimportantpropertyforratiocalculations.IfthedenominatorIsempty,anMDXexpressionwillreturnanerrorjustasitwouldifthedenominatorWereequaltozero.ByselectingoneormoremeasuresfortheNonEmptyBehaviorproperty,weareestablishingarequirementthateachselectedmeasurefirstbeevaluatedbeforethecalculationexpressionisevaluated.Ifeachselectedmeasureisempty,thenTheexpressionisalsotreatedasemptyandnoerrorisreturned.

    Q:WhatisaRAGGEDhierarchy?Undernormalcircumstances,eachlevelinahierarchyinMicrosoftSQLServerAnalysisServices(SSAS)hasthesamenumberofmembersaboveitasanyothermemberatthesamelevel.Inaraggedhierarchy,thelogicalparentmemberofatleastonememberisnotinthelevelimmediatelyabovethemember.When this occurs, the hierarchy descends to different levels for different drilldown paths. Expanding through every level for everydrilldownpathisthenunnecessarilycomplicated.

    Q:WhataretherolesofanAnalysisServicesInformationWorker?

    TheroleofanAnalysisServicesinformationworkeristhetraditional"domainexpert"roleinbusinessintelligence(BI)someonewhounderstandsthedataemployedbyasolutionandisabletotranslatethedataintobusinessinformation.TheroleofanAnalysisServicesinformationworkeroftenhasoneofthefollowingjobtitles:BusinessAnalyst(ReportConsumer),Manager(ReportConsumer),TechnicalTrainer,HelpDesk/Operation,orNetworkAdministrator.

    Q:WhatarethedifferentwaysofcreatingAggregations?We can create aggregations for fasterMDX statements usingAggregationWizard or thruUBOUsageBasedOptimizations. Always, preferUBOmethodinrealtimeperformancetroubleshooting.

    Q:WhatisWriteBack?Whatarethepreconditions?TheEnable/DisableWritebackdialogboxenablesordisableswriteback forameasuregroup inacube.Enablingwritebackonameasuregroupdefinesawritebackpartitionandcreatesawritebacktableforthatmeasuregroup.Disablingwritebackonameasuregroupremovesthewritebackpartitionbutdoesnotdeletethewritebacktable,toavoidunanticipateddataloss.

    Q:Whatisprocessing?Processingisacriticalandresourceintensiveoperationinthedatawarehouselifecycleandneedstobecarefullyoptimizedandexecuted.AnalysisServicesoffersahighperformanceandscalableprocessingarchitecturewithacomprehensivesetofcontrolsfordatabaseadministrators.WecanprocessanOLAPdatabase,individualcube,DimensionoraspecificPartitioninacube.

    Q:NamefewBusinessAnalysisEnhancementsforSSAS?ThefollowingtableliststhebusinessintelligenceenhancementsthatareavailableinMicrosoftSQLServerAnalysisServices(SSAS).Thetablealsoshowsthecubeordimensiontowhicheachbusinessintelligenceenhancementapplies,andindicateswhetheranenhancementcanbeappliedtoanobjectthatwascreatedwithoutusingadatasourceandforwhichnoschemahasbeengenerated.

    Enhancement Type Appliedto NodatasourceTimeIntelligence Cube Cube NoAccountIntelligence Dimension Dimensionorcube NoDimensionIntelligence Dimension Dimensionorcube YesCustomAggregation Dimension Dimension(unaryoperator)orcube NoSemiadditiveBehavior Cube Cube YesCustomMemberFormula Dimension Dimensionorcube NoCustomSortingandUniquenessSettings Dimension Dimensionorcube YesDimensionWriteback Dimension Dimensionorcube Yes

    Q:WhatMDXfunctionsdoyoumostcommonlyuse?Thisisagreatquestionbecauseyouonlyknowthisanswerbyexperience.Ifyouaskmethisquestion,theanswerpracticallyrushesoutofme.CrossJoin,Descendants,andNonEmpty,inadditiontoSum,Count,andAggregate.MypersonalfavoriteisCrossJoinbecauseitallowsmeidentifynoncontiguousslicesofthecubeandaggregateeventhoughthosecubecellsdontrolluptoanaturalancestor.Indeed,CrossJoinhaseasilybeenmybreadandbutter.

    Q:Wheredoyouputcalculatedmembers?ThereflexiveanswerisintheMeasuresdimensionbutthisistheobviousanswer.SoIalwaysfollowupwithanotherquestion.Ifyouwanttocreateacalculatedmemberthatintersectsallmeasures,wheredoyouputit?Ahighpercentageofcandidatescantanswerthisquestion,andtheanswer is Inadimensionother thanMeasures. If theycananswer it, I immediatelyask themwhy. Theanswer is Becauseamember inadimensioncannotintersectitsownrelativesinthatdimension.

    Q:HowdoIfindthebottom10customerswiththelowestsalesin2003thatwerenotnull?A:Simplyusingbottomcountwillreturncustomerswithnullsales.YouwillhavetocombineitwithNONEMPTYorFILTER.

    SELECT{[Measures].[InternetSalesAmount]}ONCOLUMNS,BOTTOMCOUNT(NONEMPTY(DESCENDANTS([Customer].[CustomerGeography].[AllCustomers],[Customer].[CustomerGeography].[Customer]),([Measures].[InternetSalesAmount])),10,([Measures].[InternetSalesAmount]))ONROWSFROM[AdventureWorks]WHERE([Date].[Calendar].[CalendarYear].&[2003])

    Q:HowinMDXquerycanIgettop3salesyearsbasedonorderquantity?

    BydefaultAnalysisServicesreturnsmembersinanorderspecifiedduringattributedesign.Attributepropertiesthatdefineorderingare"OrderBy"and"OrderByAttribute".Letssaywewanttoseeordercountsforeachyear.InAdventureWorksMDXquerywouldbe:

    SELECT{[Measures].[ResellerOrderQuantity]}ON0,[Date].[Calendar].[CalendarYear].MembersON1FROM[AdventureWorks]

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 5/7

    InstructorLedOnline(LIVE) Classroom

    SQLServer&TSQL

    InstructorLedOnline(LIVE) Classroom

    SQLServerDBA

    InstructorLedOnline(LIVE) Classroom

    MSBI(SSIS,SSAS,SSRS)

    InstructorLedOnline(LIVE) Classroom

    SSIS(ETL&DW)

    InstructorLedOnline(LIVE) Classroom

    SSAS(MDX&DAX)

    InstructorLedOnline(LIVE) Classroom

    SSRS&Powerview

    TobelaunchedfromJan.,2015

    DataQualityServices(DQS)

    TobelaunchedfromJan.,2015

    MicrosoftAzure/SQLCloud

    TobelaunchedfromJan.,2015

    MasterDataServices

    SamequeryusingTopCount:SELECT{[Measures].[ResellerOrderQuantity]}ON0,TopCount([Date].[Calendar].[CalendarYear].Members,3,[Measures].[ResellerOrderQuantity])ON1FROM[AdventureWorks]

    Q:Howdoyouextractfirsttuplefromtheset?

    UsecouldusefunctionSet.Item(0)Example:

    SELECT{{[Date].[Calendar].[CalendarYear].Members}.Item(0)}ON0FROM[AdventureWorks]

    Q:HowcanIsetupdefaultdimensionmemberinCalculationscript?

    YoucanuseALTERCUBEstatement.Syntax:ALTERCUBECurrentCube|YourCubeNameUPDATEDIMENSION,DEFAULT_MEMBER=''

    SSRSSQLServerReportingServicesQ:WhatisSSRS?SQLServerReportingServiceisoneoftheserverbasedsoftwaresystemsthatgeneratereportsdevelopedbyMicrosoft.Itisusedforpreparinganddeliveringinteractiveandvarietyofprintedreports.Itisadministeredthroughaninterfacethatiswebbased.Reportingservicesutilizesawebserviceinterfaceforsupportinganddevelopingofcustomizedreportingapplicatons.ItcanbecompetedwithCrystalReportsandotherbusinessintelligencetools.

    Q:ExplainSSRSArchitecture?Reporting services architecture comprises of integrated components. It is a multitiered, included with application, server and data layers. Thisarchitecture is scalable andmodular. A single installation can be used acrossmultiple computers. It includes the following components: ReportManager, ReportingDesigner, Browser TypesSupported byReporting services, Report server, Report server command line utilities, Report ServerDatabase,ReportingServicesExtensibility,DatasourcesthatissupportedbyReportingServices.

    Q:ExplainReportingLifeCycle?TheReportingLifecycleincludesReportdesigningThedesigningisdoneinVisualStudioReportDesigner.ItgeneratesaclasswhichembodiestheReportDefinition.ReportprocessingTheprocessingincludesbingingthereportdefinitionwithdatafromthereportdatasource.Itperformsonallgrouping,sortingandfilteringcalculations.Theexpressionsareevaluatedexceptthepageheader,footerandsectionitems.LateritfirestheBindingeventandBoundevent.Asaresultoftheprocessing,itproducesReportInstance.Reportinstancemaybepersistedandstoredwhichcanberenderedatalaterpointoftime.ReportRendering:ReportrenderingstartsbypassingtheReportInstancetoaspecificrenderingextension(HTMLorPDFformats).Theinstanceofreportsispagedifpagingsupportedbyoutputformat.Theexpressionsofitemsareevaluatedinthepageheaderandfootersectionsforeverypage.Asafinalstep,thereportisrenderedtothespecificoutputdocument.

    Q:HowtofinetuneReports?To tuneup theReportingServices, follow thebelowmentionedways: Expand theServerorutilizing the reportingservicesofanotherdatabaseserver.Forbetterembeddingofreportcontents,reportapplicationslogicandcharacteristicscanhaveaduplicatecopyofdata.Replicationofdatacontinuously.Usingnolock,theissuesoflockingcanwellberesolvedandtheperformanceofthequerycanbeimproved.Thiscanbedonebyusingdirtyreadatthetimeofduplicatingthedataisunavailable.

    Q:WhatareDataDrivenSubscriptions?ReportingServicesprovidesdatadrivensubscriptionssothatyoucancustomizethedistributionofareportbasedondynamicsubscriberdata.Data

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 6/7

    drivensubscriptionsareintendedforthefollowingkindsofscenarios:Distributingreportstoa largerecipientpoolwhosemembershipmaychangefromonedistributiontothenext.Forexampledistributeamonthlyreporttoallcurrentcustomers.Distributingreportstoaspecificgroupofrecipientsbasedonpredefinedcriteria.Forexamplesendasalesperformancereporttothetoptensalesmanagersinanorganization.

    Q:WhatisLinkedReport?

    Q:WhataredifferenttypesofrolesprovidedbySSRS?

    Q:DifferencebetweenLogicalPageanPhysicalPageinSSRS.Logicalpagebreaksarepagebreaksthatyouinsertbeforeorafterreportitemsorgroups.Pagebreakshelptodeterminehowthecontentisfittedtoareportpageforoptimalviewingwhenrenderingorexportingthereport.Thefollowingrulesapplywhenrenderinglogicalpagebreaks:Logicalpagebreaksareignoredforreportitemsthatareconstantlyhiddenandforreportitemswherethevisibilityiscontrolledbyclickinganotherreportitem.Logicalpagebreaksareappliedonconditionallyvisibleitemsiftheyarecurrentlyvisibleatthetimethereportisrendered.Spaceispreservedbetweenthereportitemwiththelogicalpagebreakanditspeerreportitems.Logicalpagebreaksthatareinsertedbeforeareportitempushthereportitemdowntothenextpage.Thereportitemisrenderedatthetopofthenextpage.Logicalpagebreaksdefinedonitemsintableormatrixcellsarenotkept.Thisdoesnotapplytoitemsinlists.

    Q:UserwantonlytodisplayonlypdfasexportoptioninreportManager.Howtoacheivethis?

    Q:NameandDescribefewconsoleutilitiesforSSRS?

    Q:NamefewEndpointsexposedbySSRS2012?

    Q:DescribedifferentProcessingModesofferedbySSRS?

    Q:WhentoUseNullDatadrivenSubscription?CreateadatadrivensubscriptionthatusestheNullDeliveryProvider.WhenyouspecifytheNullDeliveryProviderasthemethodofdeliveryinthesubscription,thereportservertargetsthereportserverdatabaseasthedeliverydestinationandusesaspecializedrenderingextensioncalledthenullrenderingextension. Incontrastwithotherdeliveryextensions, theNullDeliveryProviderdoesnothavedeliverysettings thatyoucanconfigurethroughasubscriptiondefinition.

    Q:HowcanyoumonitorthereportUsage?

    Q:HowdoesthereportmanagerworkinSSRS?Reportmanagerisawebapplication.InSSRSitisaccessedbyaURL.TheinterfaceofthisReportmanagerdependsonthepermissionsoftheuser.Thismeanstoaccessanyfunctionalityorperformanytask,theusermustbeassignedarole.Auserwitharoleoffullpermissionscanentireallthefeaturesandmenusofthereport.Toconfigurethereportmanager,aURLneedstobedefined.

    Q:WhataretheReportingServicescomponents?Reportingservicescomponentsassist indevelopment.Theseprocessingcomponentsincludesometoolsthatareusedtocreate,manageandviewreports.Areportdesignerisusedtocreatethereports.areportseverisusedtoexecuteanddistributereports.areportmanagerisusedtomanagethereportserver.

    Q:SQLServerReportingServicesvsCrystalReports.CrystalreportsareprocessedbyIISwhileSSRShaveareportserver.CachinginCrystalreportsisavailablethroughcacheserver.Ontheotherhand,cachinginSSRSisavailableforReporthistorysnapshots.Crystalreportshavestandardsanduserdefinedfieldlabels.SSRSallowsonlyuserdefinedfieldlabels.

    Q:WhatisReportBuilder?ReportBuilderisabusinessuser,adhocreportdesignclientthatallowsuserstodesignreportsbasedonthebusinessterms(ReportBuildermodel)theyarefamiliarwith,butwithoutneedingtounderstanddatabaseschemasorhowtowriteSQLorMDXqueries.ReportBuilderworkswithbothSQLServerandAnalysisServicesdatasources.

    Q:HowdoesReportBuildersupportAnalysisServicescubes?ReportBuildersupportsrelationalSQLandAnalysisServicesdatasourcesinSQLServer.TocreateamodelforAnalysisServicescube,gotoReportManagerorManagementStudio,createadatasourceforyourAnalysisServicesdatabase,andthenselecttheGenerateModeloptiontocreatethemodel.

    Q:HowdousersuseReportBuilderwithSQLServerdatasources?WhilemodelsthatprovideaccesstoSQLServerAnalysisServicesareautomaticallygeneratedonthereportserver,theReportBuilderModelDesignercanbeusedtogenerateormodifythemodelsthatarebuiltontopofSQLServerrelationaldatabases.ThesemodelbuildingprojectsareanewtypeofprojectwithinaVisualStudiobaseddevelopmentshell.

    Q:HowdoIgetReportBuildertogenerateaparameterthatcanbesetbyusersviewingthereport?Inthefilterdialogbox,clickthenameofthecriteriathatyouwouldliketoprompttheuserforwhenviewingthereport.Forexample,forthecriteriaOrderYear=2000,clickOrderYear.SelectthePromptoptioninthedropdownlist.

    Q:WhatnewdatasourcetypeswereaddedinSSRS2014?InadditiontothedatasourcetypesavailableinSSRS(SQLServer,Oracle,ODBC,OLEDB),thefollowinghavebeenaddedinSSRS2012:SQLServerAnalysisServicesSQLServerIntegrationServicesSQLServerReportBuilderModelsXML(throughURLandWebservices)

    Q:HowcanIaddReportingServicesreportstomyapplication?VisualStudio/SSDT/BIDataTools(StandardandEnterpriseeditions)containsasetoffreelyredistributableReportViewercontrolsthatmakeiteasytoembedReportingServicesfunctionalityintocustomapplications.TwoversionsoftheReportViewerexist,oneforrichWindowsclientapplicationsandoneforASP.NETapplications.

    Q:DoIneedareportservertorunreportsinmyapplication?Inaddition topublishing reports toa report server,youcanbuild reportsusing theReportDesigner that isdirectly integratedwithVisualStudiolanguageprojects.Youcanembedreportsdirectly inanyWindowsFormsorASP.NETWebapplicationwithoutaccesstoareportserver.ThedataaccessinembeddedreportsisanaturalextensionoftheVisualStudiodatafacilities.Notonlycanyouusetraditionaldatabasesasasourceofdataforyourreports,youcanuseobjectcollectionsaswell.

    Q:CanyouimportMicrosoftExceldatatoSSRS?ReportingServicesdoesnotimportdata.Itonlyqueriesdatainwhateverformatitisstoredintheirnativestoragesystem.Iwillassumethatyou'reaskingwhetheryoucancreatereportsanduseExcelspreadsheetsasdatasources.TheanswerisYes,ReportingServicessupportsawidevarietyofdatasources,includingExcelfiles.You'llgetthebestperformancewiththebuiltinnative.NETprovidersbutyoushouldbeabletoconnecttoanyODBCorOLEDBdatasource,whetheritcomesfromMicrosoftorathirdpartycompany.

    Q:CanwedeploySSRSreportsonourpersonalwebsite?Yourreportscanonlybedeployedonareportingservicessite.YouronlyoptionforviewingthemfromothersitesisanHTTPlink.Sometools,likeSharePointoffercontrolsallowingyoutoviewreportsinthecontextoftheotherwebsites,butthereportisstilldeployedtoandhostedfromreportingservices.

  • 5/9/2015 MSBIInterviewQuestions|SSIS|SSAS|SSRS|InterviewQuestions

    http://sqlschool.com/MSBIInterviewQuestions.html 7/7

    InstuctorLedLIVEOnlineTrainings TrainingVideos Inhouse/ClassroomTrainings

    QuickLinks

    Home

    AboutUs

    Services

    Pricing

    Reviews

    FreeDemo

    FAQs

    PrivacyPolicy

    Blog

    SiteMap

    Courses&TrainingModes

    SQLServer&TSQLInstructorLedOnline(LIVE)|Classroom|Videos

    SQL(Server)DBAInstructorLedOnline(LIVE)|Classroom|Videos

    MSBI&DWHInstructorLedOnline(LIVE)|Classroom|Videos

    SSIS&ETL/DWInstructorLedOnline(LIVE)|Classroom|Videos

    SSAS&MDX/DAXInstructorLedOnline(LIVE)|Classroom|Videos

    SSRS&PowerViewInstructorLedOnline(LIVE)|Classroom|Videos

    USA:+1(510)4004845 India:+9109666440801

    Courses&Pricing Address/Map RegisterForFreeDemo

    Mail:[email protected] Skype:SQLSchool

    20082015,SQLSchool(Regd:SequelgateInnovativeTechnolgiesPvt.Ltd.)

    CourseFeePaymentOptions:PaypalGoogleWalletOnlineBanking

    Q:CanweusedatagridsforourreportinSSRS?WehaveanASP.NETprojectthatpopulatesadatagrid.UsingdatagridasmydatasourceformyreportusingSQLServerReportingServices.Isthispossible?Thesimpleanswerisno.However,nothing'seversimple.AsetofreportingcontrolswasaddedinVisualStudio2010allowingyoutoreportinadataset,ondatathatwassuppliedbyyou.So, ifyouretrievedyourdata intoadataset,boundthedatagridtothedatasetso ithaddatatodisplay,youcouldthenusethatdatasetasthedatasourceforthereportingcontrols.Thesearethenclientsidereports,notserverreportsthough.

    Q:WhatarethedrawbacksofreportinginSSRS?Formanyyears,MicrosofthadnodirectsolutionforreportingwiththeSQLServerbesidesCrystalReports.Now,theyhaveSQLServerReportingServices,butitdoeshaveseveraldrawbacks.Itisstillcomplextounderstandthecompletefunctionalityandstructureofthisnewcomponent,andmanyusersarestillrelyingonthereportingapplicationtheyaremorefamiliarwith,whichisCrystalReports.Also,componentsinSSRSlikeReportBuilderandReportDesigneraremeantfordifferentusersfordifferentaspectsofthereportprocess,yetcompleteunderstandingandexposuretobothisimportanttoutilizebothfunctionsfullyandextensively.TherearealsoissueswhenexportingverylargereportstoMicrosoftExcel,asitcanleadtoalossofdata.

    Q:WillrunningSSRSonWindowsXPlimitthenumberofusers?Yes,butnotbecauseofSSRS.TheInternetInformationServices(IIS)componentofWindowsXPonlyallowsasmallnumberofuserstoconnecttothewebsiteatonce.AsSSRSrunsviaIIS,thiswouldpreventmorethanafewpeoplefromusingSSRSatonce.Also,theonlyeditionofSSRSthatwill install onWindowsXP is theDeveloperEdition.Thisedition cannotbeused forproductionuse.YouneedStandardorEnterpriseEdition forproductionuse,whichrequiresaServerOStoinstallon(Windows2003Standard,Windows2008Standard,etc).

    Q:ArethereissueswhenexportingSSRSreportsintoMicrosoftExcel?WhenmyusersaretryingtoexportaSSRSreportintoMicrosoftExcel,oneortwocolumnsinthereportappeartomergetogether.Whymightthisbe?ExportingfromSSRSisnotalwaysperfect,evenifyoustaywithintheMicrosoftrangeofproducts.Ifyouhaveextraresources,youcouldsplurgeforanaddonthatoffersmuchbettercontroloverexportingtoExcel,suchasOfficeWriter.Frommyexperience, though, it isusuallyheadersorfootersthatcauseexportingissues.Ifanyoftheseheadersorfootersoverlapwithdatacolumnsinyourreport,youwillfindthattheexportedversionofthereporthasmergedcells.Also,checkcolumnsnexttoeachothertomakesurethatthereisnooverlap,aswell.

    Q:HowtosendaSSRSreportfromSSIS?Oftenthere isarequirementtobeabletosendaSSRSreport inExcel,PDForanotherformattodifferentusersfromaSSISpackageoneithasfinishedperformingadataload.Inordertodothis,firstyouneedtocreateasubscriptiontothereport.YoucancreateaSSRSreportsubscriptionfromReportManager. At the report subscription you canmention the report format and the email address of the recipient.When you create aschedulefortheSSRSreport,aSQLServerAgentJobwillbecreated.FromtheSSIS,byusingsp_start_jobandpassingtherelevantjobnameyoucanexecutetheSSRSreportsubscription.

    ForMSBISampleResume,pleaseClickHere