Browse all practice questions for the Yeoman (YN) Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Yeoman (YN) Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • How should a generator handle updates to the user's existing project files?
  • What is the proper way to mark an enclosure to be sent under separate cover?
  • General Pay and Administration Records use which SSIC?
  • Why should you minimize the number of prompts in a generator?
  • Article 112 of the UCMJ is known as what?
  • What is the appropriate SSIC for Officer Promotions?
  • Which margin would you NEVER use when typing a business letter?
  • What is used to calculate the mileage between duty stations?
  • Which of the following is correct when using a complimentary close?
  • CWO5/4/3 FITREPS are due in what month?
  • Why is it recommended to publish generators as separate npm packages rather than embedding in a single repo?
  • Which statement is a correct use of the listed forms and their purposes?
  • What SSIC code corresponds to Ship's design and material?
  • For Enlisted Evaluations, which SSIC is most appropriate?
  • What is the instruction for the Correspndence Manual?
  • DD Form 1351/2 is used for what purpose?
  • Which command runs the Yeoman Doctor to diagnose environment issues?
  • What command do you run to scaffold a new project using Yeoman?
  • Which code pattern demonstrates programmatic nesting of a generator using its resolved module path?
  • What pattern should you follow to guard against overwriting existing files during conflict resolution in Yeoman?
  • How can generator authors reduce cross-platform template path issues?
  • Which is a class "A" fire?
  • In portrait format, how many lines are authorized for a citation?
  • Which SSIC does NOT belong to Military Personnel, Telecommunications, Operations and Readiness, or Logistics?
  • Which SSIC is used for Officer Fitness Reports?
  • What SSIC code corresponds to Ordnance and Material?
  • What function executes npm install or yarn install as part of your generator?
  • What property on the Generator class allows you to compose with another generator?
  • What is a typical debugging strategy for failing generator tests?
  • Failure to obey any regulation subjects the offender to charges under what UCMJ article?
  • Which field in package.json declares the CLI command for a Yeoman generator?
  • What article is false official statement?
  • Which finalization hook in a Yeoman generator can be used to show messages and perform cleanup?
  • What is a common pattern to create a custom CLI command for a generator?
  • Which manual describes the methods of wearing medals, decorations and ribbons?
  • Which date format is used in the body text of a standard letter?
  • Which of the following is an example of a Unit Award?
  • Which SSIC covers Operating Procedures, Tasks & Employment Records?
  • Submarine Nuclear Supervisor Machinist's Mate NEC is which code?
  • Which instruction provides authority and procedures for the Records of Disposition Program?
  • If a document concerns Ship's design and material, which SSIC should be used?
  • What manual gives the guidelines to take a sworn affidavit or oath?
  • Which SSIC covers Decorations, Medals and Awards?
  • Ensign periodic FITREPS are due on which date?
  • What is the most appropriate SSIC for a Submarine Nuclear Operator Machinist's Mate?
  • Which article of the UCMJ is associated with Contempt Toward Officials?
  • Which lifecycle phase is typically used to gather user input via prompts?
  • What SSIC code corresponds to Logistics?
  • Which yeoman-test assertions are used to verify the contents of a file?
  • Which SSIC applies to General Organization Functions?
  • The SSIC for Enlisted Discipline Records is which of the following?
  • What instruction lists Standard Subject Identification Codes?
  • Which date format is standard for a business letter?
  • Which SSIC is most appropriate for General Supply/Material Records?
  • Which SSIC corresponds to Communications Security (COMSEC) records?
  • Which manual contains instructions governing the administration of Navy Personnel?
  • What SSIC code corresponds to Operations and Readiness?
  • What lifecycle method should be used to run package installations after files are written?
  • Which SSIC should be used for a document about medical services in the military?
  • What SSIC code corresponds to Financial Management?
  • In standard letter dating, what does the two-digit year indicate?
  • Which SSIC would be used for Decorations, Medals and Awards?
  • Lieutenant periodic FITREPS are due on which date?
  • Which helper does Yeoman provide to template files using EJS?
  • How do you prompt the user for input in Yeoman?
  • Which SSIC is used for Enlisted Separation Records?
  • What size stars are used for unit or campaign awards?
  • The SSIC 13100 is used for which category?
  • The NEC 3396 corresponds to which role?
  • What is the purpose of the Yeoman Doctor and how is it invoked?
  • Name two npm packages typically used to publish Yeoman generators.
  • NAVPERS 1320/16 is used for which purpose?
  • Which statement best describes the primary purpose of a Yeoman generator?
  • Which manual governs sworn affidavits or oaths?
  • What is the most appropriate SSIC for Enlisted Advancements?
  • When typing a joint letter, the senior official signs where?
  • From which part of the package name is the Yeoman namespace typically derived?
  • Which SSIC is for General Training and Readiness Records?
  • What form is used to prepare TEMADD orders?
  • In a joint letter, the senior official signs on which side of the page?
  • How do you verify a generator writes a specific file with particular content during tests?
  • In Yeoman tests, which helpers are used to supply answers and options to a generator?
  • What SSIC code corresponds to Medicine and Denistry?
  • Personal Affairs and Benefits Records are associated with which SSIC?
  • Which SSIC is used for General Contracting Records?
  • Which form is used to request special liberty?
  • When typing a classified letter, how would the subject line appear?
  • What is the most appropriate SSIC for General Laws and Legal Matters?
  • Which article of the UCMJ is associated with Missing Movement?
  • Which SSIC is used for General Afloat Communication Records?
  • Which SSIC would be most appropriate for Enlisted Evaluations?
  • In a generator test, how can you supply answers to prompts programmatically?
  • Which statement describes how to define a custom CLI flag for your generator?
  • Class B fires involve which type of fuel?
  • On a Memorandum of Agreement, where do you type MEMORANDUM OF AGREEMENT?
  • How do you provide default values for prompts?
  • What SSIC code corresponds to Military Personnel?
  • General Aircraft Records use which SSIC?
  • General Retirement Records correspond to which SSIC?
  • What is a typical test outcome when a test fails due to a missing or unexpected file produced by a generator?
  • Which SSIC maps to Personnel Action Requests?
  • Which combination best describes how you read and extend package.json during generation?
  • How can you supply prompts programmatically in tests or automation?
  • How can you run a subgenerator from within a generator?
  • What is the SSIC for Leave and Liberty?
  • What form is used to liquidate travel after returning from TEMADD travel?
  • Educational Benefits Records are assigned to which SSIC?
  • Mid tour awards are authorized to assist personnel in improving their advancement opportunities.
  • Which of the following is correctly paired with its SSIC?
  • A file describing day-to-day operating procedures for a ship's crew would be best filed under which SSIC?
  • What SSIC code corresponds to Telecommunications?
  • Which SSIC handles Family Support Programs?
  • If a document covers Ordnance and Material, which SSIC should be used?
  • The NEC 3383 corresponds to which role?
  • Family Housing Records use which SSIC?
  • Which article is associated with false statements?
  • The Records of Disposition Program is governed by which instruction?
  • In Yeoman, when you compose with another generator using this.composeWith, what is the primary effect?
  • Which of the following is considered a Unit Award?
  • Which of the following UCMJ articles explains the commanding officer's nonjudicial punishment?
  • What is a 'namespace' in a Yeoman generator?
  • Which SSIC is the most appropriate for Enlisted Separation Records?
  • Which statement describes the readJSON method in Yeoman's file system API?
  • Which star size is larger: 3/16 inch or 5/16 inch?
  • Article 88 of the UCMJ is known as what?
  • Naval Nuclear Propulsion Information is categorized by which SSIC?
  • If organizing Military Pay Records, which SSIC should be assigned?
  • Which article of the UCMJ is associated with Drunk on Duty?
  • Which methods would you use to read and modify package.json within a generator?
  • What NEC is most appropriate for a Surface Nuclear Supervisor Engineering Laboratory Technician?
  • What is the purpose of the conflicts phase in Yeoman's workflow?
  • In which phase would you call this.npmInstall()?
  • Which statement correctly describes running Yeoman's Doctor?
  • You are preparing a first endorsement, the basic letter has 2 enclosures, you are adding 2 more enclosures, how should you stamp the enclosures?
  • Which form is used to place a Sailor on report?
  • Family Support Programs correspond to which SSIC?
  • Which abbreviated label is used before the subject line in a classified letter?
  • Which NEC is most appropriate for Submarine Nuclear Supervisor Electrician's Mate?
  • How do you compose with a generator by using its npm package name?
  • Records documenting government procurement and contract management activities would be filed under which SSIC?
  • What is the recommended approach to test a generator in isolation without touching the user's filesystem?
  • What is the Yeoman Doctor used for?
  • How does Yeoman determine which generator to run for a given namespace?
  • How can you create a generator that can be extended by others?
  • Which practice helps ensure tests do not alter the user's real projects?
  • What SSIC code corresponds to General Administration and Management?
  • What happens if you forget to return a promise or call the async callback in an async generator method?
  • For Retirement documentation, which SSIC is appropriate?
  • How do you express dates in a business letter?
  • What is a recommended approach to enable others to extend your generator?
  • Why would you use this.fs.extendJSON to modify package.json?
  • How do you express dates when dating a standard letter?
  • Which of the following SSIC numbers represents a secondary subject?
  • Article 91 of the UCMJ is known as what?
  • What SSIC code corresponds to Personnel Action Requests?
  • List the standard lifecycle methods in a Yeoman Generator in order.
  • What is the role of package.json 'bin' field in Yeoman generator packages?
  • Radiological Medicine Records use which SSIC?
  • Article 87 of the UCMJ is known as what?
  • What filing system is utilized at major commands?
  • Which NEC is designated for a Surface Nuclear Supervisor Engineering Laboratory Technician?
  • What is the most appropriate NEC for a Submarine Nuclear Operator Electrician's Mate?
  • SSIC 1070 covers which area of MILPERSMAN?
  • Which of the following is NOT a standard Yeoman lifecycle phase?
  • In Yeoman, which statement best describes templatePath and destinationPath?
  • Which utility is recommended to assemble cross-platform paths when building template paths?
  • Which library provides the environment to run generators and handle namespace resolution?
  • Which is a class "C" fire?
  • Which of the following is the correct method to copy a binary file without applying templates in Yeoman?
  • The NEC 3386 corresponds to which role?
  • Which SSIC is the most appropriate for Fleet Reserve Records?
  • Name a common pitfall when writing templates in a generator.
  • Which SSIC is the most appropriate for General Separation Records?
  • The standard filing structure includes which set of elements?
  • SSIC 1000 covers what area of MILPERSMAN?
  • Clothing and Uniform Records use which SSIC?
  • Which method would you use to copy a file without templating (a binary file)?
  • What is the CLI command to run a generator installed as generator-foo?
  • The NEC 3364 corresponds to which role?
  • If you are organizing records for Personal Affairs and Benefits, which SSIC should you use?
  • A point paper should be kept to a minimum of how many pages?
  • Which element classification applies to Class D fires?
  • Which area does MILPERSMAN 1070 address?
  • Which SSIC is associated with General Pay and Administration Records?
  • What is mem-fs-editor used for in Yeoman generators?
  • Which of the following best describes what this.fs utilities do in the writing phase?
  • Why would you use composition over copying code into a single generator?
  • How can you ensure a generator is installable by npm users without pulling in heavy dependencies?
  • What NEC is most appropriate for a Surface Nuclear Operator Engineering Laboratory Technician?
  • What naming convention does Yeoman encourage for generator package names?
  • Which statement about subgenerators is accurate?
  • What happens after the 'end' lifecycle method in a Yeoman generator?
  • What size star is worn on Personal Awards?
  • Which instruction provides the standard subject identification codes?
  • How can you validate user input in a Yeoman prompt?
  • How do you express dates in the text of a standard letter?
  • Casualties and Survivors Benefits use which SSIC?
  • In which lifecycle phase would you typically call this.prompt()?
  • What practice enhances testability by reducing prompt friction in a generator?
  • When designing a generator for extension, which feature should you expose to users to customize its operation?
  • Which SSIC code corresponds to Leave and Liberty?
  • How many addresses should you have before you drop the 'To' line and use a Distribution Block?
  • General Artillery Records fall under which SSIC?
  • Records that support readiness, drills, and training schedules should be filed under which SSIC?
  • Which tool is commonly used to test Yeoman generators?
  • What NEC is most appropriate for a Surface Nuclear Operator Electronics Technician?
  • What finalization step can be used to display messages or run cleanups?
  • How do you perform async operations in a Yeoman generator?
  • Mid tour awards are authorized to assist personnel in improving their advancement opportunities.
  • Article 86 of the UCMJ is known as what?
  • The Defense Table of Official Distances is used to compute distances between what?
  • Records involving supply chain management, inventory, and materials control would be filed under which SSIC?
  • Which SSIC code would denote a secondary subject?
  • What is the purpose of the writing phase?
  • A directive containing authority or information having continuing reference value or requiring continuing action is known as what?
  • What is the Navy Cross worth towards advancement?
  • If you have two enclosures on the first endorsement and three enclosures on the second endorsement, what number enclosure will start on the third endorsement?
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy