Docsity

OSPOlogy Maintainer Practice Exam, Exams of Technology

Toggle sidebar
bg1
OSPOlogy Maintainer Practice Exam
**Question 1.** Which of the following best describes the primary purpose of defining an
OSPO mission statement?
A) To outline technical coding standards
B) To align open source activities with overall corporate strategy
C) To list all open source licenses used by the company
D) To detail the hardware requirements for CI pipelines
Answer: B
Explanation: A mission statement clarifies how the OSPO’s work supports the broader business
goals, ensuring strategic alignment.
**Question 2.** When aligning open source goals with a KPI such as “innovation speed,” which
metric is most directly relevant?
A) Number of patents filed per year
B) Average time from idea to production release
C) Total headcount in the legal department
D) Percentage of proprietary code in the codebase
Answer: B
Explanation: Innovation speed measures how quickly new ideas become shipped features,
which can be accelerated by reusing open source components.
**Question 3.** Which stakeholder group is least likely to require a non‑technical summary of
open source value?
A) Marketing
B) Human Resources
C) Legal
D) Front‑end developers
Answer: D
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58

Partial preview of the text

Download OSPOlogy Maintainer Practice Exam and more Exams Technology in PDF only on Docsity!

Question 1. Which of the following best describes the primary purpose of defining an OSPO mission statement? A) To outline technical coding standards B) To align open source activities with overall corporate strategy C) To list all open source licenses used by the company D) To detail the hardware requirements for CI pipelines Answer: B Explanation: A mission statement clarifies how the OSPO’s work supports the broader business goals, ensuring strategic alignment. Question 2. When aligning open source goals with a KPI such as “innovation speed,” which metric is most directly relevant? A) Number of patents filed per year B) Average time from idea to production release C) Total headcount in the legal department D) Percentage of proprietary code in the codebase Answer: B Explanation: Innovation speed measures how quickly new ideas become shipped features, which can be accelerated by reusing open source components. Question 3. Which stakeholder group is least likely to require a non‑technical summary of open source value? A) Marketing B) Human Resources C) Legal D) Front‑end developers Answer: D

Explanation: Front‑end developers are technical; they typically understand technical benefits without a simplified business summary. Question 4. Securing executive sponsorship for an OSPO most often involves: A) Demonstrating cost savings from reduced license fees B) Writing detailed code documentation C) Hosting weekly hackathons for developers only D) Publishing a list of all open source contributors Answer: A Explanation: Executives focus on ROI; showing financial benefits like license cost reduction is persuasive for sponsorship. Question 5. An Open Source Advisory Board should primarily consist of: A) Only senior engineers from the OSPO B) Representatives from legal, security, product, and engineering C) External community contributors with no internal ties D) Marketing and sales staff exclusively Answer: B Explanation: A cross‑functional board ensures diverse perspectives—legal, security, product, and engineering—are considered in decisions. Question 6. When an investor asks about the company’s open source strategy, the most appropriate response is to: A) Provide a detailed list of every open source library used B) Explain how open source contributes to market differentiation and risk mitigation C) Decline to answer due to confidentiality D) Offer a copy of the internal policy wiki

C) Avoid any interaction with upstream maintainers to reduce dependency D) Freeze all external contributions until internal roadmap is complete Answer: B Explanation: Contributing back improves upstream health and reduces long‑term maintenance burden for the organization. Question 10. Which OSI‑approved license is most permissive, allowing proprietary reuse without attribution? A) GPL‑3. B) Apache‑2. C) MIT D) LGPL‑2. Answer: C Explanation: The MIT license permits reuse, modification, and distribution, including proprietary use, with only a minimal attribution notice required. Question 11. When reviewing transitive dependencies for license compliance, the primary concern is: A) The programming language used by the dependency B) Whether the transitive license is compatible with the project’s chosen license C) The size of the dependency’s codebase D) The number of stars on the dependency’s repository Answer: B Explanation: Compatibility ensures that combining licenses does not create legal conflicts for downstream distribution. Question 12. A Developer Certificate of Origin (DCO) differs from a Contributor License Agreement (CLA) in that a DCO:

A. Requires a signed legal document from each contributor B. Relies on a simple sign‑off in commit messages asserting authorship and licensing C. Grants the company ownership of all contributions D. Is only used for proprietary software projects Answer: B Explanation: The DCO is a lightweight, commit‑level affirmation, whereas a CLA is a formal legal agreement. Question 13. Conducting a Freedom‑to‑Operate (FTO) review before contributing code helps to: A. Increase the speed of CI pipelines B. Ensure the contribution does not infringe existing patents or copyrights C. Reduce the size of the binary artifacts D. Automatically generate documentation for the contribution Answer: B Explanation: An FTO review checks for potential IP conflicts, preventing infringement risk. Question 14. Protecting an organization’s “crown jewels” while contributing to public repos typically involves: A. Open‑sourcing all internal code without restriction B. Excluding proprietary algorithms and confidential data from contributions C. Publishing secret keys in the repository’s README D. Allowing any employee to push directly to the upstream master branch Answer: B Explanation: Sensitive assets must be kept private; contributions should be carefully vetted to avoid exposing them.

