A senior engineer reviews a plan where generated Java modules will be deployed once the source COBOL is confirmed to compile cleanly. What is the flaw in this plan?
Select an answer to reveal the explanation.
Short Explanation
You're checking the wrong thing. The COBOL compiling tells you about the COBOL, not whether the new Java matches it.
Full Explanation
The correct answer is the choice stating that the plan substitutes the COBOL source compiling for a review of the generated Java's functional equivalence, and that the two are unrelated checks. Whether the legacy COBOL compiles is a property of the original program and has no bearing on whether the separately generated Java modules reproduce its behaviour; only reviewing the Java against that behaviour does. The choice claiming COBOL source code cannot be compiled at all is incorrect because COBOL is a compiled language and routinely does compile; the flaw is not about whether that is possible. The choice claiming compiling the COBOL source will overwrite the generated Java modules is incorrect because compiling the source has no effect on artifacts the rewrite workflow already generated. The choice claiming the plan is sound because a clean compile of the original is the strongest indicator of a correct rewrite is incorrect because it restates the flawed premise as if it were sound; a clean compile of the original says nothing about the correctness of the rewrite. For the exam, do not let a check on the source stand in for a review of the generated code.