{"id":8869,"date":"2020-01-17T06:06:59","date_gmt":"2020-01-17T06:06:59","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8869"},"modified":"2020-01-17T06:07:02","modified_gmt":"2020-01-17T06:07:02","slug":"subversion-interview-questions-and-answer-part-1","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/subversion-interview-questions-and-answer-part-1\/","title":{"rendered":"Subversion Interview Questions and Answer Part-1"},"content":{"rendered":"\n<p><strong>When checking out code from SVN you usually want to check out from <em>__<\/em> not from the root of the repository.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>repo<\/li><li>tags<\/li><li><strong>trunk (Ans)<\/strong><\/li><li>branches<\/li><\/ul>\n\n\n\n<p><strong>A source control system that requires users to checkout a file in a way that no one else can edit that file is _________.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>branching<\/li><li><strong>locking     (Ans)<\/strong><\/li><li>distributed<\/li><li>merging<\/li><\/ul>\n\n\n\n<p><strong>A source control system that allows different users to edit the same file, but requires conflicts between their changes to be resolved on a central server is  _________. <\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>branching<\/li><li>locking<\/li><li>distributed<\/li><li><strong>merging (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of these is NOT in the set of default root folders in a SVN repository?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>trunk<\/li><li>branches<\/li><li><strong>lines (Ans)<\/strong><\/li><li>tags<\/li><\/ul>\n\n\n\n<p><strong>In SVN, the switch command does what?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>switches the view of the files you are looking at<\/li><li>switches the user logged in<\/li><li><strong>switches your working copy to a different branch (Ans)<\/strong><\/li><li>switches modifications that you have stashed<\/li><\/ul>\n\n\n\n<p><strong>The svn:ignore property is set on <em>_<\/em>_________<em>_<\/em>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>the folder or file you want to ignore (Ans)<\/strong><\/li><li>a repository itself<\/li><li>the parent of the folder or file you want to ignore<\/li><li>the root directory of the project<\/li><\/ul>\n\n\n\n<p><strong>The revert command will  <em>_<\/em>_________<em>__<\/em>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>restore a file or folder to the current latest version in SVN<\/li><li>do nothing, but prevent changes from being committed<\/li><li><strong>restore a file or folder to what the original checked out version was (Ans)<\/strong><\/li><li>restore a file to a specific point in time that must be specified when the command is used<\/li><\/ul>\n\n\n\n<p><strong>When a conflict has been fixed in SVN, you should mark it as <em>__<\/em>_________<em>__<\/em>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>finished<\/li><li><strong>resolved (Ans)<\/strong><\/li><li>fixed<\/li><li>done<\/li><\/ul>\n\n\n\n<p><strong>There is only one packaged version of SVN server<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>True<\/li><li><strong>False (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Every commit to SVN can have an optional <\/strong> <strong><em>_<\/em><\/strong>_________<strong><em>_<\/em><\/strong> <strong>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>status flag<\/li><li>rollback<\/li><li>macro<\/li><li><strong>commit message (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Before using a repository in SVN you must first create a least one<\/strong> <strong><em>_<\/em><\/strong>_________<strong><em>_<\/em><\/strong> <strong>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>branch<\/li><li><strong>user (Ans)<\/strong><\/li><li>hook<\/li><li>tag<\/li><\/ul>\n\n\n\n<p><strong>SVN requires users to check a local copy of the repository also known as  <em>_<\/em>_________<em>__<\/em>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>a replication<\/li><li><strong>a working copy (Ans)<\/strong><\/li><li>a hub<\/li><li>a local repo<\/li><\/ul>\n\n\n\n<p><strong>When creating a new file in SVN that file must be <\/strong> <strong><em>_<\/em><\/strong>_________<strong><em>_<\/em><\/strong> <strong> in order to be committed.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>modified<\/li><li><strong>added (Ans)<\/strong><\/li><li>deleted<\/li><li>non empty<\/li><\/ul>\n\n\n\n<p><strong>Add and delete operations in SVN  <em>_<\/em>_________<em>_<\/em> .<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>are the same thing<\/li><li>should be done using an SVN command, not just in the file system<\/li><li><strong>should only be done in the file system (Ans)<\/strong><\/li><li>should do not really exist, svn just mimics what it sees happen in the file system<\/li><\/ul>\n\n\n\n<p><strong>The rename command in SVN actually does <\/strong> <strong><em>_<\/em><\/strong>_________<strong><em>_<\/em><\/strong> <strong>.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>a rename<\/li><li><strong>a delete and an add (Ans)<\/strong><\/li><li>just an add<\/li><li>a copy and delete<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is NOT a good reason for creating a branch?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>to label a specific section of the source (Ans)<\/strong><\/li><li>to create a new version of the software<\/li><li>to allow a feature to be worked in independently<\/li><li>to create a separate code line corresponding with a software release<\/li><\/ul>\n\n\n\n<p><strong>SVN is currently maintained by what open source foundation?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Mono<\/li><li>Klingon<\/li><li>Nomad<\/li><li><strong>Apache (Ans)<\/strong><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When checking out code from SVN you usually want to check out from __ not from the root of the repository. repo tags trunk (Ans) branches A&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[23],"tags":[333,765,4004],"class_list":["post-8869","post","type-post","status-publish","format-standard","hentry","category-svnsubversion","tag-command","tag-subversion-svn","tag-svn-server"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8869"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8869\/revisions"}],"predecessor-version":[{"id":8870,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8869\/revisions\/8870"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}