Question 18. An “End‑of‑Life” (EOL) guideline for a project should address: A. The color scheme of the project’s website B. How to archive source code, notify users, and manage security patches after discontinuation C. The number of contributors needed to keep the project alive D. The price of the project’s merchandise Answer: B Explanation: EOL policies define archival, communication, and maintenance responsibilities post‑sunset. Question 19. A well‑crafted README.md contributes to contributor experience by: A. Listing every single file in the repository with line counts B. Providing clear project purpose, setup instructions, and contribution guidelines C. Including a long, technical essay about the author’s background D. Embedding unrelated advertisements Answer: B Explanation: Concise, relevant information lowers the barrier to entry for new contributors. Question 20. Optimizing “Time to First Response” (TTFR) for pull requests can be achieved by: A. Disabling all automated bots B. Assigning dedicated reviewers and using triage bots to label incoming PRs promptly C. Requiring a minimum of 48 hours before any response D. Only responding to PRs from senior engineers Answer: B Explanation: Proactive reviewer assignment and automated triage reduce initial waiting periods.

Question 21. Which metric best reflects “Time to Merge” (TTM) efficiency? A. Number of lines added per commit B. Average duration from PR open to merge across all PRs C. Total number of open issues D. Frequency of repository forks Answer: B Explanation: TTM measures the speed of moving contributions from submission to integration. Question 22. A tiered contributor ladder typically includes which progression? A. Intern → Contractor → Full‑time employee B. Viewer → Forker → Star‑giver C. Contributor → Member → Maintainer D. Tester → Developer → Architect Answer: C Explanation: The ladder recognizes increasing responsibility: basic contributions, community membership, and finally maintainership. Question 23. Moderating a public Slack channel for an open source project should: A. Allow any offensive language to promote free speech B. Enforce the project’s Code of Conduct, mute trolls, and encourage respectful dialogue C. Delete all messages that contain code snippets D. Require a paid subscription to post any message Answer: B Explanation: Moderation must uphold the Code of Conduct and maintain a welcoming environment.

Question 27. Which of the following is a non‑code contribution that should be recognized in a project’s health metrics? A. Adding a new API endpoint in Java B. Writing comprehensive documentation and user guides C. Refactoring a core library in C++ D. Implementing a new encryption algorithm Answer: B Explanation: Documentation, testing, UI/UX design, and community outreach are valuable non‑code contributions. Question 28. Using GitHub Actions for automated linting primarily improves: A. License compliance reporting B. Code quality consistency across pull requests C. Deployment to production servers D. Project marketing materials Answer: B Explanation: Automated linting enforces style and quality rules, catching issues early. Question 29. A SAST (Static Application Security Testing) tool is best used to: A. Detect runtime performance bottlenecks B. Identify security vulnerabilities in source code before execution C. Generate software bills of materials (SBOM) automatically D. Manage issue triage in the community forum Answer: B Explanation: SAST analyzes code statically to find potential security flaws without running the program.

Question 30. Which bot function most directly helps keep issue trackers clean? A. Bot that automatically merges all open PRs after 24 hours B. Bot that labels stale issues and closes them after a period of inactivity C. Bot that rewrites commit messages in a random style D. Bot that posts memes in the issue comments Answer: B Explanation: Stale‑issue bots identify inactive tickets and can close them, maintaining a tidy tracker. Question 31. Publishing an artifact to Maven Central requires: A. A signed GPG key and compliance with Central’s repository policies B. Only a README file in the root directory C. No licensing information at all D. An open source license that is not OSI‑approved Answer: A Explanation: Maven Central enforces GPG signing and metadata requirements to ensure authenticity and compliance. Question 32. A Software Bill of Materials (SBOM) is primarily used to: A. Track the number of lines of code in a project B. List all components, dependencies, and licenses for a build, aiding security and compliance C. Generate random version numbers for releases D. Store user passwords securely Answer: B Explanation: SBOM provides a detailed inventory of software components, facilitating vulnerability management and license tracking.

Question 36. Breaking down silos through cross‑departmental code sharing can be measured by: A. The number of internal API calls between teams B. The total size of the monolithic binary C. The amount of coffee consumed in the office D. The number of external contributors on the project Answer: A Explanation: Increased internal API usage indicates successful sharing and collaboration across teams. Question 37. CHAOSS metrics are used to: A. Predict stock market trends B. Evaluate open source community health and activity C. Automate Docker container builds D. Encrypt source code files Answer: B Explanation: CHAOSS defines a set of metrics for assessing community health, such as activity, diversity, and responsiveness. Question 38. LFX Insights is a tool that primarily provides: A. Real‑time video conferencing for developers B. Dashboards and analytics for open source project health and contribution data C. Automated code refactoring suggestions D. License violation detection for proprietary software only Answer: B

