The actual text of the CC license says:
You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
- a copyright notice;
- a notice that refers to this Public License;
- a notice that refers to the disclaimer of warranties;
- a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
Thus, an appropriate notice for the above question would be:
This post from Law.StackExchange is copyright (c) 2021 by SE User "Yay". It has been released under the CC-BY-SA 4.0 license and was posted at What is the correct format for quoting a SE site?. It is provided without warranties. Anyone may reuse it by complying with the terms of the license. It has not been modified from the original.
Other formats are possible and would comply with the license requirements, but a link to the original post and one to the CC license, and a copyright notice are required.