As we understand that this is the case of Individual who is a resident in India and has income from some sources in USA. The first step should be to test your residential status both under the Indian Income Tax Act and under the India USA DTAA . After making sure that you are a resident , then your computation should start .
In computing the income from the sources in USA , in my opinion the social security tax paid there are allowed as deduction , however the state tax is not allowed .
Yes , under the DTAA , the relief is for the federal tax paid in USA .