31
1) The default behavior of the clearexport_rcs and clearexport_pvcs commands is to translate symbols into labels or branches as appropriate? A. True B. False 2) The -b option of clearimport_ffile utility means that imported files will become the latest versions on the current branch. A. True B. False 3) Which object(s) does the cleartool relocate command move? (Select all that apply.) A. Directory elements B. Element triggers C. Type triggers D. Shared derived objects 4) VOB_A has a branch type named rel2_bugfix. VOB_B also has a branch type named rel2_bugfix. What change occurs in the branch type when relocating a section of VOB_A to VOB_B? A. The relocate operation recognizes the branch types as the same, and associates the relocated branch instances with the VOB_B definition. B. An error message occurs, and the user is prompted to rename the branch type to proceed. C. An error message occurs during relocate, indicating the name collision and relocate aborts. D. The branch type from VOB_A is renamed to rel2_bugfix.1.

CC Exam Questions

Embed Size (px)

Citation preview

Page 1: CC Exam Questions

1) The default behavior of the clearexport_rcs and clearexport_pvcs commands is to translate symbols into labels or branches as appropriate?

A. True B. False

2) The -b option of clearimport_ffile utility means that imported files will become the latest versions on the current branch.

A. True B. False

3) Which object(s) does the cleartool relocate command move? (Select all that apply.)

A. Directory elements B. Element triggers C. Type triggers D. Shared derived objects

4) VOB_A has a branch type named rel2_bugfix. VOB_B also has a branch type named rel2_bugfix.

What change occurs in the branch type when relocating a section of VOB_A to VOB_B?

A. The relocate operation recognizes the branch types as the same, and associates the relocated branch instances with the VOB_B definition.

B. An error message occurs, and the user is prompted to rename the branch type to proceed.

C. An error message occurs during relocate, indicating the name collision and relocate aborts.

D. The branch type from VOB_A is renamed to rel2_bugfix.1.

5) What is the status of non-versioned derived objects during execution of cleartool relocate?

A. Relocated to the target VOB B. Not relocated because they are view-private files C. Marked as invalid in the originating VOB so that clearmake will not

attempt a winkin D. Removed with the equivalent of cleartool rmdo

6) The commands clearexport_ccase and clearimport copy elements from one VOB to another.

A. True B. False

Page 2: CC Exam Questions

7) Execution of the cleartool relocate command is restricted to root and the owner of BOTH VOB?

A. True B. False

8) "src" is a subdirectory of your current directory. What actions occur when you enter the command: clearexport_ffile src?

A. All files and sub-directories in src are exported, including all symbolic and hard links found, and data is written to a file called cvt_data. B. All files and sub-directories in the src directory except hidden files are exported,and output written to a file called cvt_data. C. All files and only subdirectory names in the src directory are exported, and the data written to a file called cvt_data. D. All files are processed, sub-directories are processed recursively, symbolic links are processed and the data written to a file called cvt_data.

9) Which executable must a user establish in the PATH environment variable to allow for import of pvcs and sccs source code?

A. get B. rcp C. co D. xcopy

10) What action occurs when cleartool relocate encounters a borderline element?

A. Relocates the element if a version is selected in the current view. B. Cleartool prompts the user for the correct action. C. Relocates the element D. Does not relocate the element

11) You can restart the cleartool relocate command for all phases except if it has halted during the final phase (removal of source elements).

A. True B. False

12) Which commands allow a user to obtain command syntax help from the command prompt? (Select all that apply.)

Page 3: CC Exam Questions

A. cleartool subcommand -help B. cleartool help subcommand C. cleartool -help subcommand D. cleartool subcommand help

13) The ClearCase network release area must be on a Clear Case installed host.

A. True B. False

14) The ClearCase installer must have root privileges.

A. True B. False

15) New license keys are necessary to upgrade from a previous release of ClearCase.

A. True B. False

16) Can the person performing an installation override client installation parameters set via the Site Prep Script?

A. Yes B. No

17) It is not always necessary to reboot the computer after uninstalling ClearCase.

A. True B. False

18) The License Server must be a ClearCase installed host.

A. True B. False

19) Can you change a client's ClearCase License Server assignment?

A. Yes B. No

20) What is the length of the shortest timeout period for a ClearCase license?

A. 5 minutes

