My understanding is that both of these are role-based exams and, as such, offer access to MS Learn during the exam. The exam experience is described at https://techcommunity.microsoft.com/t5/microsoft-learn-blog/introducing-a-new-resource-for-all-role-based-microsoft/ba-p/3500870/page/3#comments
You can confirm it by navigating to https://learn.microsoft.com/en-us/credentials/browse/?expanded=certification&credential_types=role-based&terms=ai - which allows you to search for role-based credential types. More at https://trainingsupport.microsoft.com/en-us/mcp/forum/all/open-book-certification-exams/682ce7fb-3c27-4eb9-9c84-98be9f5a5d0c
The wording "This exam will be proctored, and is not open book" is used for all exams - since they are not "open book" - they allow you to access only Microsoft curated sources of content (MS Learn)
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin