nerdexam
Amazon

AIF-C01 · Question #361

An airline company wants to use a generative AI model to convert a flight booking system from one coding language into another coding language. The company must select a model for this task. Which…

The correct answer is A. Syntax, semantic understanding, and code optimization capabilities. Converting code from one programming language to another requires a generative AI model that can understand both the syntax (rules of the language) and semantics (logic and meaning of the code). Code optimization ensures the translated code is efficient and functional in the…

Submitted by lucia.co· Mar 30, 2026Applications of Foundation Models

Question

An airline company wants to use a generative AI model to convert a flight booking system from one coding language into another coding language. The company must select a model for this task. Which criteria should the company use to select the correct generative AI model for this task?

Options

  • ASyntax, semantic understanding, and code optimization capabilities
  • BCode generation speed and error handling capabilities
  • CAbility to generate creative content
  • DModel size and resource requirements

How the community answered

(52 responses)
  • A
    56% (29)
  • B
    8% (4)
  • C
    12% (6)
  • D
    25% (13)

Explanation

Converting code from one programming language to another requires a generative AI model that can understand both the syntax (rules of the language) and semantics (logic and meaning of the code). Code optimization ensures the translated code is efficient and functional in the target

Topics

#model selection criteria#code translation#syntax understanding#semantic understanding

Community Discussion

No community discussion yet for this question.

Full AIF-C01 Practice