Page 4: CC Exam Questions

B. 10 minutes C. 30 minutes D. 60 minutes

21) ClearCase license keys and License Server hostnames are stored in /var/adm/rational/clearcase/license.db.

A. True B. False

22) Which of the following actions can you complete using the clearlicense command? (Select all that apply.)

A. Grant licenses to priority users B. Enable license auditing C. Release a license D. Add new license codes E. Report on current license use

23) What is the length of the default timeout period on a ClearCase license?

A. 15 minutes B. 30 minutes C. 60 minutes D. 120 minutes

24) The default ClearCase configuration allows for up to six vobrpc_server processes running per VOB.

A. True B. False

25) Only the owner of a ClearCase object can transfer ownership of that object.

A. True B. False

26) How do you remove a shared derived object from a VOB?

A. cleartool rmver B. cleartool rmelem C. cleartool rmname D. cleartool rmdo

27) Which options of the cleartool subcommand return a listing of all log files on the current host? (Select all that apply.)

Page 5: CC Exam Questions

A. getlog -inquire B. getlog -local C. getlog -graphical D. getlog -long

28) A configuration record contains which of the following? (Select all that apply.)

A. Non-MVFS section containing the update history of the view Not sureB. Information on when and in which view the build was run C. Information on versions used for the build D. Information on all sibling derived objects

29) You can use version-extended naming only with ClearCase commands, not with shell commands.

A. True B. False

30) What cleartool command do you use to list the derived objects created by clearmake?

A. diffcr B. catcs C. catcr -flat D. lsdo E. ls -la

31) Build auditing with clearmake occurs only in a dynamic view.

A. True B. False

32) You want to get detailed information about a build. What do you examine?

A. Derived objects B. Makefile C. View's log files D. Configuration specification E. Configuration records

33) When creating VOB symbolic links, you should use absolute pathnames so other users can access the link.

A. True B. False

Page 6: CC Exam Questions

34) What is the effect of using cleartool chpool on a file element? (Select all that apply.)

A. For cleartext pools, all versions are moved to the new pool. B. For source pools, all versions are moved to the new pool. C. For source pools, future versions will be put in the new pool. D. For cleartext pools, future versions will be put in the new pool

35) Does the scrubber consider available disk space when deciding whether derived object pools will be scrubbed?

A. Yes B. No

36) How does a derived object inherit its pool assignment?

A. From the derived object assignment table B. From the directory where the executable is versioned C. From the file element that created the first-level target D. From the directory where the target was built

37) Which of the following best describes the effect of parameter driven scrubbing when the current pool size is greater than the maximum size parameter?

A. Scrubs that pool of files that have not been modified since the number of hours set in the age parameter.

B. Scrubs that pool of files that contain duplicate data until the current size is less than the reclaim size. C. Scrubs that pool of files that have not been accessed in the number of

hours set in the age parameter until reclaim size is reached. D. Scrubs that pool of files that have not been accessed in the time specified

in the age parameter until minimum size is reached

38) What scrubber utilities are available in ClearCase? (Select all that apply.)

A. scrubber B. cltxt_scrubber C. vob_scrubber D. view_scrubber E. db_scrubber F. source_scrubber

39) What does the VOB's group list control?

A. Who can remove the VOB B. Who can create an element or derived object in the VOB

Page 7: CC Exam Questions

C. Who can change the read, write, and execute access on VOB directories D. Who can read VOB elements

40) The default protections of a VOB allow any user to create view-private files in any VOB directory.

A. True B. False

41) Is the credmap utility sufficient to match a Windows user's login name and primary group name to a UNIX user's login name and primary group name?

A. Yes B. No

42) Any member of any group can change the config spec of a view.

A. True B. False

43) Are you required to unmount a VOB before running the cleartool protectvob command?

A. Yes B. No

44) Execute access to a VOB directory element means that the applicable individual (user, group, other) can make that directory the current directory.

A. True B. False

45) A user can change from write access to read-only access on a checked-out version by issuing the cleartool protect ugo-w command.

A. True B. False

46) Who may remove a versioned element? (Select all that apply.)

A. Any user B. Member of VOB owner's primary group C. Element group member D. VOB owner E. Root

Page 8: CC Exam Questions

47) You can see view-private files even if the VOB is locked.

