Developing comments between @AlexP and me into an answer...
As other answers have said, candling of reptilian eggs is possible. For in ovo testing of chicken sex, if the male and female have different pigmentation or other easily-distinguishable features then this can be highly reliable. There is no reason to think this would be different for reptiles.
However, there is an important frame challenge required to this question. The question assumes that genetic randomisation is the dominant feature for reptilian development, and that parents would want to screen their developing eggs for positive/negative features. This is largely true for mammals and birds, because the parent's body keeps the developing embryo at a constant temperature.
Reptiles develop differently though, because the majority of reptiles produce eggs which in nature are left to develop on their own. (Exceptions do exist such as the midwife toad, some frogs or some snakes, of course, but the OP's question assumes a species which does not birth live young.) Since the ambient temperature will naturally vary, reptile DNA contains a large amount of "countermeasures" to vary the embryo's developmental pathways and gene expression depending on temperature. The epigenetic effect of ambient temperature is therefore highly significant, to the extent that the embryo's sex can be dependent primarily on the temperature at which the egg is kept.
For an intelligent species such as the yuan-ti, this has important consequences. It is entirely possible that the physical characteristics of an individual can be predetermined solely by managing the temperature of the egg during development. Humans naturally have not put a great deal of effort into investigating how far this goes, but is likely that intelligent reptiles would have a very long history of discovering what temperature changes at what times during the embryo's development produce what effects - gender as a start, of course, but also physical size and strength, quality of eyesight or hearing, intelligence, or many other possibilities. Candling could be used to screen for developmental abnormalities (embryos which do not look "snaky" enough), but this would be a backup to a much more systematic selection of characteristics for your offspring.
As with pre-medicine human midwifery, of course it is quite likely that many of these would be some kind of tribal knowledge. Some may work, some may only work partially, and some may not work at all. But there would still be a body of knowledge which would be called on, and there would likely be individuals who would fulfil a similar advisory role to human midwives, except on a more continuing basis because eggs need longer-term monitoring.
So returning to the frame challenge, your yuan-ti parents would not just use candling to "discover what kind of child they're going to have" - they would actively choose what kind of child they wanted, and candling would then just be confirmation that development was proceeding as they expected. The implications of this difference for the parents and for the society in general are immense, because this introduces the concept of "designer babies" to a pre-industrial society.
1Interesting thought! Is there something in particular you’re thinking about that we might be able to answer? As it’s written right now, this is pretty much just discussion-based, which isn’t a great fit for the site. Are you wondering whether there would be any reason they couldn’t candle their eggs? Or if there are other health concerns that might mean the yuan-ti don’t want to do this? – Dubukay – 2019-06-23T23:24:14.480
2
You need to define what aspects they are looking for (a finite list) , otherwise the question is so broad that it could require an "infinite list" which would be off topic.
– BLT-Bub – 2019-06-23T23:32:00.07715
Please note that in some reptiles (e.g. alligators, crocodiles, most turtles) sex is not determined genetically but rather environmentally -- incubate the eggs at one temperature to get girl reptiles, incubate them at another temperature to get boy reptiles.
– AlexP – 2019-06-24T01:42:00.0904Ugh. She has her father's snout. Poor kid. – user535733 – 2019-06-24T06:26:11.877
4@AlexP That's worthy of an answer in its own right. Especially given that because of ambient temperature variations, reptile DNA codes for different developmental hormones/proteins depending on temperature, so a sophisticated reptile race could well have a complex sequence of optimal temperatures, or perhaps even different optimal temperature regimes to maximise strength/intelligence/whatever. You got there first, so you can take it if you want. – Graham – 2019-06-24T08:51:57.477
@Graham: Unfortunately it is not an answer to the question asked... – AlexP – 2019-06-24T10:04:23.933
2@AlexP It's a fair frame challenge to the question though, when "what child they're going to have" is something which is far more affected by epigenetic factors. Up to you - I'm happy to turn this into a frame-challenge answer if you would rather not. – Graham – 2019-06-24T10:11:36.230
@Graham: Please go ahead. You may want to tell the querent that much progress has been made in non-invasive sexing of chicken eggs, since this is an important problem for a massive industry. – AlexP – 2019-06-24T10:16:19.747
A lot of this will depend on how your forms are determined. Is this something you've already decided, or is that what you're looking for answers on? Is it genetic, or somewhat random? If two humanoids mate, is it possible they will have a talking-snake child? If they know what the form is, is there anything they can do to change it? – David K – 2019-06-24T12:12:06.123
How big are they, ostrich eggs for instance don't yield much useful information they are just too big. you can tell how far along they are at least. – John – 2019-06-24T13:32:23.037
1It's sad that those peasant childs are always strong male fit to work in the field. And top tier peasant have few girl so the lower peasant will have to work for life to pay the dowry and support. Make anything that is not perfect temperature give sub optimal properties. And every one will pay the top class to have at least usable child. – xdtTransform – 2019-06-25T07:34:32.350
4Not all snakes lay eggs. In fact about 30% are viviparous (give birth to live young). – Martin Bonner supports Monica – 2019-06-25T11:56:05.363
Not withstanding Disney animated movies, giant sentient snakes would have serious problems picking things up. – RonJohn – 2019-06-25T13:24:20.507