cpak Packager

14 questions. 80 per cent to pass. You may take it again as many times as you like, and a later pass replaces an earlier one.

What this is

Open book, taken on your own machine, with nobody watching. Nothing checks who is at the keyboard, so what you earn attests an exam result under an account and nothing more. Read Packaging an application first if you have not.

Answers are marked on the server, so nothing on this page tells you which one is right, and nothing is recorded for a sitting that does not pass.

Keep this sitting

Your answers stay in this browser while you work. Finish the exam, then create an account to hand it in and receive a credential.

  1. 1. A photo editor opens files a person picks and saves settings of its own. Which filesystem list does its manifest carry?
  2. 2. Why is a user directory written as xdg-documents rather than home/Documents?
  3. 3. A .desktop file in your image sets Exec three times with different leading whitespace. What does cpak rewrite?
  4. 4. The same file also has a line reading Exec[de]=... . What happens to it?
  5. 5. Your manifest asks for nothing at all. What can the application reach?
  6. 6. A user runs cpak override --network=false on your package. What happens?
  7. 7. Which of these is not a grant cpak can express, and would be dropped with a warning?
  8. 8. You are unsure whether your program needs a directory. What belongs in the manifest you publish?
  9. 9. What does socketX11 open, beyond a socket to draw through?
  10. 10. Your image ships a .desktop file with no [Desktop Entry] group. What does cpak do on export?
  11. 11. A vendor permits installation but not redistribution of its binary. Which package design respects that boundary?
  12. 12. When should a Debian runtime source use deb-extract instead of dpkg?
  13. 13. An application requires a helper command but the helper should keep its own sandbox. What relationship should the manifest use?
  14. 14. Why clean APT data in the same image layer that installed the runtime packages?

0 of 14 answered. Finish the 14 remaining questions to hand it in.

Projects and technologies around cpak