A. True B. False

48) What is the purpose of the cleartool protectvob command? (Select all that apply.)

A. Change the primary group of a VOB B. Add groups to a newly created VOB C. List the owner and groups for a VOB D. Remove the primary group of a VOB E. Change the ownership of a VOB

49) Locking the VOB object prevents reading and writing to the VOB.

A. True B. False

50) Which cleartool subcommand lists the protections for a VOB object?

A. vobprotect vob:vob-tag B. describe vob:vob-tag C. lsprotect vob:vob-tag D. protect -ls vob:vob-tag

51) You use the cleartool protect command to change the group list and ownership of the VOB object.

A. True B. False

52) Write access is disabled for checked-in element versions.

A. True B. False

53) Changing the group association for an element adds the group to the VOB's group list if it is not already present.

A. True B. False

Page 9: CC Exam Questions

54) What is the purpose of the rgy_check program?

A. Check the primary and backup registry servers for consistent data B. Discover and fix registry problems C. Report on registry inconsistencies D. Update mount options in VOB registry entries

55) Who can change an object's access parameters? (Select all that apply)

A. root B. object's group member C. object's owner D. VOB owner

56) Which cleartool subcommands make or modify view registry entries? (Select all that apply.)

A. rmview B. setcache C. endview D. register

57) Which operation(s) require the registry password? (Select all that apply.)

A. Create a public VOB B. Change the registry password C. Change a private VOB to a public VOB D. Remove a public VOB

58) Which cleartool subcommands make or modify VOB registry entries? (Select all that apply.)

A. mount B. mktag C. umount D. register E. unregister

59) Which of the following filename(s) appear in a ClearCase Registry? (Select all that apply.)

A. view_object B. vob_object C. regions D. cltxt_pool E. snapshot_setup

Page 10: CC Exam Questions

60) Regions A and B share a Registry Server. You create a VOB in Region_A. What commands do you issue to create a tag for Region_B?

A. cleartool mktag -vob -tag /vobs/VOB-tag -replace -region Region_A -region Region_B

B. cleartool mktag -vob -tag /vobs/VOB-tag -region Region_B C. cleartool mktag /vobs/VOB-tag -region Region_B D. cleartool mktag -vob -tag /vobs/VOB-tag -replace -region Region_B

61) To access views and VOBs from a region, the VOBs and views must have tags in that region.

A. True B. False

62) First_view builds a derived object. Second_view winks in the derived object built in First_view. No other operations takes place in First_view.

Where is derived object data container that's available to First_view?

A. In the VOB's database B. In the VOB's derived object pool C. In First_view's view storage D. In Second_view's view storage

63) Moving a flat file into a view creates a view-private file.

A. True B. False

64) Which host is executing the view_server process for a snapshot view?

A. The host where view-private files are loaded B. The host where the view storage directory resides C. The same host as the vob_server process D. The host that first activates the view

65) A hijacked file has been created. Which of the following situations can cause this?

A. A version in a dynamic view is checked out and renamed. B. A version in a snapshot view is checked out and renamed. C. A version in a dynamic view is modified without first being checked out. D. A version in a snapshot view is modified without first being checked out

Page 11: CC Exam Questions

66) Which of the following are options for the view_scrubber? (Select all that apply.)

A. Remove a shared derived object's data container. B. Report on derived objects that can be removed. C. Remove shared derived objects from the derived object storage pool. D. Make an unshared derived object a shared derived object

67) A user can activate a view by making the VOB-tag directory the current directory.

A. True B. False

68) Which command lists all view-tags in the current region?

A. cleartool lstag -view B. cleartool lsview C. cleartool lsview D. cleartool setview -all

69) Using the view_scrubber with the -p option is the same as using cleartool winkin.

A. True B. False

70) What is the meaning of the asterisk to the left of a view -tag in the cleartool lsview output?

A. The view's storage directory is on the local host B. Someone is currently using the view C. The view server process is running. D. The view is active on the local host.

71) The cleartool recoverview command calls the cleartool reformatview command.

A. True B. False

72) You can use a single view with multiple VOBs.

A. True B. False

73) Which of the following are the key job(s) of the view? (Select all that apply.)

Page 12: CC Exam Questions

A. Serve as a filter for accessing multi-versioned objects. B. Serve as a personal workspace for objects that are part of the development

