A jump to 5NT after trump agreement is the Grand Slam Force, asking about the high honor cards in the trump suit. This version is the easiest to remember and safest because GSF rarely comes up.
A more involved one has the responses vary depending on the trump suit.
With Spades agreed
shows jack or less
shows the queen
shows ace or king, minimum length
shows ace or king, extra length
shows 2 of the top 3 honorsWith Hearts agreed
shows queen or less
shows ace or king, minimum length
shows ace or king, extra length
shows 2 of the top 3 honorsWith Diamonds agreed
shows queen or less
shows ace or king
shows 2 of the top 3 honorsWith Clubs agreed
shows zero or one honor
shows 2 of the top 3 honors