In the context of configuring a physical domain and attaching a VLAN pool to it, the commands "attributes" and "variables" are typically used within the configuration scripts. The "attributes" command is used to define specific attributes for elements within the configuration, such as naming conventions or paths. The "variables" command is used to declare variable elements that can be dynamically assigned or modified.