Tag not monitored by Microsoft.
If you failed the exam, you will not receive a certificate for that attempt. However, you should still be able to access the exam Score Report.
That is the report that shows your overall result and the performance breakdown by the different skill areas/topics of the exam, usually displayed as bars.
To find it:
Sign in to Microsoft Learn using the same account you used for the exam.
Open your Credentials profile.
Go to the Pearson VUE exam provider section/dashboard.
Look for the exam attempt and select View Score Report.
The score report does not show the exact questions you answered incorrectly, but it does show which skill areas were stronger or weaker so you can focus your preparation for the retake.
Microsoft does not provide a copy of the actual exam questions after the test.
References:
https://learn.microsoft.com/en-us/credentials/certifications/exam-scoring-reports
https://learn.microsoft.com/en-us/credentials/certifications/frequently-asked-questions