process, but not under version control. C. Provide a centralized read-only repository for version-controlled data. D. Store organizational information related to development policy and procedures

74) Under which condition(s) do you run the cleartool recoverview command (either automatically or manually)? (Select all that apply.)

A. Files in the view's lost+found directory B. Stranded view-private files detected C. Internal view db errors in the view_log file D. System crash or similar mishap

75) Which command removes unshared derived object from a view?

A. cleartool rmname B. UNIX rm C. cleartool rmelem D. cleartool rmdo

76) The cleartool lsview -long command presents information about a view including uuid, owner, group and storage area.

A. True B. False

77) You executed a UNIX ls command in a VOB directory. What does the execution display? (Select all that apply)

A. ClearCase hard links B. ClearCase hyperlinks C. View-private files D. Elements E. UNIX symbolic links

78) A view can access any number of VOBs if the config spec allows.

A. True B. False

79) Which host is executing the view_server process for a dynamic view?

A. The host where view-private files are loaded

Page 13: CC Exam Questions

B. The same host as the vob_server process C. The first host to activate the view D. The host where the view storage directory resides

80) Which of the following problems will occur if you remove a view-storage directory using the UNIX rmdir command? (Select all that apply.)

A. Versions checked out to the view become orphaned elements in the VOB. B. Clearmake builds will produce an error message, but will continue

processing. C. The view_server process is not shut down. D. Clearmake builds will fail when shopping for derived objects in the view. E. The view_object and view_tag registry files still list the view.

81) The cleartool catcs command will display the configuration record of a build object.

A. True B. False

82) Can a snapshot view's .view.stg directory be moved to a network server host without ill effects?

A. Yes B. No

83) Can a snapshot view's .view.dat file be moved to a network server host without ill effects?

A. Yes B. No

84) The view_scrubber -p command removes references to the current view for derived objects affected by the view_scrubber process.

A. True B. False

85) How do you access a VOB through a snapshot view?

A. Through a symbolic link B. Through the directory tree under the view's storage directory C. Through the Credentials host D. Through the directory tree under the root directory of the view

Page 14: CC Exam Questions

86) Creating symbolic links with absolute pathnames can cause the links to be invisible to other users.

A. True B. False

87) Which of the following objects are visible in the xclearcase display? (Select all that apply.)

A. Hard link B. Directory element C. Symbolic link D. View-private file E. Hyperlink

88) Creating symbolic links with absolute pathnames can cause the links to be invisible to other users.

A. True B. False

89) Which of the following describes private VOBs?

A. Once mounted, any user with access permission can use them. B. Only root or the VOB owner can mount them. C. Anyone can mount them. D. Mount them with the -private option of the cleartool mount command

90) A user can specify a VOB to mount with either the VOB-tag or the VOB storage pathname.

A. True B. False

91) From the VOB host, it is possible to unmount the VOB from all hosts with a single command.

A. True B. False

92) Which of the following actions are possible with the cleartool rmvob command? (Select all that apply.)

A. Unregisters the VOB B. Kills the vob_server process C. Deletes the VOB storage directory

Page 15: CC Exam Questions

D. Converts checked-out versions to view-private files E. Resets permissions on the VOB tag directory

93) The only way to recover unused disk space consumed by the VOB database is to run reformatvob.

A. True B. False

94) What is the purpose of a VOB? (Select all that apply.)

A. Provide a secure central repository for versioned objects. B. Provide many of the tools needed for configuration management. C. Store history and organizational information for versioned objects. D. Serve as a filter for working with multi-versioned elements.

95) Which command do you use to determine the space utilization of a VOB?

A. cleartool mvfsstorage B. cleartool lsstorage C. cleartool space

D.cleartool lspool

96) A user may access VOB data either by making the VOB-tag or the VOB storage directory the current directory.

A. True B. False

97) How many vob_server processes run per VOB?

A. 1 B. 3 C. 4 D. 5

98) Which of the following actions create a new directory element version? (Select all that apply.)

A. Deleting a file element. B. Creating a new file element. C. Checking out a file element version. D. Renaming a file element. E. Checking in a file element version.

Page 16: CC Exam Questions

99) Which of the following element types does ClearCase store as interleafed deltas? (Select all that apply.)

