When a block is mined, for example there is just one single invalid transaction out of shall we say 2000 transactions in a block.

Will they do away with that one transaction and settle for that remaining block or for that one single invalid transaction will they reject the entire block?

1

Will they do away with that one transaction and settle for that remaining block

That’s not how Bitcoin (and every other blockchain based mostly system) works. You can’t ever alter a block. By no means. You may settle for or decline a block, that is it by way of anybody’s choices.

However “altering/omitting/rejecting a single transaction”? That might result in a cascadingly growing change to that block’s Merkle Tree, leading to a unique ultimate hash and subsequently (nearly definitely) requiring a unique nonce. Which is called a very completely different block that simply so occurs to additionally include a variety of the identical transactions. It will nonetheless be a unique block in all different regards, and most significantly: it must be mined utterly individually (aka attempting out completely different nonces). And anybody attempting to mine that comparable however completely different block would most definitely put themselves (or their pool) because the reward-adress, so another factor completely different about that block