CloudOps interview question

How do you determine if a string is a palindrome?