A. xml B. ms_word C. html D. text_file

100) At midnight the QA person informs you that the build crashed. What is the best way to roll back to a previous working set of code versions?

A. Modify your configuration specification to select the next-to-last versions on the branch used in the build

B. Change your configuration specification to select a working configuration by its label C. Reset the view used in the build with a post-op trigger on the clearmake Command D. Change your configuration specification to select /main/LATEST versions

101) Your organization has decided to label all good builds at the end of the workday. What will be the immediate result(s) of this decision? (Select all that apply.)

A. Disk space will have to be increased. B. Subsequent builds will not run. C. Operators will run out of label names. D. The computer will sort through many more labels.

102) Which metadata type is most commonly used to identify versions used in a release?

A. Triggers B. Global types C. Attributes D. Labels

103) Which command lists elements that have a version with the label REL4 attached?

A. cleartool describe element lbtype_sub(REL4) B. cleartool find <vob-root-dir> -element lbtype_sub(REL4) -print C. cleartool find . -element lbtype(REL4) -print D. cleartool lshistory -element *@@/REL4

104) The -version, -branch, -element options, in the cleartool find command determine the granularity of a query.

A. True B. False

Page 17: CC Exam Questions

105) The upper management has asked how many files were altered in the last two software releases.Which command creates the most efficient report you can generate using the command line interface that will provide this information?

A. list history B. list vtree C. cleartool find D. cleartool describe

106) For which of the following metadata categories can the two-step process for creating metadata be combined into one step?

A. text_file elements B. global labels C. string attributes D. all-element triggers

107) Entering a ClearCase command causes a trigger to fire. The trigger's associated script references a comment linked with that command.

Which environment variable does the script use to identify the comment entered with the ClearCase command?

A. CLEARCASE_REMARK B. CLEARCASE_COMMENT C. CLEARCASE_CFILE D. CLEARCASE_PROFILE E. CLEARCASE_CMNT_PN

108) Which category of metadata has no auto-make-type feature?

A. Element type B. Label type C. Trigger type D. Attribute type

109) You are implementing a site policy to allow only root to remove elements. Which of the following describes a trigger that can implement that policy?

A. A preop trigger on rmelem B. A postop trigger on rmelem C. A preop trigger on rmtype -eltype D. A postop trigger on rmtype -eltype

110) Item 1 The cleartool relocate command can run from... 111) Item 2 The default behavior of the clearexport_rcs ...

Page 18: CC Exam Questions

112) Item 3 The -b option of clearimport_ffile utility... 113) Item 4 Which object(s) does the cleartool relocate ... 114) Item 5 VOB_A has a branch type named rel2_bugfix.

VOB_B... 115) Item 6 What is the status of non-versioned derived... 116) Item 7 The commands clearexport_ccase and ... 117) Item 8 Execution of the cleartool relocate command is... 118) Item 9 "src" is a subdirectory of your current... 119) Item 10 Which executable must a user establish in the... 120) Item 11 What action occurs when cleartool relocate ... 121) Item 12 You can restart the cleartool relocate command... 122) Item 13 Which commands allow a user to obtain command... 123) Item 14 The ClearCase network release area must be on a... 124) Item 15 The ClearCase installer must have root... 125) Item 16 New license keys are necessary to upgrade from a... 126) Item 17 Can the person performing an installation... 127) Item 18 It is not always necessary to reboot the... 128) Item 19 The License Server must be a ClearCase installed... 129) Item 20 Can you change a client's ClearCase License... 130) Item 21 What is the length of the shortest timeout... 131) Item 22 ClearCase license keys and License Server... 132) Item 23 Which of the following actions can you complete... 133) Item 24 What is the length of the default timeout period... 134) Item 25 The default ClearCase configuration allows for... 135) Item 26 Only the owner of a ClearCase object can... 136) Item 27 How do you remove a shared derived object from a... 137) Item 28 Which options of the cleartool subcommand return... 138) Item 29 A configuration record contains which of the... 139) Item 30 You can use version-extended naming only with... 140) Item 31 What cleartool command do you use to list the... 141) Item 32 Build auditing with clearmake occurs only in a... 142) Item 33 You want to get detailed information about a... 143) Item 34 When creating VOB symbolic links, you should use... 144) Item 35 What is the effect of using cleartool chpool ... 145) Item 36 Does the scrubber consider available disk space... 146) Item 37 ClearCase for UNIX supports remote storage pools... 147) Item 38 How does a derived object inherit its pool... 148) Item 39 Which of the following best describes the effect... 149) Item 40 What scrubber utilities are available in... 150) Item 41 What does the VOB's group list control?

