A developer is using type system in GraphQL, and he requires a field which should never be null. What is the possibility to ensure that a field never goes null?

Possible with keyword null next to the field
Possible by adding an exclamation mark(!) after the field declaration
Possible with a leading exclamation mark(!) on the field
Possible with declaring it as scalar type Id
Verified Answer
Correct Option - b

To get all Infosys Certified GraphQL Spring Boot Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in

Updated on Tue, 25 Nov 2025