Yes, a candidate can give part-1 and part-2 in the same exam window but there is an additional challenge that the candidate needs to clear the FRM Part-1 exam to get the Part-2 checked. If a candidate fails in the FRM Part-1 exam then the Part-2 exam will not even be evaluated.