If you were ordered removed by court (a judge ordered you deported from the United States) or if you signed a removal order, then you must check the box “Yes” for the question 4, Part 3 on Form I-90. Renewal or replacement of a green card is unlikely in this case because USCIS often denies applications of deported or ordered removed applicants. You will have to provide an explanation in Part 8 on the form as to why you were ordered removed.
If you received an immigrant visa with a category Z11, Z13, Z14, or Z15, then you should check the box “No” for the question 4, Part 3 on Form I-90.