Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam 220-1202 Topic 1 Question 159 Discussion

Actual exam question for CompTIA's 220-1202 exam
Question #: 159
Topic #: 1
A developer is using an AI tool to generate a complex sorting algorithm for a web application. Which of the following is the best choice to legally generate code in their application?

Suggested Answer: D Vote an answer

The correct answer is D. Check the sources the AI tool is using for copyrighted content, because legal and ethical use of AI-generated code depends on ensuring the output does not violate copyright or licensing restrictions. Developers are responsible for verifying that code used in their applications complies with intellectual property laws.
According to the Quentin Docter - CompTIA A+ Complete Study Guide, responsible and appropriate use of AI tools includes validating outputs for accuracy, legality, and compliance. AI systems may generate code that resembles copyrighted or licensed material if their training data includes such sources.
The Travis Everett & Andrew Hutz - All-in-One Exam Guide explains that simply crediting an author or adding comments does not automatically grant legal permission to use copyrighted code. Developers must ensure that the generated code is either original, properly licensed, or permitted for use under open-source or fair-use terms.
The Mike Meyers / Mark Soper Lab Manual reinforces that silently using generated code without verification can expose organizations to legal risk, including copyright infringement claims. Ethical AI usage requires due diligence before deploying generated outputs into production systems.
Because the question asks for the best legal choice, verifying the AI tool's sources and licensing is the most appropriate action, making D the correct answer.

by Verna at Jun 02, 2026, 03:27 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.