Explanation: LFX Insights aggregates data from repositories to visualize community and contribution metrics. Question 39. In outbound contribution metrics, a high “pull request acceptance rate” indicates: A. The organization is rarely contributing to external projects B. External projects are receptive to the organization’s contributions C. The organization has many internal forks D. The project has a large number of open issues Answer: B Explanation: A high acceptance rate shows that external maintainers are merging the organization’s contributions. Question 40. Which of the following is considered a “vital sign” of project health? A. Number of emojis used in commit messages B. Frequency of releases, issue response time, and contributor diversity C. Color of the project’s logo D. Amount of server uptime for the CI system only Answer: B Explanation: Vital signs are quantitative indicators like release cadence, responsiveness, and community diversity. Question 41. An annual project health check should include: A. A review of the project’s mascot design B. Assessment of activity trends, dependency freshness, and security posture C. Counting the total number of lines of code written in the last year D. Measuring the number of coffee cups consumed by maintainers

D. Open source mandates a specific programming language for all hires Answer: B Explanation: HR values initiatives that help attract and retain skilled engineers, and open source visibility does that. Question 45. A “Contributor License Agreement” (CLA) typically grants the project: A. Unlimited ownership of the contributor’s future patents B. Rights to relicense the contribution under any terms the project chooses C. Permission to use the contribution without any attribution requirement D. Automatic inclusion of the contributor in the board of directors Answer: B Explanation: CLAs often transfer or license rights so the project can relicense or distribute the contribution as needed. Question 46. Which of the following licenses requires that derivative works be distributed under the same license? A. MIT B. Apache‑2. C. GPL‑3. D. BSD‑ 3 - Clause Answer: C Explanation: The GPL is a copyleft license that enforces license inheritance for derivatives. Question 47. A “transitive dependency” is best described as: A. A direct library that the project imports B. A dependency of a dependency, potentially several levels deep C. A file that is not compiled into the final binary

D. A module that is only used in testing environments Answer: B Explanation: Transitive dependencies are indirect libraries pulled in through other dependencies. Question 48. In the context of open source compliance, a “license compatibility matrix” is used to: A. Rank contributors by seniority B. Determine which combinations of licenses can coexist in a single distribution C. List all open source projects with more than 10,000 stars D. Generate random license names for internal use Answer: B Explanation: Compatibility matrices help assess whether mixing certain licenses would create legal conflicts. Question 49. The primary purpose of a “Code of Conduct” in an open source project is to: A. Define the programming language standards for the codebase B. Establish behavioral expectations and provide a process for handling violations C. List all third‑party libraries used in the project D. Set the pricing model for commercial support Answer: B Explanation: A Code of Conduct outlines acceptable behavior and how to address misconduct. Question 50. Which of the following actions best demonstrates transparent handling of a security vulnerability? A. Immediately deleting the issue without comment B. Publishing a detailed advisory, fixing the issue, and notifying affected users promptly

B. Enables downstream consumers to assess component risk and license compliance C. Reduces the size of the compiled binary by half D. Guarantees that the project will receive funding from the OSI Answer: B Explanation: An SBOM shared publicly helps users understand dependencies and associated risks. Question 54. When using GitLab CI for automated testing, the “stages” keyword in .gitlab- ci.yml defines: A. The order in which jobs are executed (e.g., build, test, deploy) B. The number of contributors allowed to push code C. The licensing model for the pipeline D. The visual theme of the CI dashboard Answer: A Explanation: Stages organize jobs into sequential phases in the CI pipeline. Question 55. A “bot” that automatically adds “good first issue” labels to newly opened issues primarily helps to: A. Increase the number of bugs in the project B. Guide new contributors toward approachable tasks, improving onboarding C. Hide complex issues from the community D. Randomly delete issues after a week Answer: B Explanation: Labeling easy issues encourages newcomers to make their first contributions. Question 56. Which of the following contributes most directly to lowering the “bus factor” risk?

A. Documenting onboarding procedures and rotating maintainer duties B. Keeping all knowledge within a single senior engineer C. Restricting repository access to a handful of people D. Using proprietary build tools unknown to most team members Answer: A Explanation: Documentation and role rotation ensure knowledge is shared and not dependent on one individual. Question 57. In a community health dashboard, a “contributor churn rate” measures: A. The frequency of code style violations B. The proportion of contributors who stop contributing over a defined period C. The number of lines deleted per commit D. The speed at which issues are closed Answer: B Explanation: Churn rate tracks retention, indicating community stability. Question 58. When an organization wants to contribute a security fix upstream, the most appropriate first step is: A. Push the fix directly to the main branch without discussion B. Open a detailed pull request with a clear description, referencing the CVE if applicable C. Delete the vulnerable code from their own fork only D. Create a private repository with the fix and keep it secret Answer: B Explanation: Transparent, well‑documented PRs facilitate upstream review and acceptance. Question 59. Which of the following statements about “License Scanning” tools is true? A. They can replace legal review entirely