Agile Dumps
Agile Dumps
5. The agile project team members are giving a demo of the software to the stakeholders at end of the sprint. What is
this a meeting known as
6. For Release planning meeting, _____________ measure helps the product owner to predict completion of user stories
over a period of time
o Velocity
o Defect density
o Effect variance
o Capability
7. ALM (Application life cycle Management tool in Agile projects can be used for
9. The Agile project team is doing estimation of user stories and they tag 8 points to one particular user story. As a
developer, what will you infer from this?
10.One of the manager from client’s end is auditing the Infosys way of executing an agile project. He found that out of 4
planned Sprints in a release, the detailed plan is available only for the first which is ongoing and high level plans are
available for other three sprints. He raises the concerns around the same and questions one of the Agile team member
on why details plan for other sprint are not available. As a team member of this agile project, what would be your
suitable response to the client manager in this situation?
o Take initiative and go head to create the detailed planned for remaining three sprints
o Explain him that detailed sprint plan would be done only at respective sprint planning stage
o Inform Scrum master to create detailed plans for remaining three sprints in the release upfront
o Convince him that the same plan would be applicable for all sprints in this release
11. What soft skills should be possess to avoid delays during sprint execution
12. What of the following soft skills are important while working in agile project?
Analytical ability
Listening and questioning
Pro-activeness
Delegation
13. What are the disadvantages if the agile team does not conduct a sprint Retrospective Meeting?
(a) Team would not get various prespective of all the members regarding their insight on the project
(b) Team would miss on the lessons learnt from the previous sprint mistakes
(c) Team would miss the opportunity to collaborate with all the external stake holders
o A and B only
o A and C only
o B and C only
14. While decomposing the user stories into tasks, which of the following is considered as good practice by an individual
to identity the right task to complete the user story?
15. Soft skills of individuals matters in reducing the defects at the end of every sprint
o True, soft skills like articulating understanding the requirements and acceptance criteria, proactively
identifying the risks and issues and communicating it to team etc. facilities in reduction of defects
o False, Defects are primarily because of either inefficiency in technical competency of the team members or
misinterpretation of requirements or any other similar cause but not related to soft skills at all
16. What is relevance of Mocking and stubbing while developing the code using the test driven development approach
o For creating simulated objects and for testing a class or method for deriving expected out put
o Helps programmers to maintain a comprehensive set of repeatable tests to run them exhaustively
o Reduces the need for debugging the code
o Reduces the number of lines of code in functional implementation of the business problem
17. Which of the following is TRUE about acceptance Test driven development practice?
o Entire team brainstorms collaboratively focusing on capturing requirements and the acceptance criteria of the
application and uses them to drive the development
o Entire team brainstorms collaboratively focusing on capturing requirements and the acceptance criteria of the
application and uses them to perform the system and integration testing
o Entire team brainstorms collaboratively on the design of the application completes the code development and
dues acceptance testing based on the architectural design
o Challenges the design at every step thus ensuring the design grows more stable
o Acts a safety net when programmer performs refactoring
o Delivers the work in a single way to avoid complexity
o All of the above
19. A programmer reads a requirement and understands what needs to be implemented. She adapts test driven
development (TDD) approach for developing the code. She starts writing the tests, runs them, develops the code
accordingly and makes all the tests pass. Which of the following activities should the programmer be recommended to
do once all the tests are passed?
20. One of the user cases to be implemented for the System under test (SUT) specifies that passing the zero as an input
for an operation should result in an error. Which of the following is the best option when developing the SUT using Test
driven development?
o Plan for specific type of exception to be thrown in this scenario and write and upfront automated unit test
that passes in zero as an input value and checks for the specific exception type expected using the API by
provided by the unit testing framework being use.
21. Choose the set of test inputs that would be best suited for unit testing the code below:
22. Which of the following explains INVEST technique for defining requirements in agile?
o Independent -Nonfunctional –Verifiable- Evolving- Simple-Table
o Integrator -New -Valid- Editable -Smart –Tangible
o Interdependent- Negotiable- Verifiable- Explainable- Small- Testable
o Independent- Negotiable –Verifiable- Explainable- Small- Testable
o Correct-ans: independent-negotiable-valuable-estimable-small-testable
23. Which of the following artifacts is the outcome of the requirement work shop in an agile project?
25. You are a developer in the agile project which is getting started. What steps would you take to reduce the risk to
architecture in agile projects?
27. Which of the following may NOT achieved by automation in agile context?
o Confidence in the system
o Time save for additional activity
o Complete removal of manual intervention
o Earlier detection of issues
28. The source version control tools should be able to determine and communicate to other tools on any new code
changes. This concept is known as
o Code sharing
o Continuous build
o Hooking and Polling
o Automated code check-in
29. Find the correct for tools / Frameworks and their usage
1. Cucumber a. Continuous integration
2. Jenkins b. Automated Acceptance Testing
3. FxCop c. Unit testing
4. Xunit d. Code Analysis
30. Which of the following activities related to automation are necessary during course of agile project?
o Both A and C
o Both B and C
o Both A and B
o All of the above
31. The Agile project team has sprints with two weeks of duration. The Release is of short duration which happens once
in every three sprints. The team is facing challenges to align to the shorter release cycles. As a team member you have
following options
o I only
o II only
o Both I and II
o Neither I nor II
32. Mala is a developer in a web application project. It takes 4 hrs. to deploy the code in test environment as it includes
the following process
i. Get all the latest files from clear case
ii. Generate the WAR file
iii. Export the WAR file to server
iv. Stop and start the server
What could she do which would be help the project to reduce the effort on test environment deployment.
o Mala should ask for help from other team members so that the work load is shared
o Mala should continue with manual deployment as automating the process increases the risk of error and may
not help the project
o Mala should suggest for automation at build level only if unit testing is automated
o Mala should work towards automating both build and deployment process
33. It is important to have existing test suite passed before the developer starts to refactor the code
Ans: True
34.Which of the following is achieved by database refractoring?
35. A programmer is performing refactoring on the source code which was just developed and tested. While performing
refactoring, he is using “check cycle” tool, which is user for automatically checking certain kind of code smells. What is
code smell means in this context?
o It indicates bugs in the source code
o It is a surface indication that corresponds to weakness in the source code
o It is for looking into areas in the source code which are technically incorrect
o It is checking for certain areas in the source code which prevents the program from functioning
36. Identify the refactoring technique that has been used in the following code
o Extract method
o Inline Method
o Replace Temp with Query
o Replace parameter with explicit method
37. In which of the following condition(s) is the code considered to be bad and needs refactoring?
(a) There are numerous branches and loops as the function is complex
(b) The depth of inheritance is very high
(c) Code is very complex to debug
38. In which of the following cases, a developer should NOT use inline method while refactoring
o When function call is bottleneck in the performance
o When there are group of methods which are badly factored
o When too many delegations are done in the code
o When the code consists of long methods covering multiple logical flows
39. A method is written that works well, but is very long. Also it includes complex logic implementation along with many
local variables. Which method of refactoring should be used in this case?
o Replace temp with query
o Replace method with method object
o Replace parameter with method
o Replace data value with object
40. Unit testing is recommended for agile project because practices the Build automation, Continuous integration, and
Refactoring are needed
o True
o False
41. While testing in Agile projects, which of the following techniques are useful?
a. Automation
b. Moscow
c. Exploratory
o B only
o A only
o A and C only
o A , B and C
o Only B is correct
o Both A and B are correct
o Only C is correct
o Both B and C are correct
43. You are a tester in an agile project and you find a major defect while running the integration test. Sprint review is
planned next day with the product owner (PO). What is appropriate action you should take?
o Inform the scrum master and ask to abandon the sprint
o Inform the scrum master, go ahead with sprint review and inform PO on the defect
44. From below given option, identify the TRUE Statement regarding role of tester in agile project
o Tester are involved right from beginning of the agile project
o Tester are not required if automation is adopted in the agile project
o Tester are not required to attend the Daily Stand up meeting
o Testers are required only at the sprint review meeting
45. There is a telecom project which is getting executed in agile. Client has defined penalties in case any defects are
found in production after every release. As agile testing expert, what would be your advice to the team on the ideal time
for stopping the testing activities for a release?
o When the test coverage is robust enough based on the risks, implementation and functionality
o When all the identified test cases are executed
o When all the user stories are completed and demonstrated to the stake holders in sprint Reviews
o All
47. What are the benefits of having Continuous Integration (CI) infrastructure in the project environment?
Identifies defects and helps in fixing up the defects faster
Reduces human error by automating repetitive tasks
Manages all the user stories tasks and defect logs
Constant availability of a current build for testing, demo, or release purposes
48. Which are the best practices in continuous Integration (CI) environment?
49. A New .Net agile project has been initiated. The PM of the project wants to set up a continuous integration (CI)
pipeline to automatically check coverage, unit testing, Build, Deploy application to IIS, Invoke functional test in MS
(Microsoft) Coded UI Test and performance test. But his team lacks skills writing MS build scripts and working with CI
tools. They do not have bandwidth and infrastructure to create this pipeline. As a team member of this project which
among following solutions do you recommend to the PM
50. Pavan’s team has created a continuous integration pipeline involving Jenkins, subversion, ANT, PMD, Cobertura,
SonarQube, Hosting servers and HP load runner. Select the best set of operations which this pipeline can potentially
automate
o Code check out – Build – Unit test – Code Coverage
o Code check out – Build – Code Analysis - Code Coverage- obfuscation- Deployment- Performance testing
o Code check out – Build – Code Analysis – Unit Testing- Code Coverage - Deployment- Performance testing
o Code check out – Build – Unit test – Code Coverage- Performance testing