Best Version Control Interview Questions
Q – 1 What is the default vob size when it is created at first time?
Ans- 1.8 MB
Q – 2 What is eclipsed file in clearcase? What is the solution? In what case it is called eclipsed file?
Ans- It is cretaed when a view is at confusion state to recognize it.
Solution:
need to kill the view_server process of particular view.
Q – 3 How to restore elements from lost+found directory?
Ans- Checkout the destination directory where you want to move the elements from lost+found directory.
Use the command cleartool mv
Q – 4 How many additional groups can be added in vob? How many for 32-bit? and how many for 64-bit OS?
Ans- normally win n Linux OS supports upto 16 groups but clearcase supports 32 groups from CC7 and above
Q – 5 What is the default size of a brand new vob?
Ans- 2gb
Q – 6 Where do you specify the license host details when you setup the Clearcase for the first time?
Ans- In linux edit the file license_host /var/adm/atria/config from the follwing location and then add the license host name and in windows select the clearcase from contol panel by switching to classic view then in the licnesing tab you will find the the radio button use clearcase license server host select it and specify the license host name.
Q – 7 There are few items which we have to put items in boxes. if 3 items put in each box, 1 item left outside. if 4 items put in each box, 1 item left outside. if 5 items put in each box, 1 item left outside. if 6 items put in each box, 1 item left outside. if 7 items put in each box, 0 item left outside. How many number of item are there?
Ans- Answer is 301..
3 – 100 boxes – 1 left
4 – 75 boxes – 1 left
5 – 60 boxes – 1 left
6 – 50 boxes – 1 left
7 – 43 boxes – 0 left
Solution:
3,4,5,6 – 1 left & 7 – 0 left – (ie) – least common multiple
of 3,4,5,6 + 1 which is divisible by 7.
the least common multiples are: 60,120,180,240,300
61 – not divisible by 7
121 – not divisible by 7
181 – not divisible by 7
241 – not divisible by 7
301 – divisible by 7
hence 301 is the answer
Q – 8 Does TortoiseSVN a version control tool or configuration management tool?
Ans- TortoiseSVN is a subversion client tool for windows
Q – 9 What is the difference b/w configuration management tool and version control tool?
Ans- version control is a part of Configuration management tool.
Q – 10 How to list all the cos by a user in different jobs through a single command?
Ans-
ct lsco -me this gives all checkedout files by a user
ct lsco -avobs -cview -me
List all files checked out to all views by a user
Q – 11 Tell me What Configuration Management tools are available?
Ans- configuration management:Configuration management is the system you use to track multiple development builds of the software so that confusion is avoided. Revision control, Change Control, and Release Control are important aspects of Configuration Management. there are many version control systems or configuration mangament tools available in the market.
their commercial names are as follows
1)Acurev
2)VSS(Visual Source Safe from Microsoft)–right expansion
3)clearcase
4)+1CM
5)CM synergy
6)CF
7)code co-op
8)cms and mms
9)control-CS
10)disciplined software management
11)Tortoise CVS
Q – 12 What is eSvn?
Ans- eSvn is cross-platform and runs under Unix-like operating systems..and it is a GUI for subversion like tortoise svn
Q – 13 What is subversion?
Ans- Suppose if we have released a version. Later if some more features are added to the previous version we have to create a subversion for the original version.
Ex: version 1.0.0
subversion 1.1.0
Q – 14 Tell me Is Version Control more for Software Development or Software Maintenance?
Ans- only Software maintenance
Q – 15 Which version control (VC) or software configuration management (SCM) systems work with Merge?
Ans- You can use Tortoise SVN,which has Merge Utility embedded in it.
Q – 16 Explain impersonation?
Ans- At times users access a resource as though they were someone else. This is known as impersonation. For example, if a web page has no access controls, then any user can access that web page.
HTML pages, ASP pages, and components in version 3.0 and earlier can be accessed through two accounts named IUSR_machinename and IWAM_machinename. Both the accounts are set up during IIS installation, and are automatically added to all the folders in every web site on the server.
Anonymous access to a resource in IIS makes the task of identifying a user extremely difficult. But there is no need to authenticate a user in the case of IIS. When IIS receives a request for a web page or other resource that has permission for anonymous access, IIS treats the IUSR_machinename account as the user’s account, to access the resources.
If the resource requested by the user is an ASP page that uses a COM or COM+ component, that component is executed using the IWAM_machinename account.
Q – 17 What are some troubleshooting hints for Web Start applications?
Ans- Log files should help you.
Q – 18 How to create a package in changeman?
Ans- from changeman primary option menu,select 1(Build).1 (create),then it will ask for pkg details.fill those and a new pkg will be created. Important thing is specifying the release date of that package.