010-160 - LPI Linux Essentials Open Source and Licensing Questions and Answers — Questions and Answers
Question 1: Which of the following license types is characterized by the 'copyleft' provision, requiring that derivative works also be distributed under the same or an equivalent license?
- Permissive licenses like MIT or Apache
- Proprietary licenses
- GNU General Public License (GPL) (Correct answer)
- Public Domain
Correct answer: GNU General Public License (GPL)
The GNU General Public License (GPL) is the most well-known copyleft license. A key feature of copyleft is that it requires any software that is modified or extended from the original work to be released under the same license, ensuring the software remains free.
Question 2: A developer wants to use an open-source library in their new proprietary, closed-source application. They need a license that allows them to use the code without requiring them to release their own source code. Which license type would be most suitable?
- GNU GPLv3
- A permissive license like MIT (Correct answer)
- Creative Commons ShareAlike
- GNU AGPLv3
Correct answer: A permissive license like MIT
Permissive licenses, such as the MIT or Apache licenses, place minimal restrictions on how the software can be used, modified, and redistributed. They do not have a 'copyleft' provision, making them ideal for inclusion in proprietary, closed-source commercial software.
Question 3: What is a primary difference between the Apache 2.0 license and the MIT license?
- The MIT license is a copyleft license, while Apache 2.0 is not.
- The Apache 2.0 license includes an express grant of patent rights, while the MIT license does not. (Correct answer)
- The Apache 2.0 license prohibits commercial use.
- The MIT license requires you to publish all modifications.
Correct answer: The Apache 2.0 license includes an express grant of patent rights, while the MIT license does not.
A key feature of the Apache 2.0 license is that it includes an explicit grant of patent rights from contributors to users. The MIT license is much simpler and does not explicitly address patent rights, which is a key reason some projects and corporations prefer the Apache license.
Question 4: The Free Software Foundation (FSF) defines four essential freedoms for free software. Which of the following is NOT one of those freedoms?
- The freedom to run the program for any purpose.
- The freedom to study how the program works and change it.
- The freedom from any cost associated with the software. (Correct answer)
- The freedom to redistribute copies to help others.
Correct answer: The freedom from any cost associated with the software.
The FSF's definition of free software focuses on liberty, not price. It defines free software by four essential freedoms: the freedom to run the program, to study and change it, to redistribute copies, and to distribute copies of your modified versions. Free software can be sold.
Question 5: A graphic designer creates an icon set and wants to allow others to use it for free, even in commercial projects. However, they want to ensure that any modified versions of the icons are also shared freely under the same terms. Which Creative Commons license should they use?
- CC BY-NC (Attribution-NonCommercial)
- CC BY-ND (Attribution-NoDerivs)
- CC BY (Attribution)
- CC BY-SA (Attribution-ShareAlike) (Correct answer)
Correct answer: CC BY-SA (Attribution-ShareAlike)
The Creative Commons Attribution-ShareAlike (CC BY-SA) license allows others to remix, adapt, and build upon the work even for commercial purposes, as long as they give credit and license their new creations under the identical terms. This 'ShareAlike' component is a form of copyleft for creative works.
Question 6: When you use software licensed under the GNU GPLv2, what is a key obligation if you distribute a modified version of that software?
- You must pay a licensing fee to the original author.
- You must make the source code of your modifications available under the GPLv2. (Correct answer)
- You must get written permission before distributing the software.
- You can re-license your modified version under any license you choose.
Correct answer: You must make the source code of your modifications available under the GPLv2.
The GNU GPL is a 'copyleft' license, which means that if you create a derivative work (e.g., by modifying the source code) and distribute it, you must also license your derivative work under the GPL. A core part of this is making the corresponding source code available to the recipients.
Which of the following license types is characterized by the 'copyleft' provision, requiring that derivative works also be distributed under the same or an equivalent license?