Page 19: CC Exam Questions

151) Item 42 The default protections of a VOB allow any user... 152) Item 43 Is the credmap utility sufficient to match a... 153) Item 44 Any member of any group can change the config... 154) Item 45 Are you required to unmount a VOB before running... 155) Item 46 Execute access to a VOB directory element means... 156) Item 47 A user can change from write access to read-only... 157) Item 48 Who may remove a versioned element? (Select all... 158) Item 49 You can see view-private files even if the VOB... 159) Item 50 What is the purpose of the cleartool protectvob... 160) Item 51 Locking the VOB object prevents reading and... 161) Item 52 Which cleartool subcommand lists the protections... 162) Item 53 You use the cleartool protect command to... 163) Item 54 Write access is disabled for checked-in element... 164) Item 55 Changing the group association for an element... 165) Item 56 Who can change an object's access parameters?... 166) Item 57 What is the purpose of the rgy_check program? 167) Item 58 Which cleartool subcommands make or modify view... 168) Item 59 Which operation(s) require the registry... 169) Item 60 Which cleartool subcommands make or modify

VOB... 170) Item 61 Which of the following filename(s) appear in a... 171) Item 62 Regions A and B share a Registry Server. You... 172) Item 63 To access views and VOBs from a region, the VOBs... 173) Item 64 First_view builds a derived object. ... 174) Item 65 Moving a flat file into a view creates a... 175) Item 66 Which host is executing the view_server ... 176) Item 67 A hijacked file has been created. Which of the... 177) Item 68 Which of the following are options for the ... 178) Item 69 A user can activate a view by making the VOB-tag... 179) Item 70 Which command lists all view-tags in the current... 180) Item 71 Using the view_scrubber with the -p option... 181) Item 72 What is the meaning of the asterisk to the left... 182) Item 73 The cleartool recoverview command calls the... 183) Item 74 You can use a single view with multiple VOBs. 184) Item 75 Which of the following are the key job(s) of the... 185) Item 76 Under which condition(s) do you run the... 186) Item 77 Which command removes unshared derived object... 187) Item 78 You executed a UNIX ls command in a VOB... 188) Item 79 The cleartool lsview -long command presents... 189) Item 80 A view can access any number of VOBs if the...

Page 20: CC Exam Questions

190) Item 81 Which host is executing the view_server ... 191) Item 82 Which of the following problems will occur if... 192) Item 83 The cleartool catcs command will display the... 193) Item 84 Can a snapshot view's .view.stg directory be... 194) Item 85 Can a snapshot view's .view.dat file be moved... 195) Item 86 The view_scrubber -p command removes... 196) Item 87 How do you access a VOB through a snapshot view?... 197) Item 88 Which of the following objects are visible in... 198) Item 89 Creating symbolic links with absolute pathnames... 199) Item 90 Which of the following describes private VOBs? 200) Item 91 A user can specify a VOB to mount with either... 201) Item 92 From the VOB host, it is possible to unmount the... 202) Item 93 Which of the following actions are possible with... 203) Item 94 What is the purpose of a VOB? (Select all that... 204) Item 95 The only way to recover unused disk space... 205) Item 96 Which command do you use to determine the space... 206) Item 97 How many vob_server processes run per VOB? 207) Item 98 A user may access VOB data either by making the... 208) Item 99 Which of the following actions create a new... 209) Item 100 Which of the following element types does... 210) Item 101 At midnight the QA person informs you that the... 211) Item 102 Your organization has decided to label all good... 212) Item 103 Which metadata type is most commonly used to... 213) Item 104 Which command lists elements that have a version... 214) Item 105 The -version , -branch , -element options,... 215) Item 106 The upper management has asked how many files... 216) Item 107 For which of the following metadata categories... 217) Item 108 Which category of metadata has no auto-make-type... 218) Item 109 Entering a ClearCase command causes a trigger to... 219) Item 110 You are implementing a site policy to allow only...