They are close, but depending on context you want to be careful to not treat attributive nouns and adjectives as the same. Compare:
- That is a grammar section.
- That is a transformation section.
- That is a grammatical section.
- That is a transformational section.
1 and 2 use attributive nouns to modify section. Attributive nouns often describe the nature of the noun phrase they modify. In the context of a test, an attributive noun would tend to describe the subject of that section, that is, what the section focuses on. So 1 tests grammar knowledge, and 2 tests knowledge about transformations.
3 and 4 use attributive adjectives to modify section. Theoretically, these words function similar to attributive nouns. However, in context, some ambiguity may exist about whether the adjective describes the subject of the test or a quality of that test:
- That is a grammatical section
may mean (a) that the section was written grammatically or (b) that the section focuses on grammar. Similarly,
- That is a transformational section
may mean (a) that the section was transformational to the speaker (that is, it (i) influenced them greatly, or that (ii) they think it will transform you) or (b) that the section focuses on transformations.
This ambiguity is not present for grammar or transformation because, as attributive nouns, they tend not to signal the range of qualities that an adjective like grammatical or transformational can.